TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

New to App Development – Objective C or Swift

10 点作者 ankit1911超过 10 年前
Hi, I have been programming in C since past 4 years. I am comfortable with the complexity of pointers in C. Currently I am working for a MNC in India, but I want to become an independent app-developer. I purchased a Mac book Air and an iPhone recently and want to get started with iPhone app development in near future. My concern is what language should I start learning, Objective-C or swift ? I prefer performance/features over easy learning curve. I browsed the internet only to be more confused. Would like to hear from people who are into Apple App development since quite some time now. Also, it will be very helpful if you can list some good source to learn objective-C/swift. Thanks.

3 条评论

dottrap超过 10 年前
Since you already know C and are comfortable with it, start with Objective C. The hard part of app development is Cocoa and the other Apple frameworks (because they are huge), not the language. Because Swift is so new, most of the documentation and open source code are in Objective-C.<p>Additionally Cocoa was designed with Obj-C in mind. There are current learning pains with Swift on trying to understand how to best bridge Cocoa.<p>And Swift is a more complicated language than Obj-C. There are a lot more concepts to learn in Swift. (It seems like every other Swift article I come across is something about optionals.) Brent Simmons just posted this which expresses this issue:<p><a href="http://inessential.com/2015/02/04/random_swift_things" rel="nofollow">http:&#x2F;&#x2F;inessential.com&#x2F;2015&#x2F;02&#x2F;04&#x2F;random_swift_things</a><p>And the performance of Swift is not at par with C in most cases. And debug build performance is terrible for anything realtime&#x2F;multimedia&#x2F;game centric. This was recently discussed by David Owens II:<p><a href="http://owensd.io/2015/02/01/the-optimization-game.html" rel="nofollow">http:&#x2F;&#x2F;owensd.io&#x2F;2015&#x2F;02&#x2F;01&#x2F;the-optimization-game.html</a><p>As for resources, I recommend Aaron Hillegass&#x27;s (of Big Nerd Ranch) Cocoa Programming books. He has trained generations of Cocoa programmers well, since the NeXT days.
评论 #9002152 未加载
melling超过 10 年前
Just start with the latest Stanford iOS class in Swift. First link under Getting Started: <a href="http://www.h4labs.com/dev/ios/swift.html" rel="nofollow">http:&#x2F;&#x2F;www.h4labs.com&#x2F;dev&#x2F;ios&#x2F;swift.html</a>
ghuntley超过 10 年前
What about F#&#x2F;C#? <a href="http://xamarin.com/" rel="nofollow">http:&#x2F;&#x2F;xamarin.com&#x2F;</a>