<?xml version="1.0" encoding="UTF-8"?>
<!--
 IBUITextView.inspector
 Copyright © 2010-2023 Apple Inc. All rights reserved.
 -->
<slice>
    <section>
        <chooser title="Text" type="number" keyPath="inspectedObjectsController.selection.object.ibInspectedUsesAttributedText">
            <choice title="Plain" value="0">
                <sliver>
                    <property type="string" placeholder="Text" keyPath="inspectedObjectsController.selection.object.ibInspectedText" />
                </sliver>
                <sliver title="Color">
                    <property type="ib-named-color" configurableProperty="textColor" defaultColorKeyPath="inspectedObjectsController.selection.object.defaultTextColor" />
                </sliver>
                <sliver title="Font">
                    <property type="font" configurableProperty="fontDescription" dataSourceKeyPath="inspectedObjectsController.selection.object.targetRuntime.fontDataSource" actionSelector="constrainBoundsOfSelectionToNearestLegalSize"/>
                </sliver>
                <sliver title="Dynamic Type">
                    <property type="boolean" title="Automatically Adjusts Font" keyPath="inspectedObjectsController.selection.object.adjustsFontForContentSizeCategory"/>
                </sliver>
                <sliver title="Alignment">
                    <property type="enumeration" keyPath="inspectedObjectsController.selection.object.textAlignment">
                        <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>
            </choice>
            <choice title="Attributed" value="1">
                <sliver>
                    <property type="string" configurableProperty="attributedText" placeholder="Text" attributed="true" />
                </sliver>
                <sliver>
                    <property type="boolean" title="Allows Editing Attributes" keyPath="inspectedObjectsController.selection.object.allowsEditingTextAttributes"/>
                </sliver>
            </choice>
        </chooser>
        <sliver title="" visibleKeyPath="inspectedObjectsController.selection.object.ibShouldShowFindInteractionEnabled">
            <property type="boolean" title="Find &amp; Replace" keyPath="inspectedObjectsController.selection.object.findInteractionEnabled"/>
        </sliver>
    </section>
    <section>
        <sliver title="Behavior">
            <property type="boolean" title="Editable" keyPath="inspectedObjectsController.selection.object.editable"/>
            <property type="boolean" title="Selectable" keyPath="inspectedObjectsController.selection.object.selectable"/>
        </sliver>
    </section>
    <section>
        <sliver title="Data Detectors">
            <property type="boolean" keyPath="inspectedObjectsController.selection.object.dataDetectorTypes" bits="0x0001" title="Phone Number" />
            <property type="boolean" keyPath="inspectedObjectsController.selection.object.dataDetectorTypes" bits="0x0002" title="Link" />
            <property type="boolean" keyPath="inspectedObjectsController.selection.object.dataDetectorTypes" bits="0x0004" title="Address" />
            <property type="boolean" keyPath="inspectedObjectsController.selection.object.dataDetectorTypes" bits="0x0008" title="Calendar Event" />
            <property type="boolean" keyPath="inspectedObjectsController.selection.object.dataDetectorTypes" bits="0x0010" title="Shipment Tracking Number" />
            <property type="boolean" keyPath="inspectedObjectsController.selection.object.dataDetectorTypes" bits="0x0020" title="Flight Number" />
            <property type="boolean" keyPath="inspectedObjectsController.selection.object.dataDetectorTypes" bits="0x0040" title="Lookup Suggestion" />
        </sliver>
    </section>
    <section>
        <sliver title="Text Layout">
            <property type="enumeration" keyPath="inspectedObjectsController.selection.object.ibShadowedEncodedTextKitFlavor">
                <option-group>
                    <option title="Default" value="0"/>
                </option-group>
                <option-group>
                    <option title="TextKit 1" value="1"/>
                    <option title="TextKit 2" value="2"/>
                </option-group>
            </property>
        </sliver>
    </section>
    <include fileName="IBUITextInputTraits" />
</slice>
