CocoaSplit/StreamServicePlugins/CSTwitchStreamServicePlugin/TwitchStreamServiceViewController.xib

147 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="10117" systemVersion="15G31" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10117"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="TwitchStreamServiceViewController">
<connections>
<outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView id="Hz6-mo-xeY">
<rect key="frame" x="0.0" y="0.0" width="373" height="113"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="eAr-Yw-hjp">
<rect key="frame" x="-2" y="51" width="43" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Server:" id="fwX-V9-3pM">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="p2g-rO-uEz">
<rect key="frame" x="-2" y="26" width="75" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Stream Key:" id="GSk-ap-trN">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bg0-49-utP">
<rect key="frame" x="100" y="46" width="192" height="22"/>
<popUpButtonCell key="cell" type="push" title="Item 1" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="ygs-JN-7AV" id="D5Y-6w-D4W">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="smallSystem"/>
<menu key="menu" title="OtherViews" id="Btc-UY-2iV">
<items>
<menuItem title="Item 1" state="on" id="ygs-JN-7AV"/>
<menuItem title="Item 2" id="y6w-tu-5bw"/>
<menuItem title="Item 3" id="71F-39-IMZ"/>
</items>
</menu>
</popUpButtonCell>
<connections>
<binding destination="BZv-RQ-KUB" name="content" keyPath="arrangedObjects" id="m7E-6K-zMf"/>
<binding destination="BZv-RQ-KUB" name="contentObjects" keyPath="arrangedObjects.destination" previousBinding="m7E-6K-zMf" id="r8M-R7-yes"/>
<binding destination="BZv-RQ-KUB" name="contentValues" keyPath="arrangedObjects.name" previousBinding="r8M-R7-yes" id="XfC-8N-zJl"/>
<binding destination="eLP-7h-dlf" name="selectedObject" keyPath="selection.selectedServer" previousBinding="XfC-8N-zJl" id="MIF-hv-DyE"/>
</connections>
</popUpButton>
<textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="89b-qt-3JS">
<rect key="frame" x="103" y="23" width="268" height="19"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" continuous="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="rqL-Ga-XRl">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="-2" name="value" keyPath="self.serviceObj.streamKey" id="Nwa-qy-LHq"/>
</connections>
</textField>
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="tWm-wS-2BV">
<rect key="frame" x="-5" y="-6" width="119" height="28"/>
<buttonCell key="cell" type="push" title="Fetch Stream Key" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="fIX-yp-ulT">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="smallSystem"/>
</buttonCell>
<connections>
<action selector="doTwitchstreamkey:" target="-2" id="5v7-pg-2Fv"/>
</connections>
</button>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ZXE-bi-YEd">
<rect key="frame" x="-2" y="89" width="88" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Account Name: " id="GSW-7b-XVh">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="3ra-hL-b5a">
<rect key="frame" x="114" y="-2" width="202" height="20"/>
<buttonCell key="cell" type="check" title="Always fetch stream key when live" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="Tv0-b8-Hpp">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="smallSystem"/>
</buttonCell>
<connections>
<binding destination="eLP-7h-dlf" name="value" keyPath="selection.alwaysFetchKey" id="zGc-PP-xDf"/>
</connections>
</button>
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="A04-mR-vtB">
<rect key="frame" x="282" y="81" width="96" height="28"/>
<buttonCell key="cell" type="push" title="New Account" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="fOj-pE-jfl">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="smallSystem"/>
</buttonCell>
<connections>
<action selector="doTwitchAuth:" target="-2" id="ZfB-2Z-4E1"/>
</connections>
</button>
<popUpButton verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="F8g-mW-lA7">
<rect key="frame" x="89" y="84" width="193" height="22"/>
<popUpButtonCell key="cell" type="push" title="Item 1" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="5SK-eX-ugN" id="RBy-qq-6sH">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="smallSystem"/>
<menu key="menu" id="EnL-ig-yGP">
<items>
<menuItem title="Item 1" state="on" id="5SK-eX-ugN"/>
<menuItem title="Item 2" id="Yl4-vv-eoS"/>
<menuItem title="Item 3" id="q5G-E2-KqP"/>
</items>
</menu>
</popUpButtonCell>
<connections>
<binding destination="eLP-7h-dlf" name="selectedObject" keyPath="selection.accountName" previousBinding="Nhf-HY-pX7" id="n1P-m5-KQw"/>
<binding destination="eLP-7h-dlf" name="content" keyPath="selection.knownAccounts" id="Nhf-HY-pX7"/>
</connections>
</popUpButton>
</subviews>
<point key="canvasLocation" x="426.5" y="194.5"/>
</customView>
<objectController id="eLP-7h-dlf" userLabel="TwitchStreamServiceController">
<connections>
<binding destination="-2" name="contentObject" keyPath="self.serviceObj" id="2Uc-Wl-KRq"/>
</connections>
</objectController>
<arrayController automaticallyRearrangesObjects="YES" id="BZv-RQ-KUB" userLabel="TwitchServersController">
<connections>
<binding destination="eLP-7h-dlf" name="contentArray" keyPath="selection.twitchServers" id="DFG-xw-Ljs"/>
<binding destination="-2" name="sortDescriptors" keyPath="self.serverSortDescriptors" id="2tY-7e-Wwv"/>
</connections>
</arrayController>
<userDefaultsController representsSharedInstance="YES" id="uZK-YD-rlh"/>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="EuD-V3-icZ">
<rect key="frame" x="0.0" y="0.0" width="38" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Label" id="Gbm-L4-dpn">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
</objects>
</document>