There are three ways to integrate TheKitchenSync into your project:
- Use Cocoapods
- Import TheKitchenSync.xcodeproj
- Pick and choose the files you need (use -fobc-no-arc if your target uses ARC).
If you're already using Cocoapods then this will be very easy, just add pod "TheKitchenSync" to your Podfile
and type 'pod install':
If you haven't used Cocoapods before, read the installation instructions here.
If you don't care about keeping up to date, just git clone https://github.com/Cue/TheKitchenSync.git.
If you're using git 1.8, you can use git subtree for easy inclusion of the TheKitchenSync codebase:
git subtree add --prefix=path/within/repo/for/TheKitchenSync --squash \
git@github.com:Cue/TheKitchenSync.git masterLater, you can upgrade to the latest revision of TheKitchenSync with:
git subtree pull --prefix=path/within/repo/for/TheKitchenSync --squash \
git@github.com:Cue/TheKitchenSync.git masterIf you make changes and want to submit a pull request, fork TheKitchenSync, and then:
git subtree pull --prefix=path/within/repo/for/TheKitchenSync --squash \
git@github.com:YourGitUsername/TheKitchenSync.git masterand then submit your pull request from your forked repo.
Open Finder, navigate to TheKitchenSync.xcodeproj, and drag it in to your project:
should result in something like this:
Select your root project. Search for header
- Add relative or full path to
TheKitchenSync/ClassestoHeader Search Paths
For each the target you want to use TheKitchenSync with
-
Select
Build Phases -
Open the
Link Binary With Librariespanel
-
Add
libTheKitchenSync.a -
Add
libc++.dylib
- Then in your source code type:
#import "TheKitchenSync.h"
You're now ready to start using TheKitchenSync!




