PDA

View Full Version : Simple & Current Tutorials anywhere?




vegasj76
Sep 20, 2009, 02:59 AM
I just started learning (or trying to). The problem is, I can't find any tutorials online that are current, so I get errors when trying to duplicate the apps in the tutorial.

I would love to find something as simple as an app that shows an empty label that changes to "Hello World!" when a button is pressed. All I find out there are people dragging controls around in Interface Builder and not coding or connecting a controller (which is where I am really struggling right now).

Any links to samples or tutorials would be greatly appreciated.



gr8tfly
Sep 20, 2009, 03:22 AM
Go to the iPhone OS Reference Library and search on "button tutorial". I think that's what you're looking for.

dejo
Sep 20, 2009, 02:18 PM
Most tutorials are simple enough that they should still work using the current tools. Some API methods may have been deprecated but many are still usable, just not guaranteed to be supported in the future.

But it sounds like you are wanting to find tutorials that avoid use of Interface Builder. Those will probably be much more difficult to find. So, perhaps you could elaborate on why you are averse to using it.

Kingbombs
Sep 20, 2009, 04:08 PM
All I find out there are people dragging controls around in Interface Builder and not coding or connecting a controller (which is where I am really struggling right now).

well to conect an outlet if that is your problem
pressed control and click and drag from file Owner (in your IB main window) to the label and then when you let go it should pop up with "view" and "outlet, you declared" with it saying the name of the outlet

most tutorials will work now (don't often find tutorials that don't work really)

if they import anything from frameworks make sure you do that (but for hello world i doubt you are, or you shouldn't be)

xStep
Sep 21, 2009, 02:43 AM
Search the iTunes store for the free and recent Stanford iPhone Programming course.

Kyle.B
Sep 21, 2009, 07:54 PM
Search the iTunes store for the free and recent Stanford iPhone Programming course.

The Stanford class is very helpful when it comes to learning how to develop iPhone Applications -- here is a link to the course website: http://www.stanford.edu/class/cs193p/cgi-bin/index.php

Also another good place to find information on beginning iPhone development is iphonesdkarticles.com (http://www.iphonesdkarticles.com/2008/07/first-iphone-application.html).

Good luck!

braves4life
Sep 21, 2009, 08:25 PM
I would not suggest the Stanford Iphone Class because it assumes that you have experience in C.

Kingbombs
Sep 22, 2009, 03:50 AM
I'm curious, what tutorials were you doing that wouldn't work?

Jeremy1026
Sep 22, 2009, 09:06 AM
www.mycodeteacher.com has some good tutorials. They have Objective-C and PHP tutorials, but there is a monthly fee to access them.

Darkroom
Sep 22, 2009, 06:25 PM
personally, i found that published books are far more useful and engaging than online tutorials. your very own developer's library is an invaluable resource.

if you are interested, 4 books come to mind, from start to finish:

1. Absolute Beginner's Guide To C (http://www.amazon.com/Absolute-Beginners-Guide-C-2nd/dp/0672305100/ref=sr_1_1?ie=UTF8&s=books&qid=1253658125&sr=8-1) (1994)
2. Programming in Objective C 2.0 (http://www.amazon.com/Programming-Objective-C-2-0-Stephen-Kochan/dp/0321566157/ref=sr_1_1?ie=UTF8&s=books&qid=1253658150&sr=1-1) (2009)
3. Beginning iPhone 3 Development (http://www.amazon.com/Beginning-iPhone-Development-Exploring-SDK/dp/1430224592/ref=sr_1_1?ie=UTF8&s=books&qid=1253658181&sr=1-1) (2009)

and optionally if you want to extend this knowledge to start programming on the mac, or even know what future iPhone SKDs might include.

4. Cocoa Programming for Mac OS X (http://www.amazon.com/Cocoa-Programming-Mac-OS-3rd/dp/0321503619/ref=sr_1_1?ie=UTF8&s=books&qid=1253658254&sr=1-1) (2008)

vegasj76
Sep 25, 2009, 03:52 PM
personally, i found that published books are far more useful and engaging than online tutorials. your very own developer's library is an invaluable resource.

if you are interested, 4 books come to mind, from start to finish:

1. Absolute Beginner's Guide To C (http://www.amazon.com/Absolute-Beginners-Guide-C-2nd/dp/0672305100/ref=sr_1_1?ie=UTF8&s=books&qid=1253658125&sr=8-1) (1994)
2. Programming in Objective C 2.0 (http://www.amazon.com/Programming-Objective-C-2-0-Stephen-Kochan/dp/0321566157/ref=sr_1_1?ie=UTF8&s=books&qid=1253658150&sr=1-1) (2009)
3. Beginning iPhone 3 Development (http://www.amazon.com/Beginning-iPhone-Development-Exploring-SDK/dp/1430224592/ref=sr_1_1?ie=UTF8&s=books&qid=1253658181&sr=1-1) (2009)

and optionally if you want to extend this knowledge to start programming on the mac, or even know what future iPhone SKDs might include.

4. Cocoa Programming for Mac OS X (http://www.amazon.com/Cocoa-Programming-Mac-OS-3rd/dp/0321503619/ref=sr_1_1?ie=UTF8&s=books&qid=1253658254&sr=1-1) (2008)

I got the 3rd book and that got me where I needed. I don't recall all of the tutorial I tried but they were all using cocoa.h. I will also look into the standford tutorials you guys mentioned. Thanks!