S Link
iOS Conf SG - 20th and 21st of October, Singapore
Learning Swift and want to enhance your skills further? Come to iOS Conf SG! Learn how experienced Swift and iOS developers build their apps. Use the promo code "swift" to get limited time 80 SGD discount.
Hired: The Easiest Way to Find a Job
Hired lets you sit back while job offers come to you. When you complete your profile, instantly apply to 4,000+ companies on the platform who will contact you with job offers, including salary and equity up-front. Try it today.
Swift Around the Web
Escaping and Nonescaping Closures in Swift 3
"When you pass a closure into a function in Swift 3, thereโs a new wrinkle: the compiler assumes closure parameters are non-escaping by default. What does this mean? Whatโs the difference between an escaping and a non-escaping closure?"
Thanks for explaining this @gregheo! This is definitely one of those topics I have to keep looking up!
Itโs Now or Neverโฆ
Never
is a new keyword in Swift that could sometimes be used instead of @noreturn
. Good explanation of what it does and the comparison to @noreturn
. Another example here. My guess is that I'll Never
use this ๐
Coding
Swift: Custom Fonts. Slightly Less Awful.
Custom Fonts with Dynamic Type supported - a very nice huge improvement to the ugly string-based UIKit implementation ๐
How to generate haptic feedback with UIFeedbackGenerator
New iPhones, new haptic feedback! Just like with the Apple Watch. Here are the implementation details you need to know!
Other Cool Stuff
A mistake is just a moment in time
Absolutely love this story about Navajo rugs that have mistakes woven into the patterns:
"He said the mistakes werenโt intentional. What was intentional was the desire not to go back and fix them."
In Case You Missed It
MC-ing try! Swift NYC
I'll be honest - while I'm fine giving technical talks, MC-ing is absolutely terrifying for me. Even doing the opening and closing speeches at try! Swift NYC completely drained me. That's why I asked @allonsykraken and @catehstn to co-MC! Oh, and there was a magician to re-energize the audience as well!
But even so, I had no idea how much work being an MC is than just the terrifying part of being fun on stage while introducing the speakers. Love this write-up by Cate on how much thought she put into being an MC and all the additional behind-the-scenes work involved ๐๐๐
Videos
Type Erasure Magic
MUST WATCH!!! Unfortunately generics won't be fixed until Swift 4.0 (or later), so learning this workaround is crucial when working with protocols with associated types for now. This talk gives a clear and easy-to-understand example!
Become a Better Engineer Through Writing
An absolutely delightful and powerful talk from @kristinathai on the importance of writing as a software engineer! I got to watch it live the first time, and I'm so happy it got recorded this second time for everyone to see!
Swift Code
- EmojiTimeFormatter - ๐ Format your dates/times as emojis.
- SwiftMessages - A very flexible message bar for iOS written in Swift.
- ReadabilityKit - Preview extractor for news, articles and full-texts in Swift
- SnapTimer - Implementation of Snapchat's stories timer.
- Segmentio - Animated top/bottom segmented control written in Swift.
- ComplimentaryGradientView - Create complementary gradients generated from dominant and prominent colors in supplied image.
Learning
Copying
Absolutely beautifully written!
"Sometimes life is not unlike programming. Who and what we choose to copy says a lot about us. Choosing to use someoneโs idea is still a choice. Give credit to your inspirations, but donโt discount the wisdom in picking something beautiful to copy."
Business
What I Learned From 10 Years of Doing PR for Apple
"Most importantly, respect your brand. Thatโs the biggest lesson of all that I learned at Apple. Itโs your biggest asset and you have to protect it. Think twice before giving away your products in a raffle. Think carefully about what other brands you associate with."
Swift Thoughts
It has now been over a week since try! Swift NYC and I'm still reeling with feelings of awe, inspiration, gratefulness, and love for the Swift community we're building! Thanks (I really wish there was a better and much bigger word than just thanks!) to all the volunteers, speakers, sponsors, emcees, and of course the attendees who made it such an incredible event โค๏ธ
Now onto iPhone 7 and the removal of the headphone jack... I'm personally waiting for this gadget to come out first before getting the courage to commit to a life where I can't charge my phone and listen to my nice noise-cancelling headphones on an long flight. That said, the potential future does sounds cool...
And now back to our regularly scheduled programming ๐