Files
cappuccino/Tests/Manual/CPPopUpButtonBindingsTest/Resources/MainMenu.xib
T
David Richardson 4784a1a102 Normalize application naming in ./Tests/Manual
Ensure:
* CamelCase, ending in Test
* No hyphens, spaces, underscores or other non-alpha characters

Updated application directory names.
Update Jakefiles.
2026-09-08 17:47:30 -06:00

359 lines
28 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24506"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
<connections>
<outlet property="delegate" destination="450" id="451"/>
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application"/>
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="371">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="335" y="377" width="1074" height="373"/>
<rect key="screenRect" x="0.0" y="0.0" width="1680" height="1028"/>
<view key="contentView" id="372">
<rect key="frame" x="0.0" y="0.0" width="1074" height="373"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<scrollView borderType="none" autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="467">
<rect key="frame" x="-1" y="168" width="461" height="206"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" heightSizable="YES"/>
<clipView key="contentView" id="wxq-36-m95">
<rect key="frame" x="0.0" y="28" width="461" height="178"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnSelection="YES" autosaveColumns="NO" headerView="471" id="470">
<rect key="frame" x="0.0" y="0.0" width="461" height="178"/>
<autoresizingMask key="autoresizingMask"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
<tableColumns>
<tableColumn identifier="name" width="101" minWidth="40" maxWidth="1000" id="472">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Name">
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
</tableHeaderCell>
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="475">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<sortDescriptor key="sortDescriptorPrototype" selector="compare:" sortKey="name"/>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<connections>
<binding destination="492" name="value" keyPath="arrangedObjects.name" id="575"/>
</connections>
</tableColumn>
<tableColumn identifier="email" width="150" minWidth="40" maxWidth="1000" id="473">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Email">
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
</tableHeaderCell>
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="474">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<connections>
<binding destination="492" name="value" keyPath="arrangedObjects.email" id="576"/>
</connections>
</tableColumn>
<tableColumn identifier="job" width="106" minWidth="10" maxWidth="1000" id="480">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Job">
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
</tableHeaderCell>
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="481">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<connections>
<binding destination="492" name="value" keyPath="arrangedObjects.job" id="577"/>
</connections>
</tableColumn>
<tableColumn width="63" minWidth="10" maxWidth="3.4028234663852886e+38" id="595">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Tag">
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
</tableHeaderCell>
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="596">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<connections>
<binding destination="492" name="value" keyPath="arrangedObjects.tag" id="598"/>
</connections>
</tableColumn>
</tableColumns>
</tableView>
</subviews>
</clipView>
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="469">
<rect key="frame" x="0.0" y="245" width="482" height="15"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="468">
<rect key="frame" x="467" y="17" width="15" height="228"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<tableHeaderView key="headerView" id="471">
<rect key="frame" x="0.0" y="0.0" width="461" height="28"/>
<autoresizingMask key="autoresizingMask"/>
</tableHeaderView>
</scrollView>
<textField verticalHuggingPriority="750" id="482">
<rect key="frame" x="20" y="84" width="440" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" placeholderString="Name" drawsBackground="YES" id="483">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="492" name="value" keyPath="selection.name" id="581"/>
</connections>
</textField>
<textField verticalHuggingPriority="750" id="484">
<rect key="frame" x="20" y="52" width="440" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" placeholderString="Email" drawsBackground="YES" id="485">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="492" name="value" keyPath="selection.email" id="582"/>
</connections>
</textField>
<textField verticalHuggingPriority="750" id="486">
<rect key="frame" x="20" y="20" width="440" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" placeholderString="Job" drawsBackground="YES" id="487">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="492" name="value" keyPath="selection.job" id="583"/>
</connections>
</textField>
<popUpButton verticalHuggingPriority="750" id="528">
<rect key="frame" x="851" y="315" width="197" height="26"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="529">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
<menu key="menu" title="OtherViews" id="530"/>
</popUpButtonCell>
<connections>
<binding destination="492" name="content" keyPath="arrangedObjects" id="534"/>
<binding destination="492" name="contentValues" keyPath="arrangedObjects.name" previousBinding="534" id="618">
<dictionary key="options">
<string key="NSValueTransformerName">Transformer</string>
</dictionary>
</binding>
<binding destination="492" name="selectedIndex" keyPath="selectionIndex" previousBinding="618" id="619"/>
</connections>
</popUpButton>
<popUpButton verticalHuggingPriority="750" id="584">
<rect key="frame" x="851" y="240" width="197" height="26"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="585">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
<menu key="menu" title="OtherViews" id="586"/>
</popUpButtonCell>
<connections>
<binding destination="492" name="contentValues" keyPath="arrangedObjects.job" id="630"/>
<binding destination="492" name="selectedTag" keyPath="selection.tag" id="631">
<dictionary key="options">
<integer key="NSValidatesImmediately" value="1"/>
</dictionary>
</binding>
</connections>
</popUpButton>
<popUpButton verticalHuggingPriority="750" id="600">
<rect key="frame" x="851" y="163" width="197" height="26"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="601">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
<menu key="menu" title="OtherViews" id="602"/>
</popUpButtonCell>
<connections>
<binding destination="492" name="content" keyPath="arrangedObjects" id="632">
<dictionary key="options">
<integer key="NSInsertsNullPlaceholder" value="1"/>
</dictionary>
</binding>
<binding destination="492" name="contentValues" keyPath="arrangedObjects.name" previousBinding="632" id="633">
<dictionary key="options">
<integer key="NSInsertsNullPlaceholder" value="1"/>
</dictionary>
</binding>
<binding destination="492" name="selectedValue" keyPath="selection.name" previousBinding="633" id="634"/>
</connections>
</popUpButton>
<textField verticalHuggingPriority="750" id="611">
<rect key="frame" x="551" y="299" width="285" height="51"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" id="612">
<font key="font" metaFont="system"/>
<string key="title">Binding: CPSelectedIndexBinding
KeyPath: arrangedObjects.selectionIndex
ContentValues Transformer: Transformer</string>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button id="620">
<rect key="frame" x="425" y="145" width="35" height="23"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="smallSquare" title="Gradient Button" bezelStyle="smallSquare" image="NSAddTemplate" catalog="system" imagePosition="only" alignment="center" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="621">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="add:" target="492" id="624"/>
</connections>
</button>
<button id="622">
<rect key="frame" x="391" y="145" width="35" height="23"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="smallSquare" title="Gradient Button" bezelStyle="smallSquare" image="NSRemoveTemplate" catalog="system" imagePosition="only" alignment="center" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="623">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="remove:" target="492" id="625"/>
</connections>
</button>
<textField verticalHuggingPriority="750" id="626">
<rect key="frame" x="551" y="229" width="285" height="51"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" id="627">
<font key="font" metaFont="system"/>
<string key="title">Binding: CPSelectedTagBinding
KeyPath: selection.tag
Transformer: None</string>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" id="628">
<rect key="frame" x="551" y="161" width="285" height="51"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" id="629">
<font key="font" metaFont="system"/>
<string key="title">Binding: CPSelectedValueBinding
KeyPath: selection.name
Transformer: None</string>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" id="635">
<rect key="frame" x="851" y="284" width="197" height="26"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="636">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
<menu key="menu" title="OtherViews" id="637"/>
</popUpButtonCell>
<connections>
<binding destination="492" name="content" keyPath="arrangedObjects" id="638"/>
<binding destination="492" name="contentValues" keyPath="arrangedObjects.name" previousBinding="638" id="639">
<dictionary key="options">
<string key="NSValueTransformerName">Transformer</string>
</dictionary>
</binding>
<binding destination="492" name="selectedIndex" keyPath="selectionIndex" previousBinding="639" id="640"/>
</connections>
</popUpButton>
<popUpButton verticalHuggingPriority="750" id="641">
<rect key="frame" x="851" y="209" width="197" height="26"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="642">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
<menu key="menu" title="OtherViews" id="643"/>
</popUpButtonCell>
<connections>
<binding destination="492" name="contentValues" keyPath="arrangedObjects.job" id="644"/>
<binding destination="492" name="selectedTag" keyPath="selection.tag" previousBinding="644" id="645">
<dictionary key="options">
<integer key="NSValidatesImmediately" value="1"/>
</dictionary>
</binding>
</connections>
</popUpButton>
<popUpButton verticalHuggingPriority="750" id="646">
<rect key="frame" x="851" y="132" width="197" height="26"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="647">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
<menu key="menu" title="OtherViews" id="648"/>
</popUpButtonCell>
<connections>
<binding destination="492" name="content" keyPath="arrangedObjects" id="649">
<dictionary key="options">
<integer key="NSInsertsNullPlaceholder" value="1"/>
</dictionary>
</binding>
<binding destination="492" name="contentValues" keyPath="arrangedObjects.name" previousBinding="649" id="650">
<dictionary key="options">
<integer key="NSInsertsNullPlaceholder" value="1"/>
</dictionary>
</binding>
<binding destination="492" name="selectedValue" keyPath="selection.name" previousBinding="650" id="651"/>
</connections>
</popUpButton>
</subviews>
</view>
</window>
<customObject id="450" customClass="AppController">
<connections>
<outlet property="emailLabel" destination="484" id="489"/>
<outlet property="jobLabel" destination="486" id="490"/>
<outlet property="mainWindow" destination="371" id="464"/>
<outlet property="nameLabel" destination="482" id="488"/>
<outlet property="ordersArrayController" destination="492" id="493"/>
<outlet property="ordersTableView" destination="470" id="476"/>
<outlet property="tagPopUp" destination="584" id="599"/>
</connections>
</customObject>
<arrayController objectClassName="CPDictionary" clearsFilterPredicateOnInsertion="NO" id="492">
<declaredKeys>
<string>name</string>
<string>email</string>
<string>job</string>
<string>tag</string>
</declaredKeys>
<connections>
<binding destination="450" name="contentArray" keyPath="people" id="578">
<dictionary key="options">
<integer key="NSValidatesImmediately" value="1"/>
</dictionary>
</binding>
</connections>
</arrayController>
</objects>
<resources>
<image name="NSAddTemplate" catalog="system" width="18" height="16"/>
<image name="NSRemoveTemplate" catalog="system" width="18" height="4"/>
</resources>
</document>