December 2014
Beginner
300 pages
8h 9m
English
Swift is such a powerful language that it allows you to create your own new full-fledged language. You will hear people talk about writing functional Swift and writing JQuery-like Swift. It is great to have such flexibility. With Swift you can take an existing syntax and apply it to other things. For example, subscripts allow you to provide functionality to the square brackets notation. What you do with that square brackets notation is up to you. You can provide subscripts for enumerations, structures, and classes. You can use subscripts to query a class to get some sort of information back.
You probably know subscripts from arrays and dictionaries. You use subscripts to access members of an array by using ...
Read now
Unlock full access