Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Should I do the "iOS Development with Objective-C" track? I've completed the iOS with Swift track.

I'm fairly new to programming and made it through the iOS with Swift track in a couple of weeks with little trouble. The Playlist Browser and Weather apps in the track were developed with Swift and so I'm wondering if I should take the iOS Development with Objective-C track as well. I'm thinking that time would be better spent watching and taking further Swift courses i.e. Lynda, Udemy, YouTube and actually building Swift apps.

Is it a case of what do I want to develop for? If it's only iPhone stick with Swift? If it's mobile plus other applications take the Objective-C track?

Thanks

4 Answers

Obj-C is pretty much iOS-specific, I think.

There's merit in understanding it as existing apps will need updating and amending so it is useful to know your way around an Obj-C app. Swift will slowly replace it, though.

Learn as much as you can in as many different languages as you can - there's no wasted time. Just stick at it.

Thanks Steve. That's true it's not a waste of time but it could be allocated better. I'm wondering in my own specific case if it merits studying it. You said existing apps will need updating but they won't be my apps and I don't think I'll be working for anyone developing applications in Obj-C so maybe it depends on an individual's situation? Even now YouTube is packed with videos creating amazing utilities and games using Swift + engine. I'm thinking it might be better for me just to spend that same time I'd be spending on Obj-C and start doing projects based off tutorials from YouTube and other tutorial producers that focus on app making projects. I think the transition from Obj-C to Swift is coming incredibly fast. But what do I know, I'm a noob.

I think that Objective-C is something that should be learned, as it could be helpful when making apps that might require both languages.

Hi Caleb. Ok, so going with that, what kind of apps would be based on both languages vs just a Swift only app? Do you think iOS apps will eventually be 100% Swift? It's looking that way.

EDIT: Found this Treehouse article from last year. It seems it's sort of like I was thinking. If you're independent you might be all Swift. If you want to work at a company then Obj-C would probably be good. But even the article says, "rewrites of existing apps might not be that prevalent".

I’m in the midst of learning Objective-C, should I switch to Swift? That all depends. If you are learning iOS development as a hobby or out of curiosity then drop Objective-C and switch to Swift. Are you pursuing iOS Development as a career? If so, then there are at least 1 million apps out there written in Objective-C. Swift just got released in June 2014 so chances are that your future employer’s apps will be written in Objective-C. It is essential that you learn Objective-C to get a job as an iOS Developer until Swift becomes a standard, which will take a few years. Until then it would benefit you to learn both the languages. Your future employer might even task you with converting their existing Objective-C app into Swift. Although I would take that notion with a grain of salt because the most important part of an app is its functionality and not the language it is written in. Which means that rewrites of existing apps might not be that prevalent.

http://blog.teamtreehouse.com/learning-swift-vs-objective-c

Hi Tymac,

first, multiple languages; awhile back a treehouse student posted on the forums that he had built an app that would allow you to see the code for a website on a mobile device, he ended up using both languages because either it required it or it just made it easier to make the app, I forget which. I would have posted the link to the post but it is almost impossible to find with it being a few months old.

Second, here comes swift; yes, I do believe that swift will eventually completely replace objective-c, although I'm not sure on how fast it will happen.

Third, freelancing; I know this does not answer any question that you have, but if you are looking in to freelancing (starting your own business) then you might want to learn design.

You mean UI/UX? Definitely. Been looking at some UI Kits out there. Very cool. Do you use PS or Sketch? What Kits, plugs, utilities would you recommend? TETHR and Teehan+Lax look good.

Actually to tell you the truth I don't do design work, although I am looking into it. I would use PS simply because it is already installed on the computer I use. The design I would do would be UI, I'm not sure about UX as I don't know what that is an acronym for.