iPhone Development

Im trying to learn to write apps for the iPhone/Mac.

Im a procedural programmer, and have been having a hell of a time grasping the whole object oriented programming crap. I tried to jump into Java a while back, bought a book, ran through it cover to cover, did all the example programs, but still didn't get it.

Recently, I decided to give it another go, but on my Mac/iPhone. I read that the Mac and iPhone use Objective-C, which is an OOP based on C. I wouldn't consider myself I C master, hell, I wouldn't consider myself a C novice... but I know enough C to modify an existing program, and get it to still compile and run with some small new functionality.

I am a web developer - That means I use PHP, VBScript ASP, and Javascript as my main languages. These scripting languages are procedural languages. Just like C. The program executes from top to bottom, unless you tell it to go elsewhere, and when it's done going elsewhere, it comes back to that point, and continues until it reaches the bottom.

That's been my frame of mind when it comes to programming for about 15 years now. So I am having a hell of a time grasping this new-fangled OOP. But I've read like 3 books (Que, Oreilly, and one other) and think I might be beginning to understand it slightly.

Here is my first iPhone app that isn't sample code provided in one of the books:

Well, you can't read the buttons apparently, because Blogger shrank my video down really small. But the top button says: You Suck!

and the bottom button says: I Know!!

Labels: , ,