I can't stop thinking about is JSON parsing in Swift. I'm not completely sold on any of the solutions that are out there, but I can't think of a better solution myself. It makes me feel the same way I feel about good-looking bad design - I know something is wrong, but I can't tell you which pixel is out of place.
Not surprisingly, I'm not the only one. There were several great articles on JSON parsing in Swift this week. I'll start off by including those and some of the older ones to give a fuller perspective of the Swift thinking on the topic.
Swift Around the Web
The genius of Swift is that it looks familiar at first glance. If you've ever done any programming in a language other than Objective-C, you feel comfortable with Swift. But, as more and more developers are discovering, Swift is actually really hard. Just think of all the advanced concepts you need to understand - functional programming, operator overloading, generics, etc - and combine it with major bi-weekly changes to the language. You have to love learning and being challenged if you're starting with Swift now!
Mattt Thompson generated a lot of controversy this week by releasing Euler, a library of custom operators for mathematical notation. Mattt includes a clear warning in the README: Please keep in mind that this is not intended or recommended for production. I recommend having an open mind and just enjoy learning from it :)
This week, I'm including some great video-based talks in the tutorial section. Enjoy!
- Building the game “2048” in Swift <Realm - YouTube>
- Build Your First iOS Game with Swift <Bloc - YouTube>
- Swift Table View Animations Tutorial: Drop-In Cards <Ray Wenderlich>
- Basic UIView Animation with Swift Tutorial <Ray Wenderlich>
- Getting started with UIKit Dynamics in Swift <Omar Fouad>
In Case You Missed It
This week, I started to consciously thinking about Access Controls in my Swift code. I like to keep as many things private as possible, but I also like Unit Tests, and right now, we have to make our classes public for XCTests to work. This should be fixed in later betas I'm sure. Anyway, here are some blog posts I've had a chance to write in case you missed them. Enjoy!
Random Cool Stuff
My co-worker @louielouie keeps recommending an app called MobileMeet - it doesn't look that great, but it's an extremely useful app for conference calls. It manages the conference codes for you, and even calls you back when the conference starts. No more elevator music!
As an iOS developer, I can get pretty obsessed about making sure my app looks the best and is the best to the point where I never release anything, but MobileMeet is a reminder that ultimately your app needs to fulfill a massive need. So massive, that people will recommend it regardless of what it looks like.