Chris Risner . Com

31 Days of iOS: Day 1 - Getting Set Up for Development

Posted on: 1/1/2013 7:59:00 AM by

Apple iOSFor the first article in this series on iOS development, we’re going to talk about how you get set up for development.  Thankfully, Apple has made things very easy on new developers.  The only thing you really HAVE to do, is install Apple’s integrated development environment (IDE): XCode.  Xcode is free for installation to anyone with OSX Lion or Mountain Lion (as of writing) and can be installed from the Mac App Store.  If you haven’t picked up on things yet, you need to be running OSX in order to do any native iOS development.  If you have an older Mac sitting around, it may be powerful enough to use Xcode (provided you’re not taxing the computer in too many other ways).  Let’s get back to talking about Xcode.

Xcode

Xcode has been around since 2003 and is Apple’s IDE for developing for iOS and OSX.  Xcode supports developing in C, C++, Objective-C, Applescript, and Java (though not recommended).  Because XCode is developed by Apple (and used by Apple to develop their own iOS and OSX apps) they’ve paid a great deal of attention to the quality of the IDE.  Coming from a background where I’ve used many different IDEs, I would place Xcode far above Eclipse (used for Android among other things) and below Visual Studio (at least for some things) as far as the quality of the IDE.  The point is, it’s a pretty polished tool.  As of the 4.0 release (which if you’re just getting started now, you’ll be using an even newer version) Xcode was integrated with Interface Builder so you no longer have to use a separate app to work on the UI.  We’ll cover more of the intricacies of Xcode as we progress along with the series.  For now, let’s go ahead and get it installed.  From the dock, open up the App Store:

Opening the AppStore

With that done, enter “Xcode” into the search bar in the top right of the App Store.  The first result that comes up should be Xcode:

XCode in the App Store

Once you’ve clicked on that.  Finally, near the top left, beneath the logo you’ll see a place to install the app:

Installing Xcode

After that, follow the wizard and after a while, you’ll have Xcode installed.  The only other factor you have to consider when you’re thinking about getting set up for development, is what kind of developer program account you want to have. 

 

Apple Developer Programs

If nothing else, you should register as an Apple Developer.  This gets you access to samples, forums, WWDC videos, and many other resources.  However, if you want to put apps in the app store (for iOS or OSX) or even put an app on a device, you’ll need to take a look at the “pay-to-play” developer programs.  There are four of these programs for iOS:

 

  • iOS Developer Program for Individuals – $99 a year for one individual developer license.  This let’s you put apps into the iOS App Store.  In addition, you can install apps to any device that has it’s Device ID registered in your developer portal.  You can access this program here.
  • iOS Developer Program for Companies – $99 a year for a company with multiple developers.  This let’s you put apps in the App Store and on devices just like the above individual program.  The catch here is that your company needs to have a DUNS number.  This is a way for Apple to make sure you’re really a company and not just some guy that’s going to sell developer access to other developers.  One important thing to note is that when you have this program, all your apps are distributed under one entity in the app store.  So if you make a fart app and a serious business app, they’ll be tied together in the App Store.  You can access this program here.
  • iOS Developer Enterprise Program – $299 a year for a company with multiple developers.  This program also requires the DUNS number mentioned above.  This program is different from the ones above in that you don’t have the ability to distribute via the App Store.  Instead, this program allows you to distribute apps to employees.  Enrollment in this program opens up some options you don’t have with the above two (i.e. the device limits, testing installations, etc).  You can access this program here.
  • iOS Developer University Program – This program is the only free one and is only available to qualifying higher education institutions.  Chances are good if you’re reading this, you don’t qualify.  However, if you work for a degree granting higher education institution, you can read more about the program here.
  • Mac Developer Program – If you’re interested in distributing OSX apps in the Mac App Store, there is a individual and a company program for that as well.  You can access this program here.

When you enroll in one of these programs, you’ll tie your Apple ID to it.  You will then be able to add development devices, generate a provisioning profile, create certificates, prepare apps for distribution, and finally move them into the App Store.

 

Conclusion

Getting set up for iOS (and OSX) development is very easy.  There is only one program to install (Xcode) and it comes with all the software you need out of the box.  Joining a developer program is also relatively simple (and required if you want to put things on the App Store).  In the proceeding articles in the series we’ll start diving into Xcode and making apps. 

Categories: Apple, iOS, Mobile, Phone, XCode
Bookmark and Share
First Article

31 Days of iOS

Posted on: 1/1/2013 7:58:00 AM by

Apple iOSWelcome to 31 Days of iOS.  This series of tutorials will take readers through the basics of getting up and running with iOS development and will close with some more advanced topics to really make your apps pop. 

As entries are added, I’ll add them to a list here.  Stay tuned for all the iOS you can handle!

 

Day 1: Getting set up for developing for iOS
Day 2: An inro to Objective-C
Day 3: Creating your first iOS App
Day 4: Working with Multiple View Controllers and Storyboards
Day 5: Programmatically showing View Controllers
Day 6: The Delegate Pattern
Day 7: Making Network Requests
Day 8: Performing Posts and Setting Request Type
Day 9: Handling Text Input
Day 10: Singletons and the AppDelegate
Day 11: Saving Data using NSUserDefaults
Day 12: CoreData
Day 13: The TableView
Day 14: The UIWebView
Day 15: Connecting to Built-In Apps
Day 16: Handling Device Orientation
Day 17: Using the Debug Console
Day 18: Opening your App from a Link
Day 19: Showing the User's Location with Maps
Day 20: Displaying Info with Maps
Day 21: Using the Camera
Day 22: Using the Gallery
Day 23: Using Background Threads
Day 24: The View Life Cycle
Day 25: The Application Life Cycle
Day 26: Setting up Push Notifications
Day 27: Sending and Receiving Push Notifications
Day 28: Activity Indicators
Day 29: Advertising with iAd
Day 30: Adding Analytics to your Apps
Day 31: Submitting your App to Apple
Series Wrap-Up

Categories: Apple, iOS, Objective-C, Phone, XCode
Bookmark and Share
First Article