Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As a newcomer to Swift, finding "old" blog posts and tutorials that are written in Swift 2 is utterly maddening.


I always set a filter in my Swift google search so I only get recent content. It generally weeds out a lot of old Swift code/tutorials.


Try finding new blog posts in Objective C. Most are in Swift.


At least one can tell those two apart. To someone learning the language, Swift 2 and 3 are almost indistinguishable.

Lots of fun compiler errors and deprecation warnings were had.


You can run them through the Xcode converter. I made a list of the code that I converted. It’s really not that hard to deal with small examples:

https://h4labs.wordpress.com/2016/09/17/my-ios-10-and-swift-...


Yeah but at least the old ObjC ones are still relevant. And there are a lot of them.


The are lots of new API’s and some old code has been deprecated. There haven’t been many Objective C tutorials or books in 3 years.


Well. If you just want to confirm the order you should be calling methods, you should be able to figure out how to use any of those APIs based on Swift examples.

If anything, Swift examples are more necessary because there's tricky things you can do with closures, manp, flatMap, etc.

ObjC is very straightforward.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: