The YAJL framework is an Objective-C wrapper around the YAJL SAX-style JSON parser.
For documentation see http://gabriel.github.com/yajl-objc/
Download and copy to docset to ~/Library/Developer/Shared/Documentation/DocSets/YAJL.docset
(You may need to restart XCode after copying the file.)
The documentation will appear within XCode:
There are two options. You can install it globally in /Library/Frameworks or with a little extra effort embed it with your project.
- Copy
YAJL.frameworkto/Library/Frameworks/ - In the target Info window, General tab:
- Add a linked library, under
Mac OS X 10.5 SDKsection, selectYAJL.framework
- Add a linked library, under
- Copy
YAJL.frameworkto your project directory (maybe in MyProject/Frameworks/.) - Add the
YAJL.framekworkfiles (from MyProject/Frameworks/) to your target. It should be visible as aLinked Frameworkin the target. - Under Build Settings, add
@loader_path/../FrameworkstoRunpath Search Paths - Add
New Build Phase|New Copy Files Build Phase.- Change the Destination to
Frameworks. - Drag
YAJL.frameworkinto the the build phase - Make sure the copy phase appears before any
Run Scriptphases
- Change the Destination to
- Add the
YAJLIOS.frameworkto your project. - Add the following frameworks to
Linked Libraries:YAJLIOS.frameworkCoreGraphics.frameworkFoundation.frameworkUIKit.framework
- Under 'Framework Search Paths' make sure the (parent) directory to YAJLIOS.framework is listed.
- Under 'Other Linker Flags' in the
Testtarget, add-ObjCand-all_load
