Application Prototyping Tips

Here are some tips that I feel apply in general to any application development regardless of language. When it comes to making your apps the more information you have upfront and throughout the process the better, and that means prototyping.

Here are my suggestions for making better prototypes.

Read Full Article…Application Prototyping Tips



Classes – Intermediate

A few concepts for taking your understanding of Classes to the next level in Swift. I am certain many if not all of these are techniques you will use over and over. This post continues on where Swift Classes – The Basics left off, so if you are not familiar with classes you will want to check out that post as well.

Read Full Article…Classes – Intermediate



Optionals

In Swift an Optional Type is considered a safe way to use variables. An Optional can represent a value that has been set or more importantly the lack of a set value as they default to nil when no value is present (yes that technically means they do always have a value). You tell Swift that you want to use an optional type by using ? after the variable type, so for example.

Read Full Article…Optionals



Closures – The Basics

You maybe familiar with Closures from other languages, simply put they are blocks of code assigned to a variable. In this example we create a closure called welcome take note of the syntax in this example, it takes no arguments but returns a string. Then we simply call it like a function, try this in a playground and see what you get back, it should be “Hello!”

Read Full Article…Closures – The Basics