-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIXED: About VC didn't set correct content inset
ADDED: Demonstrate dark/light mode adjustment on About Box #1213
- Loading branch information
Showing
5 changed files
with
58 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,160 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00"> | ||
<data> | ||
<int key="IBDocument.SystemTarget">2048</int> | ||
<string key="IBDocument.SystemVersion">14A388a</string> | ||
<string key="IBDocument.InterfaceBuilderVersion">6245</string> | ||
<string key="IBDocument.AppKitVersion">1343.14</string> | ||
<string key="IBDocument.HIToolboxVersion">755.00</string> | ||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions"> | ||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
<string key="NS.object.0">6238</string> | ||
</object> | ||
<array key="IBDocument.IntegratedClassDependencies"> | ||
<string>IBProxyObject</string> | ||
<string>IBUIView</string> | ||
</array> | ||
<array key="IBDocument.PluginDependencies"> | ||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
</array> | ||
<object class="NSMutableDictionary" key="IBDocument.Metadata"> | ||
<string key="NS.key.0">PluginDependencyRecalculationVersion</string> | ||
<integer value="1" key="NS.object.0"/> | ||
</object> | ||
<array class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> | ||
<object class="IBProxyObject" id="372490531"> | ||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string> | ||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
</object> | ||
<object class="IBProxyObject" id="975951072"> | ||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string> | ||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
</object> | ||
<object class="IBUIView" id="191373211"> | ||
<nil key="NSNextResponder"/> | ||
<int key="NSvFlags">274</int> | ||
<array class="NSMutableArray" key="NSSubviews"> | ||
<object class="IBUIView" id="396884822"> | ||
<reference key="NSNextResponder" ref="191373211"/> | ||
<int key="NSvFlags">274</int> | ||
<string key="NSFrameSize">{320, 548}</string> | ||
<reference key="NSSuperview" ref="191373211"/> | ||
<string key="NSReuseIdentifierKey">_NS:9</string> | ||
<object class="NSColor" key="IBUIBackgroundColor"> | ||
<int key="NSColorSpace">3</int> | ||
<bytes key="NSWhite">MQA</bytes> | ||
<object class="NSColorSpace" key="NSCustomColorSpace" id="512747427"> | ||
<int key="NSID">2</int> | ||
</object> | ||
</object> | ||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
</object> | ||
</array> | ||
<string key="NSFrame">{{0, 20}, {320, 548}}</string> | ||
<reference key="NSNextKeyView" ref="396884822"/> | ||
<object class="NSColor" key="IBUIBackgroundColor"> | ||
<int key="NSColorSpace">3</int> | ||
<bytes key="NSWhite">MQA</bytes> | ||
<reference key="NSCustomColorSpace" ref="512747427"/> | ||
</object> | ||
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/> | ||
<object class="IBUIScreenMetrics" key="IBUISimulatedDestinationMetrics"> | ||
<string key="IBUISimulatedSizeMetricsClass">IBUIScreenMetrics</string> | ||
<string key="IBUITargetRuntime">IBCocoaTouchFramework</string> | ||
<string key="IBUIDisplayName">iPhone 4-inch</string> | ||
<object class="NSMutableDictionary" key="IBUINormalizedOrientationToSizeMap"> | ||
<bool key="EncodedWithXMLCoder">YES</bool> | ||
<array key="dict.sortedKeys"> | ||
<integer value="1"/> | ||
<integer value="3"/> | ||
</array> | ||
<array key="dict.values"> | ||
<string>{320, 568}</string> | ||
<string>{568, 320}</string> | ||
</array> | ||
</object> | ||
<int key="IBUIType">2</int> | ||
</object> | ||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
</object> | ||
</array> | ||
<object class="IBObjectContainer" key="IBDocument.Objects"> | ||
<array key="connectionRecords"> | ||
<object class="IBConnectionRecord"> | ||
<object class="IBCocoaTouchOutletConnection" key="connection"> | ||
<string key="label">view</string> | ||
<reference key="source" ref="372490531"/> | ||
<reference key="destination" ref="191373211"/> | ||
</object> | ||
<int key="connectionID">3</int> | ||
</object> | ||
<object class="IBConnectionRecord"> | ||
<object class="IBCocoaTouchOutletConnection" key="connection"> | ||
<string key="label">attributedTextView</string> | ||
<reference key="source" ref="372490531"/> | ||
<reference key="destination" ref="396884822"/> | ||
</object> | ||
<int key="connectionID">9</int> | ||
</object> | ||
</array> | ||
<object class="IBMutableOrderedSet" key="objectRecords"> | ||
<array key="orderedObjects"> | ||
<object class="IBObjectRecord"> | ||
<int key="objectID">0</int> | ||
<array key="object" id="0"/> | ||
<reference key="children" ref="1000"/> | ||
<nil key="parent"/> | ||
</object> | ||
<object class="IBObjectRecord"> | ||
<int key="objectID">1</int> | ||
<reference key="object" ref="191373211"/> | ||
<array class="NSMutableArray" key="children"> | ||
<reference ref="396884822"/> | ||
</array> | ||
<reference key="parent" ref="0"/> | ||
</object> | ||
<object class="IBObjectRecord"> | ||
<int key="objectID">-1</int> | ||
<reference key="object" ref="372490531"/> | ||
<reference key="parent" ref="0"/> | ||
<string key="objectName">File's Owner</string> | ||
</object> | ||
<object class="IBObjectRecord"> | ||
<int key="objectID">-2</int> | ||
<reference key="object" ref="975951072"/> | ||
<reference key="parent" ref="0"/> | ||
</object> | ||
<object class="IBObjectRecord"> | ||
<int key="objectID">4</int> | ||
<reference key="object" ref="396884822"/> | ||
<reference key="parent" ref="191373211"/> | ||
</object> | ||
</array> | ||
</object> | ||
<dictionary class="NSMutableDictionary" key="flattenedProperties"> | ||
<string key="-1.CustomClassName">DemoAboutViewController</string> | ||
<string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
<string key="-2.CustomClassName">UIResponder</string> | ||
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
<string key="1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
<string key="4.CustomClassName">DTAttributedTextView</string> | ||
<string key="4.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
</dictionary> | ||
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/> | ||
<nil key="activeLocalization"/> | ||
<dictionary class="NSMutableDictionary" key="localizations"/> | ||
<nil key="sourceID"/> | ||
<int key="maxID">9</int> | ||
</object> | ||
<object class="IBClassDescriber" key="IBDocument.Classes"/> | ||
<int key="IBDocument.localizationMode">0</int> | ||
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
<bool key="IBDocument.previouslyAttemptedUpgradeToXcode5">NO</bool> | ||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies"> | ||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string> | ||
<integer value="4600" key="NS.object.0"/> | ||
</object> | ||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> | ||
<int key="IBDocument.defaultPropertyAccessControl">3</int> | ||
</data> | ||
</archive> | ||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17156" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES"> | ||
<device id="retina6_1" orientation="portrait" appearance="light"/> | ||
<dependencies> | ||
<deployment identifier="iOS"/> | ||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17126"/> | ||
<capability name="System colors in document resources" minToolsVersion="11.0"/> | ||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | ||
</dependencies> | ||
<objects> | ||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="DemoAboutViewController"> | ||
<connections> | ||
<outlet property="attributedTextView" destination="7ej-0R-61t" id="Do0-8b-m3v"/> | ||
<outlet property="view" destination="7ej-0R-61t" id="k3r-2s-8bU"/> | ||
</connections> | ||
</placeholder> | ||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> | ||
<view contentMode="scaleToFill" id="7ej-0R-61t" customClass="DTAttributedTextView"> | ||
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/> | ||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | ||
<color key="backgroundColor" systemColor="systemBackgroundColor"/> | ||
<point key="canvasLocation" x="-662" y="2"/> | ||
</view> | ||
</objects> | ||
<resources> | ||
<systemColor name="systemBackgroundColor"> | ||
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
</systemColor> | ||
</resources> | ||
</document> |