Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed screen background. Added 'build number' field.

  • Loading branch information...
commit 6deca88185d4d3b1f75c60be69ffc33d203ab16b 1 parent bfd1bd4
@snej snej authored
View
2  CouchDemo.xcodeproj/project.pbxproj
@@ -364,7 +364,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
- "PROVISIONING_PROFILE[sdk=iphoneos*]" = "D6786F80-ABAF-4CCF-B8EB-33C3D7F81AB1";
+ "PROVISIONING_PROFILE[sdk=iphoneos*]" = "0EEF46DF-9D93-4ED4-A25A-584E1CCE619A";
SDKROOT = iphoneos;
WARNING_CFLAGS = "-Wall";
};
View
BIN  Resources/App Store assets/iPad screen shot 1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Resources/App Store assets/iPad screen shot 2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Resources/App Store assets/iPhone screen shot 1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Resources/App Store assets/iPhone screen shot 2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Resources/App Store assets/icon-512x512.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
4 Resources/CouchDemo-Info.plist
@@ -45,10 +45,12 @@
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
<key>CFBundleSignature</key>
<string>codm</string>
<key>CFBundleVersion</key>
- <string>1.0</string>
+ <string>101</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSMainNibFile</key>
View
87 Resources/RootViewController.xib
@@ -2,13 +2,13 @@
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1280</int>
- <string key="IBDocument.SystemVersion">11A511</string>
- <string key="IBDocument.InterfaceBuilderVersion">1900</string>
+ <string key="IBDocument.SystemVersion">11B26</string>
+ <string key="IBDocument.InterfaceBuilderVersion">1934</string>
<string key="IBDocument.AppKitVersion">1138</string>
<string key="IBDocument.HIToolboxVersion">566.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string key="NS.object.0">894</string>
+ <string key="NS.object.0">931</string>
</object>
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -56,7 +56,7 @@
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<object class="NSCustomResource" key="IBUIImage">
<string key="NSClassName">NSImage</string>
- <string key="NSResourceName">background.png</string>
+ <string key="NSResourceName">background.jpg</string>
</object>
</object>
<object class="IBUITableView" id="628516461">
@@ -237,14 +237,6 @@ AAgACAAIAAEAAQABAAE</bytes>
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">delegate</string>
- <reference key="source" ref="628516461"/>
- <reference key="destination" ref="841351856"/>
- </object>
- <int key="connectionID">9</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">tableView</string>
<reference key="source" ref="841351856"/>
<reference key="destination" ref="628516461"/>
@@ -277,11 +269,19 @@ AAgACAAIAAEAAQABAAE</bytes>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">dataSource</string>
+ <reference key="source" ref="841351856"/>
+ <reference key="destination" ref="910747092"/>
+ </object>
+ <int key="connectionID">25</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">delegate</string>
- <reference key="source" ref="19849907"/>
+ <reference key="source" ref="628516461"/>
<reference key="destination" ref="841351856"/>
</object>
- <int key="connectionID">21</int>
+ <int key="connectionID">9</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
@@ -293,19 +293,19 @@ AAgACAAIAAEAAQABAAE</bytes>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">tableView</string>
- <reference key="source" ref="910747092"/>
- <reference key="destination" ref="628516461"/>
+ <string key="label">delegate</string>
+ <reference key="source" ref="19849907"/>
+ <reference key="destination" ref="841351856"/>
</object>
- <int key="connectionID">24</int>
+ <int key="connectionID">21</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">dataSource</string>
- <reference key="source" ref="841351856"/>
- <reference key="destination" ref="910747092"/>
+ <string key="label">tableView</string>
+ <reference key="source" ref="910747092"/>
+ <reference key="destination" ref="628516461"/>
</object>
- <int key="connectionID">25</int>
+ <int key="connectionID">24</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
@@ -451,6 +451,38 @@ AAgACAAIAAEAAQABAAE</bytes>
<object class="IBPartialClassDescription">
<string key="className">RootViewController</string>
<string key="superclassName">UIViewController</string>
+ <object class="NSMutableDictionary" key="actions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>configureSync:</string>
+ <string>deleteCheckedItems:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>id</string>
+ <string>id</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="actionInfosByName">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>configureSync:</string>
+ <string>deleteCheckedItems:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBActionInfo">
+ <string key="name">configureSync:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">deleteCheckedItems:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </object>
+ </object>
<object class="NSMutableDictionary" key="outlets">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
@@ -458,6 +490,7 @@ AAgACAAIAAEAAQABAAE</bytes>
<string>addItemBackground</string>
<string>addItemTextField</string>
<string>dataSource</string>
+ <string>progress</string>
<string>tableView</string>
</object>
<object class="NSMutableArray" key="dict.values">
@@ -465,6 +498,7 @@ AAgACAAIAAEAAQABAAE</bytes>
<string>UIImageView</string>
<string>UITextField</string>
<string>CouchUITableSource</string>
+ <string>UIProgressView</string>
<string>UITableView</string>
</object>
</object>
@@ -475,6 +509,7 @@ AAgACAAIAAEAAQABAAE</bytes>
<string>addItemBackground</string>
<string>addItemTextField</string>
<string>dataSource</string>
+ <string>progress</string>
<string>tableView</string>
</object>
<object class="NSMutableArray" key="dict.values">
@@ -492,6 +527,10 @@ AAgACAAIAAEAAQABAAE</bytes>
<string key="candidateClassName">CouchUITableSource</string>
</object>
<object class="IBToOneOutletInfo">
+ <string key="name">progress</string>
+ <string key="candidateClassName">UIProgressView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
<string key="name">tableView</string>
<string key="candidateClassName">UITableView</string>
</object>
@@ -520,7 +559,7 @@ AAgACAAIAAEAAQABAAE</bytes>
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
- <string>background.png</string>
+ <string>background.jpg</string>
<string>textfield___inactive.png</string>
</object>
<object class="NSMutableArray" key="dict.values">
@@ -529,6 +568,6 @@ AAgACAAIAAEAAQABAAE</bytes>
<string>{300, 43}</string>
</object>
</object>
- <string key="IBCocoaTouchPluginVersion">894</string>
+ <string key="IBCocoaTouchPluginVersion">931</string>
</data>
</archive>
View
241 Resources/addNewItem.xib
@@ -1,241 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
- <data>
- <int key="IBDocument.SystemTarget">1280</int>
- <string key="IBDocument.SystemVersion">10K540</string>
- <string key="IBDocument.InterfaceBuilderVersion">1900</string>
- <string key="IBDocument.AppKitVersion">1038.36</string>
- <string key="IBDocument.HIToolboxVersion">461.00</string>
- <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
- <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string key="NS.object.0">894</string>
- </object>
- <object class="NSArray" key="IBDocument.IntegratedClassDependencies">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>IBUITableViewCell</string>
- <string>IBUIImageView</string>
- <string>IBUITextField</string>
- <string>IBProxyObject</string>
- </object>
- <object class="NSArray" key="IBDocument.PluginDependencies">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- </object>
- <object class="NSMutableDictionary" key="IBDocument.Metadata">
- <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
- <integer value="1" key="NS.object.0"/>
- </object>
- <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <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="IBUITableViewCell" id="869125108">
- <reference key="NSNextResponder"/>
- <int key="NSvFlags">292</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBUIView" id="112903963">
- <reference key="NSNextResponder" ref="869125108"/>
- <int key="NSvFlags">256</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBUIImageView" id="495232960">
- <reference key="NSNextResponder" ref="112903963"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrameSize">{300, 43}</string>
- <reference key="NSSuperview" ref="112903963"/>
- <reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="1005612816"/>
- <bool key="IBUIOpaque">NO</bool>
- <bool key="IBUIClipsSubviews">YES</bool>
- <int key="IBUIContentMode">4</int>
- <bool key="IBUIMultipleTouchEnabled">YES</bool>
- <int key="IBUITag">2</int>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- <object class="NSCustomResource" key="IBUIImage">
- <string key="NSClassName">NSImage</string>
- <string key="NSResourceName">textfield___inactive.png</string>
- </object>
- </object>
- <object class="IBUITextField" id="1005612816">
- <reference key="NSNextResponder" ref="112903963"/>
- <int key="NSvFlags">292</int>
- <string key="NSFrame">{{5, 6}, {287, 31}}</string>
- <reference key="NSSuperview" ref="112903963"/>
- <reference key="NSWindow"/>
- <reference key="NSNextKeyView"/>
- <bool key="IBUIOpaque">NO</bool>
- <bool key="IBUIClipsSubviews">YES</bool>
- <int key="IBUITag">1</int>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- <int key="IBUIContentVerticalAlignment">0</int>
- <string key="IBUIText"/>
- <string key="IBUIPlaceholder">Add Item</string>
- <object class="NSColor" key="IBUITextColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MAA</bytes>
- <object class="NSColorSpace" key="NSCustomColorSpace">
- <int key="NSID">2</int>
- </object>
- </object>
- <bool key="IBUIAdjustsFontSizeToFit">YES</bool>
- <float key="IBUIMinimumFontSize">10</float>
- <object class="IBUITextInputTraits" key="IBUITextInputTraits">
- <int key="IBUIReturnKeyType">9</int>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- <object class="IBUIFontDescription" key="IBUIFontDescription">
- <string key="name">HelveticaNeue-Medium</string>
- <string key="family">Helvetica Neue</string>
- <int key="traits">0</int>
- <double key="pointSize">18</double>
- </object>
- <object class="NSFont" key="IBUIFont">
- <string key="NSName">HelveticaNeue-Medium</string>
- <double key="NSSize">18</double>
- <int key="NSfFlags">16</int>
- </object>
- </object>
- </object>
- <string key="NSFrame">{{1, 0}, {298, 42}}</string>
- <reference key="NSSuperview" ref="869125108"/>
- <reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="495232960"/>
- <object class="NSColor" key="IBUIBackgroundColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MCAwAA</bytes>
- </object>
- <bool key="IBUIOpaque">NO</bool>
- <bool key="IBUIClipsSubviews">YES</bool>
- <int key="IBUIContentMode">4</int>
- <bool key="IBUIMultipleTouchEnabled">YES</bool>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- </object>
- </object>
- <string key="NSFrameSize">{300, 43}</string>
- <reference key="NSSuperview"/>
- <reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="112903963"/>
- <object class="NSColor" key="IBUIBackgroundColor">
- <int key="NSColorSpace">1</int>
- <bytes key="NSRGB">MSAxIDEAA</bytes>
- </object>
- <float key="IBUIAlpha">0.0</float>
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
- <reference key="IBUIContentView" ref="112903963"/>
- <object class="IBUIFontDescription" key="IBUIFontDescription">
- <int key="type">1</int>
- <int key="size">4</int>
- </object>
- <object class="NSFont" key="IBUIFont">
- <string key="NSName">Helvetica</string>
- <double key="NSSize">14</double>
- <int key="NSfFlags">16</int>
- </object>
- </object>
- </object>
- <object class="IBObjectContainer" key="IBDocument.Objects">
- <object class="NSMutableArray" key="connectionRecords">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <object class="IBMutableOrderedSet" key="objectRecords">
- <object class="NSArray" key="orderedObjects">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBObjectRecord">
- <int key="objectID">0</int>
- <object class="NSArray" key="object" id="0">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <reference key="children" ref="1000"/>
- <nil key="parent"/>
- </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">3</int>
- <reference key="object" ref="869125108"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="495232960"/>
- <reference ref="1005612816"/>
- </object>
- <reference key="parent" ref="0"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">4</int>
- <reference key="object" ref="495232960"/>
- <reference key="parent" ref="869125108"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">5</int>
- <reference key="object" ref="1005612816"/>
- <reference key="parent" ref="869125108"/>
- </object>
- </object>
- </object>
- <object class="NSMutableDictionary" key="flattenedProperties">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>-1.IBPluginDependency</string>
- <string>-2.CustomClassName</string>
- <string>-2.IBPluginDependency</string>
- <string>3.IBPluginDependency</string>
- <string>4.IBPluginDependency</string>
- <string>5.IBPluginDependency</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string>UIResponder</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- </object>
- </object>
- <object class="NSMutableDictionary" key="unlocalizedProperties">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference key="dict.sortedKeys" ref="0"/>
- <reference key="dict.values" ref="0"/>
- </object>
- <nil key="activeLocalization"/>
- <object class="NSMutableDictionary" key="localizations">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference key="dict.sortedKeys" ref="0"/>
- <reference key="dict.values" ref="0"/>
- </object>
- <nil key="sourceID"/>
- <int key="maxID">5</int>
- </object>
- <object class="IBClassDescriber" key="IBDocument.Classes"/>
- <int key="IBDocument.localizationMode">0</int>
- <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
- <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
- <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
- <integer value="3100" key="NS.object.0"/>
- </object>
- <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
- <int key="IBDocument.defaultPropertyAccessControl">3</int>
- <object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
- <string key="NS.key.0">textfield___inactive.png</string>
- <string key="NS.object.0">{300, 43}</string>
- </object>
- <string key="IBCocoaTouchPluginVersion">894</string>
- </data>
-</archive>
View
3  Source/RootViewController.m
@@ -297,6 +297,7 @@ - (void)updateSyncURL {
- (void) startSync {
if (remoteSyncURL && !_pull) {
+ NSLog(@"Starting sync with %@", remoteSyncURL);
_pull = [[database pullFromDatabaseAtURL: remoteSyncURL
options: kCouchReplicationContinuous] retain];
[_pull addObserver: self forKeyPath: @"status" options: 0 context: NULL];
@@ -310,6 +311,8 @@ - (void) startSync {
- (void) stopSync {
+ if (_pull || _push)
+ NSLog(@"Stopping sync");
[_pull removeObserver: self forKeyPath: @"status"];
[_pull stop];
[_pull release];
Please sign in to comment.
Something went wrong with that request. Please try again.