This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
manual:setting_up_xcode [2013/12/23 19:17] – daniel | manual:setting_up_xcode [2014/01/24 11:42] (current) – [Integrate the API Documentation] daniel | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Setting up Xcode ===== | ||
+ | |||
+ | Before creating a project of your own, you have to make some preparations in Xcode. | ||
+ | |||
+ | <note info> | ||
+ | You need at least Xcode 4.0 to work with Sparrow 2.0. | ||
+ | </ | ||
+ | |||
+ | ==== Create a Source Tree variable ==== | ||
+ | |||
+ | Sparrow is linked to your application via Xcode project references. This has the advantage that it’s easy to update Sparrow (just download a new release and overwrite the old one in the same directory) and that you can easily step into Sparrow source code, in case you want to do so. | ||
+ | |||
+ | Add a " | ||
+ | |||
+ | * In Xcode Preferences > " | ||
+ | * Use '' | ||
+ | * Be careful: Xcode does not allow the path to contain any spaces! | ||
+ | |||
+ | ==== Integrate the API Documentation ==== | ||
+ | |||
+ | Xcode allows to integrate third party API reference documentation. That way, you will get information about Sparrow' | ||
+ | |||
+ | <note info> | ||
+ | You can get information about Sparrow classes and methods with the //Alt single-click on symbol// shortcut. | ||
+ | </ | ||
+ | |||
+ | The steps required to get access to the docset depend on your Xcode version. The Sparrow docset can be found here: | ||
+ | |||
+ | http:// | ||
+ | |||
+ | To install this docset, | ||
+ | |||
+ | * **Xcode 4:** open up the Xcode preferences and enter the Documentation tab. Add the link provided above as a " | ||
+ | * **Xcode 5:** use the free [[http:// | ||
+ | |||
+ | ----- | ||
+ | |||
+ | Next section: [[Project Setup]] | ||