Swift Around the Web


Code


Apple News

Design

Random Cool Stuff

In Case You Missed It


Videos


WATCH


Books

Podcasts

Swift Code

  • WatchOS2WatchConnectivityDemos - Various projects demoing Watch Connectivity framework

  • KYDigitalFontView - KYDigitalFontView is a custom view that displays the character in the digital font style

  • MaterialView - Material Floating Button for iOS - Swift

  • DPImageCache - Swift extension for UIImageView. Help loading image asynchronously and store local file cache.

  • UIImageColors - iTunes 11 style color fetcher for Swift UIImage.

Business

Swift ThoughtsSwift Thoughts

I've been working on converting a Swift 1.1 project into Swift 1.2 last week (I know it's late!), and one thing that popped out at me was how natural it felt downcasting using as in Swift 1.1 and lower in certain cases, yet how wrong it now feels with as being switched to as! in Swift 1.2.

I've been working on my dissonance with the conclusion that in some cases, it's really ok to use as!. After some discussions, I agree with @allonsykraken on when to use implicitly unwrapped optionals.

NatashaTheRobot