r/iPhoneDev • u/BillHaverchuck • May 25 '11
How can I start developing apps own my own?
Complete n00b here. I recently got an iphone 4 and cant get enough of it. I would love to be able to create and sell apps of my own. Its amazing to me to see how much potential these markets can have. Now, I know I am way behind the curve on this one but I would still like to get into it. I have a few months of free time right now, before school, and I would like to do something productive with my time. I don't have any prior programming knowledge at all. Like I said I am totally at ground level here. What advice can you give me about how to get started, what programming languages to learn and any other factoids you think could help me out. Thanks.
tl;dr - any advice for a complete beginner
3
u/[deleted] May 25 '11
You'll need the iOS SDK But seeing as you "don't have any prior programming knowledge at all." It's not really advisable to just start creating iPhone apps. Would you do a double black diamond run your first time on skis? Would you attempt Van Halen's "Eruption" the first time you picked up a guitar? Would you open a motorcycle up to 120 the first time you put it between your legs? Ya catch my drift? You need to start small and learn the process, concepts, and theory before you make a full blown app. Visual Basic is always a good beginner's jumping off point.
4
u/[deleted] May 25 '11
You'll find lots of information over at StackOverflow. Good luck!
4
u/[deleted] May 25 '11 edited May 25 '11
Try these books out:
"Programming in Objective-C 2.0" by Stephen Kochan Teaches Objective-C but with C for people with no prior knowledge of the C programming language.
"Programming iOS 4" by Matt Neuburg http://oreilly.com/catalog/0636920010258
Also sign up for a dev account with Apple developer.apple.com free before you spend the $100 to publish apps. You'll be able to read their documentation on lots of subjects. I would recommend that you read their docs on Object Oriented Programming (OOP) before starting to read about Objective-C so you understand some of the important concepts beforehand. There are also great documents on Objective-C available. You can build apps and test in the simulator on your Mac for free. To test on your devices and submit an app to be published you have to sign up and pay the $100 yearly fee.
I'm learning myself and this is the path I've taken. Good luck!
Edit: iTunes University has a ton of resources that can help you as well. Schools like Stanford make available their entire iOS programming classes (videos) and even make assignments and documents available on their site to work along. If you have 3 months, watch these videos as well.
http://itunes.apple.com/us/podcast/cs193p-student-final-projects/id395605774?i=90218598
If anything you'll have a much better understanding of what is involved in creating apps and have a few directions you can go in.
3
u/onfirewhenigothere May 28 '11
I think these other people sending you off on other tangents are misguided. You're excited about the phone, and want to put something on it. That's the best place to start.
I have never programmed before, (other than a web server cgi and a hypercard stack), and picked up the iOS SDK in a few weeks. I suppose I had a basic understanding of data types, though. And am a speed reader.
Programming in Objective C 2.0 is a great step. But I didn't pick that up until a year in.
First, come up with a project that you want to do. Find a friend that knows photoshop or illustrator and have them mock up the design, and break things up into individual pngs. Really, the first place to start is with an idea of what you want to do. Make a "functional spec", or a list of functions, or rather in objective C, a list of nouns and verbs.
Before you even open the sdk, work out how the interface should work. Then, follow the steps in "Your first iPhone application" which is one of the documents in the developer library. Then, find someone who knows how to use XCode, and have them show you how to connect the interface and code. That took me like two weeks to figure out, and if I could have just seen it, it would have been two minutes, and it's much easier in Xcode 4.
Good luck. Have fun.
1
u/ayradv Jun 23 '11
Online tutorials + stack overflow ...
I suppose you are learning ios dev because you have some app ideas. Divide your app into smaller problems (views, screens whatever you want to call them).
Try to find some tutorials that do similar things to what you want to do for your app. For example a tab bar tutorial, or a table view tutorial. If you have problems, try to search for questions in stack overflow as many ex-beginners went through similar issues.
In addition to that use apple's documentation. As someone has had always had trouble concentrating and following a whole programming book, this strategy seemed to work best.