The internet's most comprehensive Swift resource.




by Nick Hanan     www.codingexplorer.com
Swift Version: 1.0
Generic Types allow Swift to create new types, usually collections, that can work with other types, such as how Swift Arrays can type-safely hold any type.

by Nick Hanan     www.codingexplorer.com
Swift Version: unspecified
This post will discuss operator overloading in Swift. This allows you to add capabilities to built-in operators for custom types, and even built-in ones.

by Nick Hanan     www.codingexplorer.com
Swift Version: unspecified
This post shares about structures (aka structs) in Swift. They are value types that share many capabilities with classes, but, most notably, cannot inherit.

by Nick Hanan     www.codingexplorer.com
Swift Version: unspecified
Tuples allow you to easily create a container type to hold multiple values of different types, particularly for returning from functions.

by Nick Hanan     www.codingexplorer.com
Swift Version: unspecified
This post shares more about Swift extensions, including adding methods themselves, nested types, subscripts, and protocol adoption to existing types.

by Nick Hanan     www.codingexplorer.com
Swift Version: unspecified
This post is an introduction to Swift extensions and to use them to add computed properties and convenience initializers to existing types.

by Nick Hanan     www.codingexplorer.com
Swift Version: unspecified
Methods are functions associated with a type. They can also be associated with a specific instance of a type, or even just the type itself. There is even a slight difference in how parameter names are handled for functions and methods.

by Nick Hanan     www.codingexplorer.com
Swift Version: unspecified
This post shares about designated initializers and convenience initializers in Swift with an example.

by Nick Hanan     www.codingexplorer.com
Swift Version: unspecified
Property observers in Swift let you run code just before or after a property's value is set. This post shares how to use them, and some of their nuances.

by Nick Hanan     www.codingexplorer.com
Swift Version: unspecified
This post discusses class initializers, what they are for, how to make them take parameters, as well as how external parameter names differ from functions.

by Nick Hanan     www.codingexplorer.com
Swift Version: unspecified
This post shows how to use a nested type in Swift. It is particularly useful to nest an enumeration within the class that makes use of it.

by Nick Hanan     www.codingexplorer.com
Swift Version: unspecified
The post is an introduction to classes in Swift. In it we discuss how to make them, how to use class inheritance, and a bit about methods and initializers.

by Nick Hanan     www.codingexplorer.com
Swift Version: unspecified
This post shares about the Swift Dictionary Type, with a quick reference table, showing how to use them and limitations for dictionary key variable types.

by Nick Hanan     www.codingexplorer.com
Swift Version: unspecified
This post shares more about closures, in particular, how to write functions that return or take them as parameters, and how value capturing works.

by Nick Hanan     www.codingexplorer.com
Swift Version: unspecified
This post shares about closure expressions in Swift. It discusses how they are written, and several shortcuts available in Swift to compress them.



© 2015 SoSoSwift. Blog · About · Contact · Privacy policy · Terms of service · RSS