Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS

rtprjct
rtprjct
30,548 Points

Have an Idea for an iOS app, should I use Objective-C or Swift?

Hey guys, bit of a broad question here. I love using javascript, but I think for this particular app idea, I would like to develop it natively instead of using the Ionic Framework, which is something I am using for a smaller app (and it's really awesome and easy to follow!).

Should I use Objective-C or Swift for an app I want to make? I pretty hopeless at both languages + the cocoa framework currently.

In one regard I can see that Swift would be the better option for me since the syntax is more what I am used to, and because I don't plan on becoming an iOS developer as a career.

But on the other hand I think Obj-C also would make sense since as well there aren't as many big updates frequently + I seem to be able to do better research on it/am able to better trouble shoot my problems

Any ideas?

Thanks in advance

1 Answer

Jacob Bergdahl
Jacob Bergdahl
29,118 Points

While Objective-C does have the advantage of having been around for longer, I'd recommend Swift since it's newer, better, and more future-proof (if you want to make an app five or ten years from now, Objective-C may have become entirely obsolete, so having knowledge in Swift is good). Of course, the best thing to do would be to learn both but do the programming in Swift, but if you don't have time for that then I'd say go with just Swift.

rtprjct
rtprjct
30,548 Points

thanks mate! yeah I will slowly learn both but implement it in Swift. I think that would be the best course of action since this will take a while, so I may as well do it properly