S Link
Giving you time to focus on what matters most, creating awesome apps.
Buddybuild is the easiest and fastest way to automate building, deploying and gathering actionable feedback for your mobile apps from your beta testers. Send builds to your users instantly without the headaches of processing times, managing UDIDs, provisioning profiles and signing identities. Want a heads up on Swift API changes? Never again worry about how your app will fare against the latest version of Xcode (or betas!). Within 48 hours of the release, buddybuild will automatically build and test your app against the latest release and email you the results. Giving you time to focus on what matters most: creating awesome Swift apps.
The Swift Algorithms Book (30% off)
Written for students and professionals, The Swift Algorithms Book blends modern code, illustrations and computer science to help you pass the interview or build your next app. Perfect for the classroom or the office, the book takes a fresh approach to explain concepts that power search engines, databases and social networks. Use code coupon code THEROBOT at checkout to receive a 30% discount!
Swift Around the Web
What's new in Swift 2.2
I've been following the Swift 2.2 changes one-by-one, but this post is a super useful summary with easy examples of all the changes in one place! Some, especially around tuples (you can now compare them!), I didn't even know about.
Creating a Cheap Protocol-Oriented Copy of SequenceType (with a Twist!)
Still trying to fully wrap my head around this... might have to read a few more times and try it!
Coding
Goodbye Spacer Views Hello Layout Guides
Whoa! Totally missed this...
"The use of hidden spacer or dummy views is a common technique with auto layout when you need to set constraints on a rectangular space in the view. They allow you to control the spacing between views or to group related objects.
The disadvantage is that they are still real views in the view hierarchy consuming memory and able to respond to messages in the responder chain. Apple added the UILayoutGuide class in iOS 9 to do the same job as spacer or dummy views without the overhead."
Unfortunately, this does not work in IB π
CloudKit Security model
Thanks @krzyzanowskim for writing this for future us too!
"CloudKit security model is barely described in documentation, yet it's very important aspect of this cloud solution. I do care about privacy and I believe privacy aspect is important when implementing Cloud driven solutions. The subject is not widely explained in documentation, hence I'm writing this blog post as a notes for future me - with all the important information I was able to gather."
Design
Making of The Bear and The Hare
I just find it so fascinating and mesmerizing to watch the level of work and detail that goes into making such a "simple" animated artwork. As artists in our own field, it's easy to relate to this.
Other Cool Stuff
Tulip mania
Spring means π·π·π·!!! Also responsible for the very first economic bubble burst!
"At the peak of tulip mania, in March 1637, some single tulip bulbs sold for more than 10 times the annual income of a skilled craftsman. It is generally considered the first recorded speculative bubble (or economic bubble), although some researchers have noted that the Kipper- und Wipperzeit episode in 1619β22, a Europe-wide chain of debasement of the metal content of coins to fund warfare, featured mania-like similarities to a bubble. The term "tulip mania" is now often used metaphorically to refer to any large economic bubble when asset prices deviate from intrinsic values."
In Case You Missed It
Do you believe in magic? The making of try! Swift Conference Tokyo 2016
I finally wrote about the making of @tryswiftconf!! Thanks @k_katsumi, @cjwirth @tasanobu & all who helped make this impossible magical dream a reality π!
Videos
Challenges Building a Swift Framework, with Marius Rackwitz
Great talk from @mrackwitz on how to build and distribute open source or third party Swift software the right way (and how to avoid the pitfalls!) based on his teamβs experiences at Realm.
Swift Evolution
Generic Typealiases are a thing
π
typealias StringDictionary<T> = Dictionary<String, T>
typealias IntFunction<T> = (T) -> Int
typealias MatchingTriple<T> = (T, T, T)
typealias BackwardTriple<T1,T2,T3> = (T3, T2, T1)
Swift Open Source Weekly Brief
Some of my favorite highlights:
- Love the idea of introductory tasks for beginners to get involved in contributing to Swift.
- Xcode + SPM Integration has started π
- @ericasadun has submitted a proposal to make first labels in functions be consistent. This will seriously simplify the confusion. Thank you!!!
- SE-0033: Import Objective-C Constants as Swift Types, has been accepted!
Swift Code
- navigation-stack - NavigationStack is a stack-modeled navigation controller
- ReplaceAnimation - Implementation of Zee Young's Dribbble animation
- GrandCentralBoard - Hang a TV in your open space or team room to show everyone what's up and get them up to speed.
- Markoff - A light-weight Markdown (CommonMark) previewer for OSX.
- UTIKit - UTIKit is an UTI (Uniform Type Identifier) wrapper for Swift.
- EnigmaKit - Enigma encryption in Swift
Other Platforms
A Recap of the Swift Porting Efforts
This is a super nice summary of the work already completed and still in progress for moving Swift to other platforms!! I'm personally most excited about anything related to making server-side Swift easy and Android!!! Swift all things π!!
Swift Thoughts
This week, I have the pleasure of being in Amsterdam conducting a watchOS workshop and speaking at mdevcon. It's still wintery here, but I couldn't help the excitement when I saw yellow Narcissus growing along the tram I was taking into the city yesterday. Spring is in the air!
"Another transitional season, spring is a time of phenomenal renewal. The earth reawakens from her slumber, and explodes with new life. In our own lives, Spring can be symbolic of starting new projects, sewing new seeds and coming forth with new ideas. This is also a time to contemplate health and physical well-being too. Be refreshed and prepare for your soulful debut!" - Symbolic Meaning of Seasons
What Swift projects will you be starting this Spring?!!