TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Swift 2 Apps in the App Store

80 pointsby julien_cover 9 years ago

6 comments

Eric_WVGGover 9 years ago
I ran the “Convert &gt; To Latest Swift Syntax” on an app with about six view controllers, four views, a network service, and three cocoapods. It worked surprisingly well, most of the changes were really just suggestions (&quot;this var something could be a let something&quot;), small change to how NSData unwraps.<p>I did have to guess around an obscure compile issue (solution: &quot;Clean Build Folder&quot;), but after that it was clear sailing.<p>My overall Swift experience has been terrific. I’m not the first to say this, but to anyone who’s wondering if it’s “ready”, yeah, it’s ready.
评论 #10254900 未加载
评论 #10255122 未加载
评论 #10256121 未加载
评论 #10255298 未加载
评论 #10255116 未加载
评论 #10255079 未加载
评论 #10255454 未加载
Tobias42over 9 years ago
If your Swift app is using SpriteKit it might take a little longer to get it ready for the App Store: <a href="https:&#x2F;&#x2F;forums.developer.apple.com&#x2F;thread&#x2F;17463" rel="nofollow">https:&#x2F;&#x2F;forums.developer.apple.com&#x2F;thread&#x2F;17463</a><p>Apple really screwed up SpriteKit badly in the new version. I&#x27;m experiencing almost all of the problems mentioned in the forum.
评论 #10256033 未加载
mellingover 9 years ago
I maintain a database of Swift resources: <a href="http:&#x2F;&#x2F;www.h4labs.com&#x2F;dev&#x2F;ios&#x2F;swift.html" rel="nofollow">http:&#x2F;&#x2F;www.h4labs.com&#x2F;dev&#x2F;ios&#x2F;swift.html</a><p>It appears that most iOS devs who blog are using Swift.
bsaulover 9 years ago
Here&#x27;s my prediction : apple is currently working on a replacement framework for cocoa (at least uikit), that will be writen for swift first, taking advantage of its great special features.<p>My other guess is that it will come in time for ios 10 and be cross-platform ( aka work on mac os as well as ios).<p>I have absolutely zero inside info, but the fact is cocoa felts great and elegant on ios3 , but with all the latest additions it now starts to feel old and convoluted. Objective-c has been patched incredibly well but can only go so far, and the convergence of hardware between devices makes the distinction between computers and tablets more and more obsolete.
评论 #10255727 未加载
bionsubaover 9 years ago
Ok cool, but where&#x27;s the source code? It&#x27;s been almost three months since the announcement and no ones even mentioning it anymore.
评论 #10256563 未加载
gorenaover 9 years ago
Swift 2 is fantastic <i>except</i> (har har) for exceptions. Optional&lt;T&gt; has been hanging out, monad-y and all, since v1. Why not Result&lt;T, E&gt;? You can&#x27;t flatMap exceptions, and the Swift 2 implementation even throws away type data (or hides it, at least). Huh?
评论 #10257090 未加载
评论 #10256701 未加载