Skip to content

Commit f4c7a6f

Browse files
committed
minor tweaks
1 parent bae9c1a commit f4c7a6f

File tree

6 files changed

+37
-30
lines changed

6 files changed

+37
-30
lines changed

bk1ch11p462notifications2/ObserverTest/Base.lproj/Main.storyboard

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14295.6" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
3-
<device id="retina4_7" orientation="portrait">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
3+
<device id="retina3_5" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
7-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14270.1"/>
7+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
88
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
99
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1010
</dependencies>
@@ -14,7 +14,7 @@
1414
<objects>
1515
<viewController id="BYZ-38-t0r" customClass="ViewController" customModule="ObserverTest" customModuleProvider="target" sceneMemberID="viewController">
1616
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
17-
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
17+
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
1818
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1919
<subviews>
2020
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xTD-ZM-JqE">
@@ -46,19 +46,20 @@
4646
<objects>
4747
<viewController id="PaM-Ox-YEn" customClass="ViewController2" customModule="ObserverTest" customModuleProvider="target" sceneMemberID="viewController">
4848
<view key="view" contentMode="scaleToFill" id="2hA-fh-NvZ">
49-
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
49+
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
5050
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
5151
<subviews>
5252
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="MIY-YE-2sW">
53-
<rect key="frame" x="43" y="34" width="34" height="30"/>
53+
<rect key="frame" x="34" y="34" width="52" height="30"/>
5454
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
55-
<state key="normal" title="Back"/>
55+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
56+
<state key="normal" title="Unwind"/>
5657
<connections>
57-
<segue destination="Rqz-YR-y4t" kind="unwind" unwindAction="unwind:" id="wgf-nv-agR"/>
58+
<segue destination="Rqz-YR-y4t" kind="unwind" unwindAction="unwind:" id="U5Q-U7-cOF"/>
5859
</connections>
5960
</button>
6061
</subviews>
61-
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
62+
<color key="backgroundColor" red="1" green="0.92427134609999995" blue="0.25664460189999999" alpha="1" colorSpace="calibratedRGB"/>
6263
<viewLayoutGuide key="safeArea" id="f82-5G-tTh"/>
6364
</view>
6465
</viewController>

bk2ch01p038evenDistribution/EvenDistribution/Base.lproj/Main.storyboard

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14295.6" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="vXZ-lx-hvc">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="vXZ-lx-hvc">
33
<device id="retina4_7" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
77
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14270.1"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
99
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
1010
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1111
</dependencies>
@@ -97,6 +97,7 @@
9797
</viewController>
9898
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
9999
</objects>
100+
<point key="canvasLocation" x="132" y="126"/>
100101
</scene>
101102
</scenes>
102103
</document>

