Swift ThoughtsSwift Thoughts

Last week, I attended @allonsykraken's talk on Weak, Strong, and Unowned in Swift at the Swift User Language Group meetup. You can read the blog post version here or sign up for the video version notification here.

One big take-away for me was that unowned is not what I think it is! It is safer to use weak in most cases. And of course there are actually cases where strong is the way to go (like in the UIView animation block). I'll have to re-read that blog post and watch the video a few more times to get a better grasp on the differences.

The worst position to be in as a developer is being convinced that you know something when you actually don't! Glad my knowledge on this subject was challenged, and I now know that I need to explore this topic a lot more. Happy Learning!

NatashaTheRobot

Apple Love

Swift Around the Web


Functional Voodoo

WATCH

#iOSdev


Swift Code

Tutorials

Design

In Case You Missed It

Random Cool Stuff