mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-09 12:17:13 +00:00
* Execute batch structural upgrade of all XIB files within ./Tests/Manual to modern XML DOM format using ibtool (Xcode 26.3) to resolve imminent Xcode 27 parsing failures. * Add regenerate-test-cibs.py script to recursively compile the modernized XIB documents into CIB artifacts within Tests/Manual/ using the local nib2cib toolchain. * Commit the updated CIB artifacts to maintain CI and test execution parity. *Include batch execution bash and Python scripts with LGPL-2 licensing to serve as reference migration templates for the community.
166 lines
13 KiB
XML
166 lines
13 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" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
|
|
<rect key="contentRect" x="547" y="354" width="728" height="366"/>
|
|
<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="728" height="366"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<subviews>
|
|
<scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="460">
|
|
<rect key="frame" x="20" y="39" width="239" height="246"/>
|
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
|
<clipView key="contentView" id="7XA-Qk-Lf6">
|
|
<rect key="frame" x="1" y="29" width="237" height="216"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<subviews>
|
|
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" headerView="463" id="461">
|
|
<rect key="frame" x="0.0" y="0.0" width="237" height="216"/>
|
|
<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="button" width="60" minWidth="10" maxWidth="3.4028234663852886e+38" id="505">
|
|
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Button">
|
|
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
|
|
</tableHeaderCell>
|
|
<buttonCell key="dataCell" type="push" title="On" alternateTitle="Off" bezelStyle="rounded" alignment="center" borderStyle="border" inset="2" id="507">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES" changeBackground="YES" changeGray="YES"/>
|
|
<font key="font" metaFont="system"/>
|
|
</buttonCell>
|
|
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
|
</tableColumn>
|
|
<tableColumn identifier="checkbox" width="85" minWidth="40" maxWidth="1000" id="465">
|
|
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Check Box">
|
|
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
|
|
</tableHeaderCell>
|
|
<buttonCell key="dataCell" type="check" title="Check" bezelStyle="regularSquare" imagePosition="left" inset="2" id="471">
|
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
|
<font key="font" metaFont="system"/>
|
|
</buttonCell>
|
|
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
|
</tableColumn>
|
|
<tableColumn identifier="text" width="54" minWidth="10" maxWidth="3.4028234663852886e+38" id="479">
|
|
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Text Field">
|
|
<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="480">
|
|
<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"/>
|
|
</tableColumn>
|
|
</tableColumns>
|
|
</tableView>
|
|
</subviews>
|
|
</clipView>
|
|
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="462">
|
|
<rect key="frame" x="1" y="230" width="280" height="15"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
</scroller>
|
|
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="464">
|
|
<rect key="frame" x="224" y="17" width="15" height="102"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
</scroller>
|
|
<tableHeaderView key="headerView" id="463">
|
|
<rect key="frame" x="0.0" y="0.0" width="237" height="28"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
</tableHeaderView>
|
|
</scrollView>
|
|
<textField verticalHuggingPriority="750" id="469">
|
|
<rect key="frame" x="294" y="138" width="371" height="99"/>
|
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="470">
|
|
<font key="font" metaFont="system"/>
|
|
<string key="title">Steps: In the table, Edit a CPTextField or click a CPButton .
|
|
Log Model and see the result in the console.
|
|
|
|
Expected: The model should reflect UI changes.</string>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
</textField>
|
|
<button verticalHuggingPriority="750" id="476">
|
|
<rect key="frame" x="291" y="257" width="178" height="32"/>
|
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
|
<buttonCell key="cell" type="push" title="Log Model" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="477">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system"/>
|
|
</buttonCell>
|
|
<connections>
|
|
<action selector="logContent:" target="450" id="478"/>
|
|
</connections>
|
|
</button>
|
|
<button verticalHuggingPriority="750" id="508">
|
|
<rect key="frame" x="291" y="95" width="178" height="32"/>
|
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
|
<buttonCell key="cell" type="push" title="Insert:" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="509">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system"/>
|
|
</buttonCell>
|
|
<connections>
|
|
<action selector="insert:" target="472" id="514"/>
|
|
</connections>
|
|
</button>
|
|
<button verticalHuggingPriority="750" id="511">
|
|
<rect key="frame" x="291" y="63" width="178" height="32"/>
|
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
|
<buttonCell key="cell" type="push" title="Add:" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="512">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system"/>
|
|
</buttonCell>
|
|
<connections>
|
|
<action selector="add:" target="472" id="515"/>
|
|
</connections>
|
|
</button>
|
|
<segmentedControl verticalHuggingPriority="750" id="491">
|
|
<rect key="frame" x="276" y="323" width="177" height="24"/>
|
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
|
<segmentedCell key="cell" borderStyle="border" alignment="left" segmentDistribution="fill" style="rounded" trackingMode="selectOne" id="492">
|
|
<font key="font" metaFont="system"/>
|
|
<segments>
|
|
<segment label="Bindings" selected="YES"/>
|
|
<segment label="Data Source" tag="1"/>
|
|
</segments>
|
|
</segmentedCell>
|
|
<connections>
|
|
<action selector="selectSegment:" target="450" id="495"/>
|
|
</connections>
|
|
</segmentedControl>
|
|
</subviews>
|
|
</view>
|
|
</window>
|
|
<customObject id="450" customClass="AppController">
|
|
<connections>
|
|
<outlet property="arrayController" destination="472" id="493"/>
|
|
<outlet property="tableView" destination="461" id="494"/>
|
|
<outlet property="theWindow" destination="371" id="459"/>
|
|
</connections>
|
|
</customObject>
|
|
<arrayController automaticallyPreparesContent="YES" preservesSelection="NO" selectsInsertedObjects="NO" avoidsEmptySelection="NO" clearsFilterPredicateOnInsertion="NO" id="472">
|
|
<connections>
|
|
<binding destination="450" name="contentArray" keyPath="content" id="473"/>
|
|
</connections>
|
|
</arrayController>
|
|
</objects>
|
|
</document>
|