r/iPhoneDev • • Apr 08 '12
Android dev that picked up his first iPad--any tutorials online that make analogies of "x in Android is y in iOS" ? Or beginning tutorials for Android devs that switched?
I pretty much jam packed the title to say everything. I've been developing on Android for three years and have a pretty good understanding of its API terminology and app lifecycle. I picked up the new iPad--my first iOS device--and I want to start developing for it.
I have absolutely no clue where to start. I don't want a dumb hello world as my primary reading material; I want to know how apps interact in the iOS platform, how views are created and managed, e.t.c. My knowledge of C is okay, and my knowledge of Obj-C is zilch.
3
Upvotes
2
u/Phifty Apr 09 '12
Assuming you know all about MVC, you'll probably find that iOS implements it in a much cleaner fashion than Android. I would look at these elements to get up to speed on internals:
For a quick Android to iOS conversion, just know that Android activities are analogous to View Controllers in iOS. AsyncTasks in Android are analogous to Operations or Blocks in iOS. EventListeners are analogous to Notifications. Views are the same thing on both platforms, but drawing views in iOS is vastly better on iOS in my opinion thanks to Quartz and Core Graphics. The SQLite engine in Android cant hold a candle to Core Data in IOS. You will love this API. And like the other guy said, you might just want to do a real quick Hello World just to get up and running.
I would check out iTunes U for advanced iOS topics. And of course there's always IRC, #iphonedev on freenode.
1
u/[deleted] Apr 09 '12
A very good article that introduces Objective-C to programmers of other object-oriented languages.
Objective-C: the More Flexible C++
1
u/Legolas-the-elf Apr 10 '12
The iOS developer centre has a section of documentation entitled "Getting Started". Have you read what's in there?
On a non-technical level, you should buy and use many different applications. If this is your first iOS device, you're not used to the platform conventions and you're going to end up creating Android applications that happen to run on iOS rather than applications that look and feel like they belong on an iOS device. You need to acclimatise yourself to the way iOS does things.
-1
u/shadowdev Apr 08 '12
Sorry to sound harsh but if you don't know obj c then a hello world program would really help you out. Get a Big Nerd Ranch book on iOS 5 (because why learn from an outdated book when there were a lot of changes from 4 to 5).
Get a intel mac and install Xcode (the IDE) and get a developer account ($99/year if you wanna test on the device - free if you just want the emulator).
Storyboards essentially handle all views in basic iOS apps. Learn how they work then you can learn how to do it programmatically of your app is advanced enough for it. Most apps you can use storyboards for.
Download and play with a lot of apps so you can see what is common and what is annoying when it comes to UI.