Swift-Snips

good good iOS Lovin

Currently learning up on Swift but also a reflection on my challenges with Objective-C, this is a place to get at the stuff that I figured would help me as a personal reference in those moments where I know I have done it before but the solutions eludes me.

These are not tutorials but rather a compendium of templates, quick scripts, and examples.

My goal here is simple. I am trying to max out my learning of the Swift programming language across all of the native frameworks but there are nearly 2000 classes each with their own set of delegates and functions so I need to figure out what is the 20% of the swift language to master the core of the frameworks quickly.

Cheat-Sheets

The xcode playground is a powerful system for both experimenting with code but also communicating why that code works. Here is a cheat-sheet on how to markup your playground code for better readability.

So here are my fixes and their sources just in case you need further explanation as to why it works. Chances are I won't fully understand all of the changes but first things first - get the code to build.

My goal here is simple. I am trying to max out my learning of the Swift programming language across all of the native frameworks but there are nearly 2000 classes each with their own set of delegates and functions so I need to figure out what is the 20% of the swift language to master the core of the frameworks quickly.

The xcode playground is a powerful system for both experimenting with code but also communicating why that code works. Here is a cheat-sheet on how to markup your playground code for better readability.