<?xml version="1.0" encoding="UTF-8"?>
<!--
    IBUITabBar.inspector
    IBCocoaTouchPlugin
    
    Created by Kelly Keenan on 08/02/11.
    Copyright 2011 Apple Inc. All rights reserved.
-->
<slice>
    <section visibleKeyPath="inspectedObjectsController.selection.object.ibInspectedShowUIBarAppearance">
        <sliver title="Appearances">
            <property type="boolean" title="Standard" keyPath="inspectedObjectsController.selection.object.ibInspectedHasCustomStandardAppearance"/>
        </sliver>
        <sliver>
            <property type="boolean" title="Scroll Edge" keyPath="inspectedObjectsController.selection.object.ibInspectedHasCustomScrollEdgeAppearance"/>
        </sliver>
    </section>
    <include fileName="IBUITabBarAppearance">
        <replaceToken tokenIdentifier="TAB_BAR_APPEARANCE_KEYPATH" replacementString="standardAppearance"/>
        <replaceToken tokenIdentifier="TAB_BAR_APPEARANCE_TITLE_PREFIX" replacementString="Standard"/>
        <replaceToken tokenIdentifier="TAB_BAR_APPEARANCE_VISIBLE_KEYPATH" replacementString="ibInspectedHasCustomStandardAppearance"/>
    </include>
    <include fileName="IBUITabBarAppearance">
        <replaceToken tokenIdentifier="TAB_BAR_APPEARANCE_KEYPATH" replacementString="ibScrollEdgeAppearance"/>
        <replaceToken tokenIdentifier="TAB_BAR_APPEARANCE_TITLE_PREFIX" replacementString="Scroll Edge"/>
        <replaceToken tokenIdentifier="TAB_BAR_APPEARANCE_VISIBLE_KEYPATH" replacementString="ibInspectedHasCustomScrollEdgeAppearance"/>
    </include>
    <section>
        <sliver fullWidth="true">
            <property type="ib-named-resource" title="Background" placeholder="Background Image" resourceType="image" configurableProperty="backgroundImage"/>
        </sliver>
        <sliver fullWidth="true">
            <property type="ib-named-resource" title="Shadow" placeholder="Shadow Image" resourceType="image" configurableProperty="shadowImage"/>
        </sliver>
        <sliver fullWidth="true">
            <property type="ib-named-resource" title="Selection" placeholder="Selection Indicator Image" resourceType="image" configurableProperty="selectionIndicatorImage"/>
        </sliver>
        <sliver title="Image Tint">
            <property type="ib-named-color" popup="true" defaultColorForNil="true" configurableProperty="selectedImageTintColor" />
        </sliver>
    </section>
    <section>
        <sliver title="Style">
            <property type="enumeration" keyPath="inspectedObjectsController.selection.object.barStyle">
                <option-group>
                    <option title="Default" value="0"/>
                    <option title="Black" value="1"/>
                </option-group>
            </property>
            <property type="boolean" title="Translucent" keyPath="inspectedObjectsController.selection.object.translucent"/>
        </sliver>
        <sliver title="Bar Tint">
            <property type="ib-named-color" defaultColorForNil="true" configurableProperty="barTintColor" />
        </sliver>
    </section>
    <section>
        <chooser title="Item Positioning" type="number" keyPath="inspectedObjectsController.selection.object.ibInspectedItemPositioning">
            <choice title="Automatic" value="0">
            </choice>
            <choice title="Fill" value="1">
            </choice>
            <choice title="Centered" value="2">
                <sliver title="Item Width">
                    <property type="number" formatStyle="decimal" minimum="0" keyPath="inspectedObjectsController.selection.object.itemWidth" allowsNilValues="true" nilPlaceholder="Default" nonNilValueKeyPath="inspectedObjectsController.selection.object.ibInspectedItemWidthDefault" />
                </sliver>
                <sliver title="Item Spacing">
                    <property type="number" formatStyle="decimal" minimum="0" keyPath="inspectedObjectsController.selection.object.itemSpacing" allowsNilValues="true" nilPlaceholder="Default" nonNilValueKeyPath="inspectedObjectsController.selection.object.ibInspectedItemSpacingDefault" />
                </sliver>
            </choice>
        </chooser>
    </section>
</slice>
