Skip to content

Commit 577f9ba

Browse files
committed
Updated for 2.2.3 release
1 parent 8894edf commit 577f9ba

File tree

19 files changed

+245
-647
lines changed

19 files changed

+245
-647
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
language: objective-c
2-
before_script:
3-
- brew update
4-
- brew upgrade xctool || true
5-
osx_image: xcode7.3
62
script: xctool test -project Tests/UnitTests.xcodeproj -scheme UnitTests -sdk iphonesimulator

AutoCoding.podspec.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "AutoCoding",
3-
"version": "2.2.2",
3+
"version": "2.2.3",
44
"summary": "AutoCoding is a category on NSObject that provides automatic support for NSCoding to any object.",
55
"homepage": "https://github.com/nicklockwood/AutoCoding",
66
"license": "zlib",
77
"authors": "Nick Lockwood",
88
"source": {
99
"git": "https://github.com/nicklockwood/AutoCoding.git",
10-
"tag": "2.2.2"
10+
"tag": "2.2.3"
1111
},
1212
"platforms": {
1313
"ios": "4.3",

AutoCoding/AutoCoding.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// AutoCoding.h
33
//
4-
// Version 2.2.2
4+
// Version 2.2.3
55
//
66
// Created by Nick Lockwood on 19/11/2011.
77
// Copyright (c) 2011 Charcoal Design
@@ -97,7 +97,7 @@ NS_ASSUME_NONNULL_BEGIN
9797
* being used to load it, an exception will be thrown (to avoid this, call the
9898
* method on `NSObject` instead of a specific subclass).
9999
*/
100-
+ (instancetype)objectWithContentsOfFile:(NSString *)path;
100+
+ (nullable instancetype)objectWithContentsOfFile:(NSString *)path;
101101

102102
/**
103103
* Attempts to write the file to disk. This method is overridden by the

AutoCoding/AutoCoding.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// AutoCoding.m
33
//
4-
// Version 2.2.2
4+
// Version 2.2.3
55
//
66
// Created by Nick Lockwood on 19/11/2011.
77
// Copyright (c) 2011 Charcoal Design

Examples/TodoList/Classes/NewItemViewController.xib

Lines changed: 32 additions & 393 deletions
Large diffs are not rendered by default.
Lines changed: 32 additions & 205 deletions
Original file line numberDiff line numberDiff line change
@@ -1,206 +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">1296</int>
5-
<string key="IBDocument.SystemVersion">11D50</string>
6-
<string key="IBDocument.InterfaceBuilderVersion">2182</string>
7-
<string key="IBDocument.AppKitVersion">1138.32</string>
8-
<string key="IBDocument.HIToolboxVersion">568.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">1181</string>
12-
</object>
13-
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
14-
<bool key="EncodedWithXMLCoder">YES</bool>
15-
<string>IBProxyObject</string>
16-
<string>IBUIView</string>
17-
<string>IBUITableView</string>
18-
</object>
19-
<object class="NSArray" key="IBDocument.PluginDependencies">
20-
<bool key="EncodedWithXMLCoder">YES</bool>
21-
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
22-
</object>
23-
<object class="NSMutableDictionary" key="IBDocument.Metadata">
24-
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
25-
<integer value="1" key="NS.object.0"/>
26-
</object>
27-
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
28-
<bool key="EncodedWithXMLCoder">YES</bool>
29-
<object class="IBProxyObject" id="372490531">
30-
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
31-
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
32-
</object>
33-
<object class="IBProxyObject" id="843779117">
34-
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
35-
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
36-
</object>
37-
<object class="IBUIView" id="774585933">
38-
<reference key="NSNextResponder"/>
39-
<int key="NSvFlags">274</int>
40-
<object class="NSMutableArray" key="NSSubviews">
41-
<bool key="EncodedWithXMLCoder">YES</bool>
42-
<object class="IBUITableView" id="293529452">
43-
<reference key="NSNextResponder" ref="774585933"/>
44-
<int key="NSvFlags">274</int>
45-
<string key="NSFrameSize">{320, 460}</string>
46-
<reference key="NSSuperview" ref="774585933"/>
47-
<reference key="NSWindow"/>
48-
<reference key="NSNextKeyView"/>
49-
<object class="NSColor" key="IBUIBackgroundColor">
50-
<int key="NSColorSpace">3</int>
51-
<bytes key="NSWhite">MQA</bytes>
52-
</object>
53-
<bool key="IBUIOpaque">NO</bool>
54-
<bool key="IBUIClipsSubviews">YES</bool>
55-
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
56-
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
57-
<bool key="IBUIBouncesZoom">NO</bool>
58-
<int key="IBUISeparatorStyle">1</int>
59-
<int key="IBUISectionIndexMinimumDisplayRowCount">0</int>
60-
<bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool>
61-
<float key="IBUIRowHeight">44</float>
62-
<float key="IBUISectionHeaderHeight">22</float>
63-
<float key="IBUISectionFooterHeight">22</float>
64-
</object>
65-
</object>
66-
<string key="NSFrame">{{0, 20}, {320, 460}}</string>
67-
<reference key="NSSuperview"/>
68-
<reference key="NSWindow"/>
69-
<reference key="NSNextKeyView" ref="293529452"/>
70-
<object class="NSColor" key="IBUIBackgroundColor">
71-
<int key="NSColorSpace">3</int>
72-
<bytes key="NSWhite">MC43NQA</bytes>
73-
<object class="NSColorSpace" key="NSCustomColorSpace">
74-
<int key="NSID">2</int>
75-
</object>
76-
</object>
77-
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
78-
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
79-
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
80-
</object>
81-
</object>
82-
<object class="IBObjectContainer" key="IBDocument.Objects">
83-
<object class="NSMutableArray" key="connectionRecords">
84-
<bool key="EncodedWithXMLCoder">YES</bool>
85-
<object class="IBConnectionRecord">
86-
<object class="IBCocoaTouchOutletConnection" key="connection">
87-
<string key="label">tableView</string>
88-
<reference key="source" ref="372490531"/>
89-
<reference key="destination" ref="293529452"/>
90-
</object>
91-
<int key="connectionID">17</int>
92-
</object>
93-
<object class="IBConnectionRecord">
94-
<object class="IBCocoaTouchOutletConnection" key="connection">
95-
<string key="label">view</string>
96-
<reference key="source" ref="372490531"/>
97-
<reference key="destination" ref="774585933"/>
98-
</object>
99-
<int key="connectionID">18</int>
100-
</object>
101-
<object class="IBConnectionRecord">
102-
<object class="IBCocoaTouchOutletConnection" key="connection">
103-
<string key="label">dataSource</string>
104-
<reference key="source" ref="293529452"/>
105-
<reference key="destination" ref="372490531"/>
106-
</object>
107-
<int key="connectionID">15</int>
108-
</object>
109-
<object class="IBConnectionRecord">
110-
<object class="IBCocoaTouchOutletConnection" key="connection">
111-
<string key="label">delegate</string>
112-
<reference key="source" ref="293529452"/>
113-
<reference key="destination" ref="372490531"/>
114-
</object>
115-
<int key="connectionID">16</int>
116-
</object>
117-
</object>
118-
<object class="IBMutableOrderedSet" key="objectRecords">
119-
<object class="NSArray" key="orderedObjects">
120-
<bool key="EncodedWithXMLCoder">YES</bool>
121-
<object class="IBObjectRecord">
122-
<int key="objectID">0</int>
123-
<object class="NSArray" key="object" id="0">
124-
<bool key="EncodedWithXMLCoder">YES</bool>
125-
</object>
126-
<reference key="children" ref="1000"/>
127-
<nil key="parent"/>
128-
</object>
129-
<object class="IBObjectRecord">
130-
<int key="objectID">-1</int>
131-
<reference key="object" ref="372490531"/>
132-
<reference key="parent" ref="0"/>
133-
<string key="objectName">File's Owner</string>
134-
</object>
135-
<object class="IBObjectRecord">
136-
<int key="objectID">-2</int>
137-
<reference key="object" ref="843779117"/>
138-
<reference key="parent" ref="0"/>
139-
</object>
140-
<object class="IBObjectRecord">
141-
<int key="objectID">6</int>
142-
<reference key="object" ref="774585933"/>
143-
<object class="NSMutableArray" key="children">
144-
<bool key="EncodedWithXMLCoder">YES</bool>
145-
<reference ref="293529452"/>
146-
</object>
147-
<reference key="parent" ref="0"/>
148-
</object>
149-
<object class="IBObjectRecord">
150-
<int key="objectID">8</int>
151-
<reference key="object" ref="293529452"/>
152-
<reference key="parent" ref="774585933"/>
153-
</object>
154-
</object>
155-
</object>
156-
<object class="NSMutableDictionary" key="flattenedProperties">
157-
<bool key="EncodedWithXMLCoder">YES</bool>
158-
<object class="NSArray" key="dict.sortedKeys">
159-
<bool key="EncodedWithXMLCoder">YES</bool>
160-
<string>-1.CustomClassName</string>
161-
<string>-1.IBPluginDependency</string>
162-
<string>-2.CustomClassName</string>
163-
<string>-2.IBPluginDependency</string>
164-
<string>6.IBPluginDependency</string>
165-
<string>8.IBPluginDependency</string>
166-
</object>
167-
<object class="NSArray" key="dict.values">
168-
<bool key="EncodedWithXMLCoder">YES</bool>
169-
<string>TodoListViewController</string>
170-
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
171-
<string>UIResponder</string>
172-
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
173-
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
174-
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
175-
</object>
176-
</object>
177-
<object class="NSMutableDictionary" key="unlocalizedProperties">
178-
<bool key="EncodedWithXMLCoder">YES</bool>
179-
<reference key="dict.sortedKeys" ref="0"/>
180-
<reference key="dict.values" ref="0"/>
181-
</object>
182-
<nil key="activeLocalization"/>
183-
<object class="NSMutableDictionary" key="localizations">
184-
<bool key="EncodedWithXMLCoder">YES</bool>
185-
<reference key="dict.sortedKeys" ref="0"/>
186-
<reference key="dict.values" ref="0"/>
187-
</object>
188-
<nil key="sourceID"/>
189-
<int key="maxID">18</int>
190-
</object>
191-
<object class="IBClassDescriber" key="IBDocument.Classes"/>
192-
<int key="IBDocument.localizationMode">0</int>
193-
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
194-
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
195-
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
196-
<real value="1296" key="NS.object.0"/>
197-
</object>
198-
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
199-
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
200-
<integer value="3100" key="NS.object.0"/>
201-
</object>
202-
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
203-
<int key="IBDocument.defaultPropertyAccessControl">3</int>
204-
<string key="IBCocoaTouchPluginVersion">1181</string>
205-
</data>
206-
</archive>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" colorMatched="YES">
3+
<dependencies>
4+
<deployment identifier="iOS"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13173"/>
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="TodoListViewController">
10+
<connections>
11+
<outlet property="tableView" destination="8" id="17"/>
12+
<outlet property="view" destination="6" id="18"/>
13+
</connections>
14+
</placeholder>
15+
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
16+
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="6">
17+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
18+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
19+
<subviews>
20+
<tableView opaque="NO" clipsSubviews="YES" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" bouncesZoom="NO" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="8">
21+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
22+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
23+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
24+
<connections>
25+
<outlet property="dataSource" destination="-1" id="15"/>
26+
<outlet property="delegate" destination="-1" id="16"/>
27+
</connections>
28+
</tableView>
29+
</subviews>
30+
<color key="backgroundColor" red="0.75" green="0.75" blue="0.75" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
31+
</view>
32+
</objects>
33+
</document>

Examples/TodoList/MainWindow.xib

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="4514" systemVersion="13A603" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" colorMatched="YES">
3+
<device id="retina4_7" orientation="portrait">
4+
<adaptation id="fullscreen"/>
5+
</device>
36
<dependencies>
4-
<deployment defaultVersion="1072" identifier="iOS"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3746"/>
7+
<deployment identifier="iOS"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13173"/>
9+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
610
</dependencies>
711
<objects>
812
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="UIApplication">
@@ -19,12 +23,8 @@
1923
</customObject>
2024
<navigationController id="15">
2125
<extendedEdge key="edgesForExtendedLayout"/>
22-
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
23-
<nil key="simulatedTopBarMetrics"/>
24-
<nil key="simulatedBottomBarMetrics"/>
25-
<simulatedOrientationMetrics key="simulatedOrientationMetrics"/>
26-
<nil key="simulatedDestinationMetrics"/>
2726
<navigationBar key="navigationBar" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" id="17">
27+
<rect key="frame" x="0.0" y="20" width="375" height="44"/>
2828
<autoresizingMask key="autoresizingMask"/>
2929
</navigationBar>
3030
<viewControllers>
@@ -42,22 +42,16 @@
4242
</connections>
4343
</barButtonItem>
4444
</navigationItem>
45-
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
46-
<nil key="simulatedTopBarMetrics"/>
47-
<nil key="simulatedBottomBarMetrics"/>
48-
<simulatedOrientationMetrics key="simulatedOrientationMetrics"/>
49-
<nil key="simulatedDestinationMetrics"/>
5045
</viewController>
5146
</viewControllers>
5247
</navigationController>
53-
<window opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" resizesToFullScreen="NO" id="12">
54-
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
48+
<window opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" visibleAtLaunch="YES" id="12">
49+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
5550
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
56-
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
57-
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
51+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
5852
<connections>
5953
<outlet property="rootViewController" destination="15" id="tcj-lg-LYa"/>
6054
</connections>
6155
</window>
6256
</objects>
63-
</document>
57+
</document>

Examples/TodoList/TodoList-Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<key>CFBundleIconFile</key>
1212
<string></string>
1313
<key>CFBundleIdentifier</key>
14-
<string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
14+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1515
<key>CFBundleInfoDictionaryVersion</key>
1616
<string>6.0</string>
1717
<key>CFBundleName</key>

0 commit comments

Comments
 (0)