Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 64 lines (35 sloc) 2.909 kb
b4d58b8 @mschoch Updated references from "Couchbase User" to "Couchbase Templates"
authored
1 ### iOS Couchbase Templates
206d170 @mschoch added documentation
authored
2
b4d58b8 @mschoch Updated references from "Couchbase User" to "Couchbase Templates"
authored
3 iOS Couchbase Templates is the place to start for anyone interested in embedding Apache CouchDB into their iOS application.
206d170 @mschoch added documentation
authored
4
5 ### Getting Started
6
b4d58b8 @mschoch Updated references from "Couchbase User" to "Couchbase Templates"
authored
7 ##### Get a copy of iOS Couchbase Templates
206d170 @mschoch added documentation
authored
8
ba02d79 @jchris move readme images to couchbaselabs repo
jchris authored
9 git clone git://github.com/couchbaselabs/iOS-Couchbase-Templates.git
206d170 @mschoch added documentation
authored
10
11 ##### Installing the Xcode Project Templates
12
5244827 @mschoch updating references to images with new URL
authored
13 cd iOS-Couchbase-Templates/
ba02d79 @jchris move readme images to couchbaselabs repo
jchris authored
14 open CouchbaseTemplates.xcworkspace/
206d170 @mschoch added documentation
authored
15
ba02d79 @jchris move readme images to couchbaselabs repo
jchris authored
16 <img src="https://github.com/couchbaselabs/iOS-Couchbase-Templates/raw/master/doc/resources/001.png" width="400"/>
206d170 @mschoch added documentation
authored
17
0b829b4 @mschoch tweaked layout
authored
18 * Select "Download Couchbase" from the Scheme popup
19 * Click the Run button, this will download a recent version of the Couchbase binaries suitable for embedding in an iOS application
20 * Select "Install Xcode Project Templates" from the Scheme popup
21 * Click the Run button, at this point you should now have Couchbase Project Templates installed in your ~/Library/Developer/Xcode/Templates folder
206d170 @mschoch added documentation
authored
22
ba02d79 @jchris move readme images to couchbaselabs repo
jchris authored
23 <img src="https://github.com/couchbaselabs/iOS-Couchbase-Templates/raw/master/doc/resources/002.png" width="400"/>
206d170 @mschoch added documentation
authored
24
25 ##### Starting a New Project using a Couchbase Template
26
d20dac5 @mschoch layout
authored
27 * Select File > New > New Project... (⇧ ⌘ N)
206d170 @mschoch added documentation
authored
28
ba02d79 @jchris move readme images to couchbaselabs repo
jchris authored
29 <img src="https://github.com/couchbaselabs/iOS-Couchbase-Templates/raw/master/doc/resources/003.png" width="400"/>
206d170 @mschoch added documentation
authored
30
0b829b4 @mschoch tweaked layout
authored
31 * Select Couchbase Navigation-based Application and press the Next button
206d170 @mschoch added documentation
authored
32
ba02d79 @jchris move readme images to couchbaselabs repo
jchris authored
33 <img src="https://github.com/couchbaselabs/iOS-Couchbase-Templates/raw/master/doc/resources/004.png" width="400"/>
206d170 @mschoch added documentation
authored
34
0b829b4 @mschoch tweaked layout
authored
35 * Provide a Product Name and press the Next button
206d170 @mschoch added documentation
authored
36
ba02d79 @jchris move readme images to couchbaselabs repo
jchris authored
37 <img src="https://github.com/couchbaselabs/iOS-Couchbase-Templates/raw/master/doc/resources/005.png" width="400"/>
206d170 @mschoch added documentation
authored
38
0b829b4 @mschoch tweaked layout
authored
39 * Provide a location for Xcode to save the new project and press the Create button
206d170 @mschoch added documentation
authored
40
ba02d79 @jchris move readme images to couchbaselabs repo
jchris authored
41 <img src="https://github.com/couchbaselabs/iOS-Couchbase-Templates/raw/master/doc/resources/006.png" width="400"/>
206d170 @mschoch added documentation
authored
42
0b829b4 @mschoch tweaked layout
authored
43 * You should now have a new project created that looks like the image above.
44 * Select "Your Application - iPhone Simulator" from the Scheme popup
45 * Press the Run button
206d170 @mschoch added documentation
authored
46
ba02d79 @jchris move readme images to couchbaselabs repo
jchris authored
47 <img src="https://github.com/couchbaselabs/iOS-Couchbase-Templates/raw/master/doc/resources/007.png" width="400"/>
206d170 @mschoch added documentation
authored
48
0b829b4 @mschoch tweaked layout
authored
49 * You should now see the same basic iPhone screen as you get with the Navigation Application template.
206d170 @mschoch added documentation
authored
50
ba02d79 @jchris move readme images to couchbaselabs repo
jchris authored
51 <img src="https://github.com/couchbaselabs/iOS-Couchbase-Templates/raw/master/doc/resources/008.png" width="400"/>
206d170 @mschoch added documentation
authored
52
0b829b4 @mschoch tweaked layout
authored
53 * And in the Xcode console you should see a message indicating the URL that CouchDB is accessible at and a message that "Couch is ready!"
206d170 @mschoch added documentation
authored
54
55 ### Next Steps
56
0b829b4 @mschoch tweaked layout
authored
57 To see whats possible and get ideas for how to further integrate your application with CouchDB we suggest you look at the following applications:
206d170 @mschoch added documentation
authored
58
0b829b4 @mschoch tweaked layout
authored
59 Mobile Couchbase Demo.app - https://github.com/couchbaselabs/iOS-Couchbase/tree/master/Demo
d8867d5 @mschoch fixed html
authored
60
0b829b4 @mschoch tweaked layout
authored
61 OnTheSpot - https://github.com/couchbaselabs/OnTheSpot
206d170 @mschoch added documentation
authored
62
0b829b4 @mschoch tweaked layout
authored
63 Also, if you'd like to use an Objective-C library to access CouchDB, consider Trundle - https://github.com/schwa/trundle
Something went wrong with that request. Please try again.