Category: Swift
-
Swift WatchKit: Adding Text, Dictation, and Emoji Input to Apple Watch
Sometimes Apple gives away stuff you can get very happy about — like a chance to use voice dictation. If you have had a chance to play with an Apple Watch, the watch has a simple but great way to deal with text messages. If you get a text message, you can hit reply and…
-
The Joys of Beta Swift: as Versus as! and Why I Avoid Betas
It came to my attention this week there’s a big change to Swift code on the way. It doesn’t look big though: it is the difference between as and as!. The keyword as is the conversion operator. Usually type or class are easily defined like this: But there are times you get things like this…
-
Create Dynamic and Static Table Views in Swift 3
In an early post on this site, I wrote a table view tutorial. I decided to update that tutorial a bit for The Swift Swift View Controllers Book and add a bit more sophistication and depth. This tutorial deep dives in the subject. Both will remain on the site. In October 2016 I updated this for…