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.
- In the Finder, open the
json-framework/Classes
folder and select all the files. - Drop-and-drop them on the Classes group in the Groups & Files menu of your Xcode project.
- Tick the Copy items into destination group's folder option.
- Use
#import "JSON.h"
in your source files.
That should be it. Now create that Twitter client!
If you're upgrading from a previous version, make sure you're deleting the old JSON classes first, moving all the files to Trash.
Check to see if the answers to the Frequently Asked Questions are of any help.
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: