~ubuntu-branches/ubuntu/saucy/sope/saucy

« back to all changes in this revision

Viewing changes to sope-json/SBJson/Installation.markdown

  • Committer: Package Import Robot
  • Author(s): Jeroen Dekkers
  • Date: 2012-05-09 15:39:17 UTC
  • Revision ID: package-import@ubuntu.com-20120509153917-nr4jlm8mktma1yv3
Tags: upstream-1.3.14
ImportĀ upstreamĀ versionĀ 1.3.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Super-simple installation
 
2
=========================
 
3
 
 
4
By *far* the simplest way to start using JSON in your iPhone, iPad, or Mac application is to simply copy all the source files (the contents of the `Classes` folder) into your own Xcode project.
 
5
 
 
6
1. In the Finder, open the `json-framework/Classes` folder and select all the files.
 
7
1. Drop-and-drop them on the **Classes** group in the **Groups & Files** menu of your Xcode project.
 
8
1. Tick the **Copy items into destination group's folder** option.
 
9
1. Use `#import "JSON.h"` in  your source files.
 
10
 
 
11
That should be it. Now create that Twitter client!
 
12
 
 
13
Upgrading
 
14
---------
 
15
 
 
16
If you're upgrading from a previous version, make sure you're deleting the old JSON classes first, moving all the files to Trash.
 
17
 
 
18
Trouble-shooting
 
19
----------------
 
20
Check to see if the answers to the [Frequently Asked Questions][faq] are of any help.
 
21
 
 
22
[faq]: http://github.com/stig/json-framework/wiki/FrequentlyAskedQuestions
 
23
 
 
24
Alternative installation instructions
 
25
=====================================
 
26
 
 
27
Copying the JSON Classes into your project isn't the *only* way to use this framework. I've created a couple of examples that link to this framework rather than copy the sources. Check them out at github:
 
28
 
 
29
* [Linking to JSON Framework on the iPhone, iPad & iPod Touch](http://github.com/stig/JsonSampleIPhone)
 
30
* [Linking to JSON Framework on the Mac](http://github.com/stig/JsonSampleMac)
 
31