Skip to content

Commit 7915809

Browse files
authored
chore: [3894] Update MainWindow.xib format (#3895)
When you opened MainWindow.xib in latest Xcode, it complains that it is in an old format. It gives 2 choices: 1. Open source only 2. Update format This PR is the result of updating the format and saving it
1 parent b879c76 commit 7915809

File tree

1 file changed

+32
-249
lines changed

1 file changed

+32
-249
lines changed
Lines changed: 32 additions & 249 deletions
Original file line numberDiff line numberDiff line change
@@ -1,250 +1,33 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
3-
<data>
4-
<int key="IBDocument.SystemTarget">1056</int>
5-
<string key="IBDocument.SystemVersion">10J567</string>
6-
<string key="IBDocument.InterfaceBuilderVersion">1305</string>
7-
<string key="IBDocument.AppKitVersion">1038.35</string>
8-
<string key="IBDocument.HIToolboxVersion">462.00</string>
9-
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
10-
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
11-
<string key="NS.object.0">300</string>
12-
</object>
13-
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
14-
<bool key="EncodedWithXMLCoder">YES</bool>
15-
<string>IBUIWindow</string>
16-
<string>IBUICustomObject</string>
17-
<string>IBUIViewController</string>
18-
<string>IBProxyObject</string>
19-
</object>
20-
<object class="NSArray" key="IBDocument.PluginDependencies">
21-
<bool key="EncodedWithXMLCoder">YES</bool>
22-
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
23-
</object>
24-
<object class="NSMutableDictionary" key="IBDocument.Metadata">
25-
<bool key="EncodedWithXMLCoder">YES</bool>
26-
<object class="NSArray" key="dict.sortedKeys" id="0">
27-
<bool key="EncodedWithXMLCoder">YES</bool>
28-
</object>
29-
<reference key="dict.values" ref="0"/>
30-
</object>
31-
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
32-
<bool key="EncodedWithXMLCoder">YES</bool>
33-
<object class="IBProxyObject" id="841351856">
34-
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
35-
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
36-
</object>
37-
<object class="IBProxyObject" id="191355593">
38-
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
39-
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
40-
</object>
41-
<object class="IBUICustomObject" id="664661524">
42-
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
43-
</object>
44-
<object class="IBUIViewController" id="692423605">
45-
<string key="IBUINibName">CodenameOne_GLViewController</string>
46-
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
47-
<int key="IBUIInterfaceOrientation">1</int>
48-
<int key="interfaceOrientation">1</int>
49-
</object>
50-
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
51-
<bool key="IBUIHorizontal">NO</bool>
52-
</object>
53-
<object class="IBUIWindow" id="380026005">
54-
<reference key="NSNextResponder"/>
55-
<int key="NSvFlags">1316</int>
56-
<object class="NSPSMatrix" key="NSFrameMatrix"/>
57-
<string key="NSFrameSize">{320, 480}</string>
58-
<reference key="NSSuperview"/>
59-
<reference key="NSWindow"/>
60-
<object class="NSColor" key="IBUIBackgroundColor">
61-
<int key="NSColorSpace">1</int>
62-
<bytes key="NSRGB">MSAxIDEAA</bytes>
63-
</object>
64-
<int key="IBUIContentMode">2</int>
65-
<bool key="IBUIMultipleTouchEnabled">YES</bool>
66-
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
67-
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
68-
<bool key="IBUIVisibleAtLaunch">YES</bool>
69-
<bool key="IBUIResizesToFullScreen">YES</bool>
70-
</object>
71-
</object>
72-
<object class="IBObjectContainer" key="IBDocument.Objects">
73-
<object class="NSMutableArray" key="connectionRecords">
74-
<bool key="EncodedWithXMLCoder">YES</bool>
75-
<object class="IBConnectionRecord">
76-
<object class="IBCocoaTouchOutletConnection" key="connection">
77-
<string key="label">delegate</string>
78-
<reference key="source" ref="841351856"/>
79-
<reference key="destination" ref="664661524"/>
80-
</object>
81-
<int key="connectionID">4</int>
82-
</object>
83-
<object class="IBConnectionRecord">
84-
<object class="IBCocoaTouchOutletConnection" key="connection">
85-
<string key="label">window</string>
86-
<reference key="source" ref="664661524"/>
87-
<reference key="destination" ref="380026005"/>
88-
</object>
89-
<int key="connectionID">5</int>
90-
</object>
91-
<object class="IBConnectionRecord">
92-
<object class="IBCocoaTouchOutletConnection" key="connection">
93-
<string key="label">viewController</string>
94-
<reference key="source" ref="664661524"/>
95-
<reference key="destination" ref="692423605"/>
96-
</object>
97-
<int key="connectionID">11</int>
98-
</object>
99-
</object>
100-
<object class="IBMutableOrderedSet" key="objectRecords">
101-
<object class="NSArray" key="orderedObjects">
102-
<bool key="EncodedWithXMLCoder">YES</bool>
103-
<object class="IBObjectRecord">
104-
<int key="objectID">0</int>
105-
<reference key="object" ref="0"/>
106-
<reference key="children" ref="1000"/>
107-
<nil key="parent"/>
108-
</object>
109-
<object class="IBObjectRecord">
110-
<int key="objectID">2</int>
111-
<reference key="object" ref="380026005"/>
112-
<object class="NSMutableArray" key="children">
113-
<bool key="EncodedWithXMLCoder">YES</bool>
114-
</object>
115-
<reference key="parent" ref="0"/>
116-
</object>
117-
<object class="IBObjectRecord">
118-
<int key="objectID">-1</int>
119-
<reference key="object" ref="841351856"/>
120-
<reference key="parent" ref="0"/>
121-
<string key="objectName">File's Owner</string>
122-
</object>
123-
<object class="IBObjectRecord">
124-
<int key="objectID">3</int>
125-
<reference key="object" ref="664661524"/>
126-
<reference key="parent" ref="0"/>
127-
</object>
128-
<object class="IBObjectRecord">
129-
<int key="objectID">-2</int>
130-
<reference key="object" ref="191355593"/>
131-
<reference key="parent" ref="0"/>
132-
</object>
133-
<object class="IBObjectRecord">
134-
<int key="objectID">10</int>
135-
<reference key="object" ref="692423605"/>
136-
<reference key="parent" ref="0"/>
137-
</object>
138-
</object>
139-
</object>
140-
<object class="NSMutableDictionary" key="flattenedProperties">
141-
<bool key="EncodedWithXMLCoder">YES</bool>
142-
<object class="NSArray" key="dict.sortedKeys">
143-
<bool key="EncodedWithXMLCoder">YES</bool>
144-
<string>-1.CustomClassName</string>
145-
<string>-2.CustomClassName</string>
146-
<string>10.CustomClassName</string>
147-
<string>10.IBEditorWindowLastContentRect</string>
148-
<string>10.IBPluginDependency</string>
149-
<string>2.IBAttributePlaceholdersKey</string>
150-
<string>2.IBEditorWindowLastContentRect</string>
151-
<string>2.IBPluginDependency</string>
152-
<string>3.CustomClassName</string>
153-
<string>3.IBPluginDependency</string>
154-
</object>
155-
<object class="NSMutableArray" key="dict.values">
156-
<bool key="EncodedWithXMLCoder">YES</bool>
157-
<string>UIApplication</string>
158-
<string>UIResponder</string>
159-
<string>CodenameOne_GLViewController</string>
160-
<string>{{415, 586}, {320, 480}}</string>
161-
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
162-
<object class="NSMutableDictionary">
163-
<bool key="EncodedWithXMLCoder">YES</bool>
164-
<reference key="dict.sortedKeys" ref="0"/>
165-
<reference key="dict.values" ref="0"/>
166-
</object>
167-
<string>{{228, 376}, {320, 480}}</string>
168-
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
169-
<string>CodenameOne_GLAppDelegate</string>
170-
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
171-
</object>
172-
</object>
173-
<object class="NSMutableDictionary" key="unlocalizedProperties">
174-
<bool key="EncodedWithXMLCoder">YES</bool>
175-
<reference key="dict.sortedKeys" ref="0"/>
176-
<reference key="dict.values" ref="0"/>
177-
</object>
178-
<nil key="activeLocalization"/>
179-
<object class="NSMutableDictionary" key="localizations">
180-
<bool key="EncodedWithXMLCoder">YES</bool>
181-
<reference key="dict.sortedKeys" ref="0"/>
182-
<reference key="dict.values" ref="0"/>
183-
</object>
184-
<nil key="sourceID"/>
185-
<int key="maxID">11</int>
186-
</object>
187-
<object class="IBClassDescriber" key="IBDocument.Classes">
188-
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
189-
<bool key="EncodedWithXMLCoder">YES</bool>
190-
<object class="IBPartialClassDescription">
191-
<string key="className">CodenameOne_GLAppDelegate</string>
192-
<string key="superclassName">NSObject</string>
193-
<object class="NSMutableDictionary" key="outlets">
194-
<bool key="EncodedWithXMLCoder">YES</bool>
195-
<object class="NSArray" key="dict.sortedKeys">
196-
<bool key="EncodedWithXMLCoder">YES</bool>
197-
<string>viewController</string>
198-
<string>window</string>
199-
</object>
200-
<object class="NSMutableArray" key="dict.values">
201-
<bool key="EncodedWithXMLCoder">YES</bool>
202-
<string>CodenameOne_GLViewController</string>
203-
<string>UIWindow</string>
204-
</object>
205-
</object>
206-
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
207-
<bool key="EncodedWithXMLCoder">YES</bool>
208-
<object class="NSArray" key="dict.sortedKeys">
209-
<bool key="EncodedWithXMLCoder">YES</bool>
210-
<string>viewController</string>
211-
<string>window</string>
212-
</object>
213-
<object class="NSMutableArray" key="dict.values">
214-
<bool key="EncodedWithXMLCoder">YES</bool>
215-
<object class="IBToOneOutletInfo">
216-
<string key="name">viewController</string>
217-
<string key="candidateClassName">CodenameOne_GLViewController</string>
218-
</object>
219-
<object class="IBToOneOutletInfo">
220-
<string key="name">window</string>
221-
<string key="candidateClassName">UIWindow</string>
222-
</object>
223-
</object>
224-
</object>
225-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
226-
<string key="majorKey">IBProjectSource</string>
227-
<string key="minorKey">./Classes/CodenameOne_GLAppDelegate.h</string>
228-
</object>
229-
</object>
230-
<object class="IBPartialClassDescription">
231-
<string key="className">CodenameOne_GLViewController</string>
232-
<string key="superclassName">UIViewController</string>
233-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
234-
<string key="majorKey">IBProjectSource</string>
235-
<string key="minorKey">./Classes/CodenameOne_GLViewController.h</string>
236-
</object>
237-
</object>
238-
</object>
239-
</object>
240-
<int key="IBDocument.localizationMode">0</int>
241-
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
242-
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
243-
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
244-
<integer value="3100" key="NS.object.0"/>
245-
</object>
246-
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
247-
<int key="IBDocument.defaultPropertyAccessControl">3</int>
248-
<string key="IBCocoaTouchPluginVersion">300</string>
249-
</data>
250-
</archive>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
3+
<device id="retina6_12" orientation="portrait" appearance="light"/>
4+
<dependencies>
5+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/>
6+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
7+
</dependencies>
8+
<objects>
9+
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="UIApplication">
10+
<connections>
11+
<outlet property="delegate" destination="3" id="4"/>
12+
</connections>
13+
</placeholder>
14+
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
15+
<customObject id="3" customClass="CodenameOne_GLAppDelegate">
16+
<connections>
17+
<outlet property="viewController" destination="10" id="11"/>
18+
<outlet property="window" destination="2" id="5"/>
19+
</connections>
20+
</customObject>
21+
<viewController nibName="CodenameOne_GLViewController" id="10" customClass="CodenameOne_GLViewController">
22+
<extendedEdge key="edgesForExtendedLayout"/>
23+
<nil key="simulatedStatusBarMetrics"/>
24+
<point key="canvasLocation" x="-297" y="-14"/>
25+
</viewController>
26+
<window multipleTouchEnabled="YES" contentMode="scaleAspectFill" visibleAtLaunch="YES" id="2">
27+
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
28+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
29+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
30+
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
31+
</window>
32+
</objects>
33+
</document>

0 commit comments

Comments
 (0)