MacFixture.storyboard declared its button action with the iOS attribute, <action selector="buildTapped:" destination="vc1">. Cocoa documents name an action's receiver with target=. ibtool compiled the iOS spelling into an NSNibControlConnector whose NSSource is the view controller placeholder and whose NSDestination is the button. That is the reverse of what Xcode-authored AppKit NIBs contain (Music, Chess, KeepingYouAwake, and Transmission all archive NSSource as the control), and it is what the old inversion had matched. With target= the compiled fixture archives the button as NSSource. The temporary connector dump is removed; the observed routes remain in the assertion message. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
1.1 KiB
XML
27 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="24765" targetRuntime="MacOSX.Cocoa" initialViewController="vc1" useAutolayout="YES">
|
|
<scenes>
|
|
<scene sceneID="scene1">
|
|
<objects>
|
|
<viewController id="vc1" customClass="BuildViewController" sceneMemberID="viewController">
|
|
<view key="view" id="view1">
|
|
<rect key="frame" x="0" y="0" width="390" height="844"/>
|
|
<subviews>
|
|
<button id="button1">
|
|
<rect key="frame" x="120" y="400" width="150" height="44"/>
|
|
<title key="title" string="Build"/>
|
|
<connections>
|
|
<action selector="buildTapped:" target="vc1" id="action1"/>
|
|
</connections>
|
|
</button>
|
|
</subviews>
|
|
</view>
|
|
<connections>
|
|
<outlet property="buildButton" destination="button1" id="outlet1"/>
|
|
</connections>
|
|
</viewController>
|
|
</objects>
|
|
</scene>
|
|
</scenes>
|
|
</document>
|