Getting Started: Difference between revisions

From iPhone Development Wiki
(tiny copyedit)
(adding info about submitting packages)
Line 51: Line 51:


Using the above code will search GitHub for all files with the extension .xm (because Theos by default creates a Tweak.xm file when creating a new tweak). The example above will result in finding tweaks that reference SBAwayController. Not all developers use the .xm file extension, but a large number do, and this will help you in finding those examples.
Using the above code will search GitHub for all files with the extension .xm (because Theos by default creates a Tweak.xm file when creating a new tweak). The example above will result in finding tweaks that reference SBAwayController. Not all developers use the .xm file extension, but a large number do, and this will help you in finding those examples.
== Publishing your package in a default repository ==
When you've completed a project (including testing), you may want to submit it to a default repository for distribution. These are your options, with links to information about submitting:
* [http://thebigboss.org/hosting-repository-cydia/submission BigBoss] (managed by [https://twitter.com/0ptimo Optimo])
* [http://modmyi.com/mmi/ ModMyi] (managed by [https://twitter.com/mmirepo Tyler])
* [http://www.macciti.com/faq.php?faq=cydia_usage MacCiti] (managed by [https://twitter.com/MacCiti MacCiti])
If you aren't sure which to pick, look up what your favorite developers use, or ask other developers for suggestions. If you have questions, email is usually the best way to get in contact with repository managers.
For questions about the Cydia Store system for paid packages, you can ask your favorite repository manager; they've helped many developers figure this out.

Revision as of 10:47, 30 August 2013

Learning C/Objective-c

Here is a list of some great resources for learning C/Objective-C and iOS programming:

Title Author Link
Programming in Objective-C Stephen G. Kochan Amazon
Objective-C Programming: The Big Nerd Ranch Guide Aaron Hillegass Amazon
Apple's Developer Page Apple Apple
The Core iOS 6 Developer's Cookbook Erica Sadun Amazon
iOS 6 Programming Cookbook Vandad Nahavandipoor Amazon
The New Boston Video Tutorials Videos by Bucky The New Boston

Setting up Theos

Follow this guide to set up your Theos environment by installing Theos, getting your headers, and creating your first project: Theos/Getting Started.

Finding example projects

Here is a list of just a few of the many open source projects that can be used as examples: Open Source Projects.

Not finding what you are looking for? Try searching through GitHub for iOS Tweaks with a simple trick, "extension:xm".

Example:

extension:xm SBAwayController

Using the above code will search GitHub for all files with the extension .xm (because Theos by default creates a Tweak.xm file when creating a new tweak). The example above will result in finding tweaks that reference SBAwayController. Not all developers use the .xm file extension, but a large number do, and this will help you in finding those examples.

Publishing your package in a default repository

When you've completed a project (including testing), you may want to submit it to a default repository for distribution. These are your options, with links to information about submitting:

If you aren't sure which to pick, look up what your favorite developers use, or ask other developers for suggestions. If you have questions, email is usually the best way to get in contact with repository managers.

For questions about the Cydia Store system for paid packages, you can ask your favorite repository manager; they've helped many developers figure this out.