Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.15 KB

INSTALL.md

File metadata and controls

34 lines (23 loc) · 1.15 KB

Installation

The simplest way to start using JSON in your application is to copy all the source files (the contents of the Classes folder) into your own Xcode project.

  1. In the Finder, navigate to the distribution's folder
  2. Navigate into the Classes folder.
  3. Select all the files and drag-and-drop them into your Xcode project.
  4. Tick the Copy items into destination group's folder option.
  5. Use #import "SBJson.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 SBJson classes first, moving all the files to Trash.

Linking rather than copying

Copying the SBJson classes into your project isn't the only way to use this framework. With Xcode 4's workspaces it has become much simpler to link to dependant projects. The examples in the distribution link to the iOS library and Mac framework, respectively. Des Hartman wrote a blog post with step-by-step instructions for iOS.