File: Installation.markdown

package info (click to toggle)
sbjson 2.3.2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 776 kB
  • sloc: objc: 1,035; sh: 73; makefile: 10
file content (31 lines) | stat: -rw-r--r-- 1,419 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Super-simple installation
=========================

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.

1. In the Finder, open the `json-framework/Classes` folder and select all the files.
1. Drop-and-drop them on the **Classes** group in the **Groups & Files** menu of your Xcode project.
1. Tick the **Copy items into destination group's folder** option.
1. Use `#import "JSON.h"` in  your source files.

That should be it. Now create that Twitter client!

Upgrading
---------

If you're upgrading from a previous version, make sure you're deleting the old JSON classes first, moving all the files to Trash.

Trouble-shooting
----------------
Check to see if the answers to the [Frequently Asked Questions][faq] are of any help.

[faq]: http://github.com/stig/json-framework/wiki/FrequentlyAskedQuestions

Alternative installation instructions
=====================================

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:

* [Linking to JSON Framework on the iPhone, iPad & iPod Touch](http://github.com/stig/JsonSampleIPhone)
* [Linking to JSON Framework on the Mac](http://github.com/stig/JsonSampleMac)