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

Just found a blog about Ojective-C and Swift

Whats the difference between Swift and Objective-C? I know Swift is apple programming language but does it matter what i will learn now? In two years will Swift be as good as Objective-C or should i just stick with objective-c because its powerful than swift at overall?

As a career i want to be app developer and i want to make apps anyways. Does it mater if i start objective-c now or after i learned swift ?

2 Answers

Swift is Apple's new programming language that they want to replace objective-c with.

So your probably going to want to learn it. Somethings are nice and simple and quick in swift. I think it's a language that will appeal to beginners because of it's simple syntax.

That being said, for now you will still need a basic understanding of objective-c as well.

Since swift is relatively new, most complex tutorials and code snipit examples are going to still be in objective-c.

Sure, you can make a basic app with nothing but Swift. But as soon as you need help doing something complex and a little unique, your going to google and try and find an example. Hopefully you find 2-3 examples because every example seems to leave out a small detail that throws you off. Will you right now be able to find 2-3 swift examples? Or most likely will objective-c examples Pop up?

I think it can't hurt to learn both.

Thank you for the answer.

Yes , it don't hurt to learn both but it takes time to learn one and now to confuse with other one as well . As well I'm new to programming , i did some JavaScript very little before and very little of Ruby witch kind of helped in objC but still is complex and as i look at swift it looks as javascript .

But so basically it would be better for me to learn how to make apps in objC and as i can do some of it , start going to swift and learning the basics right?

What I'm actually looking is to make my own games at the moment . But ii will need a solid understand about that or other when i will get to university so i have advantage of others and since i don't have all required grades i will need to learn objC or swift as it would show them that I'm capitable and motivated etc.. to learn alone so i may be accepted.

Soo objC for now will be still the best and lets say in 3-4 months , go throw Swift basics and come back to objC and then learn Swift and later one combine them two ?

I have difficult time learning objC because i know how things works but if i would need to do something mine, i wouldn't know how to write the code , i know a bit but uh

I would say it is not about the language anymore but more about the API and libraries (Cocoa and so on).

You also have an alternative ...take a look at RubyMotion.

So basicaly for a game app is all about sprites and frame work how it works?

So positioninx x,y and adding the functionality as well as nodles to it ?

bdw i guess that making a weather app like is harder than making a game app(decent - average) right? just curious