UITableViewController with Clouds

I wrote a tutorial that demos how to use a couple of UITableViewControllers, a segue, the Storyboard, a simple model, and as little code as possible to create an iOS app. https://github.com/jpavley/Smith You’ll find the code and a very detailed README on Github. It’s open source and I hope you find it useful.

Categorized as Programming

Unit Tests Equal Awesome

I’m working on a hobby project iOS app that lets me track my comic book collection. I’m interested in comic books because all these super heroes from my misspent youth rule the world of popular culture. While the cool kids were playing sports and going to parties I stayed at home reading comic books. In… Continue reading Unit Tests Equal Awesome

Swift Programming: Filtering vs For Loops

The current version 3.1 has come a long way from the Yet-Another-C-Based-Syntax of the 1.0 version of Swift. One of the best features of Swift is how functional programming idioms are integrated into the core of the language. Like JavaScript, you can code in Swift in several methodologies, including procedural, declarative, object-oriented, and functional. I find it’s… Continue reading Swift Programming: Filtering vs For Loops

Notes on NSUserPreferences

You can set and get NSUserPreferences from any view controller and the app delegate to they are a great way to pass data around the various parts of your iOS App. Note: NSUserPreferences don’t cross the iOS/watchOS boundry. iOS and watchOS apps each have their own set of NSUserPreferences. In the example below you have… Continue reading Notes on NSUserPreferences

C Plus Minus

While consuming Handmade Hero and coding furiously to keep up with Casy Muratori I discovered the joy of programming in a language that I deeply understand. This is not one of those new trendy programming languages that tries to be type-safe without explicit types or functional without being confusing. And yet all the new hot/cool… Continue reading C Plus Minus