r/iOSProgramming • • Aug 13 '14

Starting iOS programming. Do I learn Swift or Obj-C?

I have experience in Ruby and rails and have dabbled in python if that makes any difference

1 Upvotes

11 comments sorted by

8

u/soprof Aug 13 '14

I feel like objC

4

u/wileywimberly Aug 13 '14

Start with Objective-C simply because it is stable and there is a ton of good information out there to get you started. The biggest part of development for iOS is using the frameworks. What you learn of UIKit and Foundation will still be useful when you pick up Swift later when it matures.

2

u/pink_tshirt Aug 13 '14

So I decided to go with Swift. There are some decent tuts on youtube that explain the basics of the language, its syntax and stuff, but I feel like its actually not enough create anything outside the playground. It might be a silly question but where do I go after learning Swift?

3

u/PaulSolt Aug 13 '14

Start making a clone of an existing app, that'll give you ideas of what you need to learn to do in Swift.

2

u/luigi3 Aug 13 '14

Obj-C, that's a no-brainer for me. Nevertheless, you should follow news and code samples about Swift, because that's the future. But for learning Cocoa, and that's what you should look after now, there will be no big difference what language you use. There are gazillions of books and tuts for basic iOS dev, and maybe few for Swift.

There are no choice - right now iOS dev means Obj-C and Swift combined. If you want to be a decent dev, you have to know both languages at least at pre-intermediate level.

1

u/sangedered Aug 14 '14

Objc is what will be used for at least another year or two. All libraries are going to be in objc for some time so to be proficient you should learn objc first.

1

u/TouchMint Aug 13 '14

There are a lot more resources for objective-c so it might actually be easier to learn that. Keep in mind you can use both so its not going to hurt to learn both.

1

u/ThePantsThief NSModerator Aug 13 '14

Objective-C.

1

u/FutureIsMine Aug 13 '14

To take the taps off of Swift and really get the most out of it you will need to know objective-C since Swift is just an easier way to code in Objective-C.

0

u/PaulSolt Aug 13 '14

I would start learning Swift. In about 1 month Swift will be published along with iOS 8.

There's some nice tutorials from Jameson: http://jamesonquave.com/blog/developing-ios-apps-using-swift-tutorial/

I'll be posting some tutorials on my YouTube channel in September: http://www.youtube.com/user/PaulSolt