<?xml version="1.0" encoding="UTF-8"?>
<!--
 IBNSSegmentedControl.inspector
 Copyright © 2010-2018 Apple Inc. All rights reserved.
 -->
<slice>
    <section>
        <sliver title="Style" visibleKeyPath="allInspectedDocumentsAreNotUsingAutolayout">
            <property type="enumeration" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedSegmentStyle" actionSelector="constrainBoundsOfSelectionToNearestLegalSize">
                <option-group>
                    <option title="Automatic" value="0" />
                    <option title="Capsule" value="5" />
                    <option title="Round Rect" value="3" />
                    <option title="Rounded" value="1" />
                    <option title="Textured Rounded" value="2" />
                    <option title="Textured Square" value="4" />
                    <option title="Small Square" value="6" />
                    <option title="Separated" value="8" />
                </option-group>
            </property>
        </sliver>
        <sliver title="Style" visibleKeyPath="allInspectedDocumentsAreUsingAutolayout">
            <property type="enumeration" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedSegmentStyle" actionSelector="constrainBoundsOfSelectionToNearestLegalSize">
                <option-group>
                    <option title="Capsule" value="5" />
                    <option title="Round Rect" value="3" />
                    <option title="Rounded" value="1" />
                    <option title="Textured Rounded" value="2" />
                    <option title="Textured Square" value="4" />
                    <option title="Small Square" value="6" />
                    <option title="Separated" value="8" />
                </option-group>
            </property>
        </sliver>
        <sliver title="Mode">
            <property type="enumeration" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedTrackingMode">
                <option-group>
                    <option value="0" title="Select One" />
                    <option value="1" title="Select Any" />
                    <option value="2" title="Momentary" />
                    <option value="3" title="Momentary Accelerator" />
                </option-group>
            </property>
        </sliver>        
        <sliver title="Behavior" visibleKeyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibIsInNSSegmentedControl" >
            <property type="boolean" keyPath="inspectedObjectsController.selection.object.ibInspectedSpringLoaded" title="Spring Loaded" />
        </sliver>
    </section>
    <section>
        <sliver title="Display">
            <property type="boolean" title="Border" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedBordered" actionSelector="constrainBoundsOfSelectionToNearestLegalSize" />
        </sliver>
        <sliver title="Font">
            <property type="font" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.font" dataSourceKeyPath="inspectedObjectsController.selection.object.ibFontDataSource" title="Font" actionSelector="constrainBoundsOfSelectionToNearestLegalSize"/>
        </sliver>
        <sliver title="Touch Bar" visibleKeyPath="inspectedObjectsController.selection.object.ibIsInTouchBar">
            <property type="ib-named-color" keyPath="inspectedObjectsController.selection.object.selectedSegmentBezelColor" title="Selected Segment Bezel" supportsNil="YES" defaultColorForNil="YES" />
        </sliver>
    </section>
    <section>
        <sliver title="Segments">
            <property type="number" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibShadowedNumberOfSegments" minimum="1" maximum="2049" actionSelector="constrainBoundsOfSelectionToNearestLegalSize" />
        </sliver>
        <sliver title="Distribution">
            <property type="enumeration" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.segmentDistribution">
                <option-group>
                    <option value="0" title="Fit" />
                    <option value="1" title="Fill" />
                    <option value="2" title="Fill Equally" />
                    <option value="3" title="Fill Proportionally" />
                </option-group>
            </property>
        </sliver>
    </section>
    <section>
        <sliver title="Segment">
            <property type="enumeration" keyPath="ibExternalInspectedSegment" enumeratedValuesKeyPath="ibInspectedSegments" enumeratedDisplayValuesKeyPath="ibInspectedSegments.title" />
        </sliver>
        <sliver title="Label">
            <property type="string" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedLabelForInspectedSegment" actionSelector="constrainBoundsOfSelectionToNearestLegalSize" placeholder="Label for segment" />
        </sliver>
        <sliver fullWidth="true">
            <property type="ib-named-resource" title="Image" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedImageForInspectedSegment" resourceType="image" actionSelector="constrainBoundsOfSelectionToNearestLegalSize" placeholder="Image for segment" />
        </sliver>
        <sliver title="Alignment">
            <property type="enumeration" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedAlignmentForInspectedSegment">
                <option-group>
                    <option value="0" image="IBAlignTextLeftTemplate" title="Left" />
                    <option value="1" image="IBAlignTextCenterTemplate" title="Center" />
                    <option value="2" image="IBAlignTextRightTemplate" title="Right" />
                    <option value="3" image="IBAlignTextJustifiedTemplate" title="Justified" />
                    <option value="4" image="IBAlignTextNaturalTemplate" title="Natural" />
                </option-group>
            </property>
        </sliver>
        <sliver title="Scaling">
            <property type="enumeration" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedImageScalingForInspectedSegment">
                <option-group>
                    <option value="0" title="Proportionally Down" />
                    <option value="3" title="Proportionally Up or Down" />
                    <option value="1" title="Axes Independently" />
                    <option value="2" title="None" />
                </option-group>
            </property>
        </sliver>
        <sliver title="Tag">
            <property type="number" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedTagForInspectedSegment" />
        </sliver>
        <sliver title="State">
            <property type="boolean" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedIsEnabledForInspectedSegment" title="Enabled" />
            <property type="boolean" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedIsSelectedForInspectedSegment" title="Selected" enabledKeyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedCanSelectSegment" />
        </sliver>
        <sliver title="Tooltip">
            <property type="string" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedToolTipForInspectedSegment" allowsNilValues="YES" placeholder="Tooltip for segment" />
        </sliver>
    </section>
</slice>