bk2ch02p077drawingInUIView/ch15p427drawingInUIView.xcodeproj/project.pbxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
ORGANIZATIONNAME = "Matt Neuburg";
9999
TargetAttributes = {
100100
C9E67A4917B023F70062A15F = {
101+
DevelopmentTeam = W3LHX5RGV2;
101102
LastSwiftMigration = 1000;
102103
};
103104
};
@@ -231,6 +232,7 @@
231232
buildSettings = {
232233
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
233234
CLANG_ENABLE_MODULES = YES;
235+
DEVELOPMENT_TEAM = W3LHX5RGV2;
234236
GCC_PRECOMPILE_PREFIX_HEADER = YES;
235237
GCC_PREFIX_HEADER = "ch15p427drawingInUIView/ch15p427drawingInUIView-Prefix.pch";
236238
INFOPLIST_FILE = "ch15p427drawingInUIView/ch15p427drawingInUIView-Info.plist";
@@ -250,6 +252,7 @@
250252
buildSettings = {
251253
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
252254
CLANG_ENABLE_MODULES = YES;
255+
DEVELOPMENT_TEAM = W3LHX5RGV2;
253256
GCC_PRECOMPILE_PREFIX_HEADER = YES;
254257
GCC_PREFIX_HEADER = "ch15p427drawingInUIView/ch15p427drawingInUIView-Prefix.pch";
255258
INFOPLIST_FILE = "ch15p427drawingInUIView/ch15p427drawingInUIView-Info.plist";

bk2ch02p077drawingInUIView/ch15p427drawingInUIView/MyView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ class MyView : UIView {
246246

247247
// draw the red triangle, the point of the arrow
248248
con.saveGState()
249-
// this bug still present in beta 6
249+
// this bug still present in beta 6 and GM
250250
do { // work around iOS 12 bug: force context to have some color!
251251
con.setFillColor(UIColor.blue.cgColor)
252252
con.fill(CGRect(0,0,0,0))

bk2ch06p326TabbedUnwind/TabbedUnwind/Base.lproj/Main.storyboard

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13189.4" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="49e-Tb-3d3">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="49e-Tb-3d3">
3+
<device id="retina3_5" orientation="portrait">
4+
<adaptation id="fullscreen"/>
5+
</device>
36
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13165.3"/>
5-
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
7+
<deployment identifier="iOS"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
69
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
7-
<capability name="Segues with Peek and Pop" minToolsVersion="7.1"/>
810
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
911
</dependencies>
1012
<scenes>
@@ -13,11 +15,11 @@
1315
<objects>
1416
<viewController id="9pv-A4-QxB" customClass="FirstViewController" customModule="TabbedUnwind" customModuleProvider="target" sceneMemberID="viewController">
1517
<view key="view" contentMode="scaleToFill" id="tsR-hK-woN">
16-
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
18+
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
1719
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1820
<subviews>
1921
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ziv-rB-lC5">
20-
<rect key="frame" x="60" y="102" width="35" height="30"/>
22+
<rect key="frame" x="56" y="102" width="35" height="30"/>
2123
<state key="normal" title="Push"/>
2224
<connections>
2325
<segue destination="6Bb-yP-bmr" kind="show" id="vW1-zU-dRb">
@@ -45,7 +47,7 @@
4547
<objects>
4648
<viewController id="6Bb-yP-bmr" customClass="PushedViewController" customModule="TabbedUnwind" customModuleProvider="target" sceneMemberID="viewController">
4749
<view key="view" contentMode="scaleToFill" id="1Mm-HX-QUM">
48-
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
50+
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
4951
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
5052
<color key="backgroundColor" red="0.50076308140000003" green="1" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
5153
<viewLayoutGuide key="safeArea" id="wdf-DE-6bw"/>
@@ -60,11 +62,11 @@
6062
<objects>
6163
<viewController id="8rJ-Kc-sve" customClass="SecondViewController" customModule="TabbedUnwind" customModuleProvider="target" sceneMemberID="viewController">
6264
<view key="view" contentMode="scaleToFill" id="QS5-Rx-YEW">
63-
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
65+
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
6466
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
6567
<subviews>
6668
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vCN-K0-6r9">
67-
<rect key="frame" x="50" y="57" width="53" height="30"/>
69+
<rect key="frame" x="46" y="57" width="53" height="30"/>
6870
<state key="normal" title="Present"/>
6971
<connections>
7072
<segue destination="BbI-1d-dy6" kind="presentation" id="xMF-XB-s2k">
@@ -92,7 +94,7 @@
9294
<objects>
9395
<viewController id="BbI-1d-dy6" customClass="PresentedViewController" customModule="TabbedUnwind" customModuleProvider="target" sceneMemberID="viewController">
9496
<view key="view" contentMode="scaleToFill" id="2oV-JE-H9u">
95-
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
97+
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
9698
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
9799
<subviews>
98100
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Bm9-fN-w1k">
@@ -139,7 +141,7 @@
139141
<tabBarItem key="tabBarItem" title="First" image="first" id="acW-dT-cKf"/>
140142
<toolbarItems/>
141143
<navigationBar key="navigationBar" contentMode="scaleToFill" id="3ft-JZ-Hzj">
142-
<rect key="frame" x="0.0" y="0.0" width="1000" height="1000"/>
144+
<rect key="frame" x="0.0" y="20" width="320" height="50"/>
143145
<autoresizingMask key="autoresizingMask"/>
144146
</navigationBar>
145147
<nil name="viewControllers"/>

bk2ch06p341SimplestRestorationExample/ch19p652SimplestRestorationExample/Base.lproj/Main.storyboard

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13189.4" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="3Bh-Xq-FD9">
3-
<device id="retina4_7" orientation="portrait">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="3Bh-Xq-FD9">
3+
<device id="retina3_5" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
77
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13165.3"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
99
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
1010
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1111
</dependencies>
@@ -15,7 +15,7 @@
1515
<objects>
1616
<navigationController storyboardIdentifier="nav" definesPresentationContext="YES" useStoryboardIdentifierAsRestorationIdentifier="YES" id="3Bh-Xq-FD9" sceneMemberID="viewController">
1717
<navigationBar key="navigationBar" contentMode="scaleToFill" id="7IM-sO-lTf">
18-
<rect key="frame" x="0.0" y="20" width="375" height="44"/>
18+
<rect key="frame" x="0.0" y="20" width="320" height="50"/>
1919
<autoresizingMask key="autoresizingMask"/>
2020
</navigationBar>
2121
<connections>
@@ -31,7 +31,7 @@
3131
<objects>
3232
<viewController storyboardIdentifier="root" useStoryboardIdentifierAsRestorationIdentifier="YES" id="xnF-sR-tLG" customClass="RootViewController" customModule="ch19p652SimplestRestorationExample" customModuleProvider="target" sceneMemberID="viewController">
3333
<view key="view" contentMode="scaleToFill" id="eJL-wc-cgw">
34-
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
34+
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
3535
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
3636
<subviews>
3737
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ddL-6J-Xad">
@@ -65,7 +65,7 @@
6565
<objects>
6666
<viewController storyboardIdentifier="second" useStoryboardIdentifierAsRestorationIdentifier="YES" id="gwB-hC-H2v" customClass="SecondViewController" customModule="ch19p652SimplestRestorationExample" customModuleProvider="target" sceneMemberID="viewController">
6767
<view key="view" contentMode="scaleToFill" id="Jjp-iq-oMn">
68-
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
68+
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
6969
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
7070
<subviews>
7171
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BTs-nk-1jB">
@@ -93,7 +93,7 @@
9393
<objects>
9494
<viewController storyboardIdentifier="presented" useStoryboardIdentifierAsRestorationIdentifier="YES" id="Dfq-Zc-i7g" customClass="PresentedViewController" customModule="ch19p652SimplestRestorationExample" customModuleProvider="target" sceneMemberID="viewController">
9595
<view key="view" contentMode="scaleToFill" id="xgW-V3-AAh">
96-
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
96+
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
9797
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
9898
<subviews>
9999
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Yc2-MS-phI">

0 commit comments

Comments
 (0)