I've been meaning to write this post but Daniel Compton beat me to it. The phrases "It takes a village to raise a library" and "free as in 'baby'" are too perfect not to repeat.
I needed to trim whitespace from some user input in a Swift app I'm working on. I could have used the ability to bridge to NSString and called `stringByTrimmingCharactersInSet:` but doing it in Swift seemed like a fun little exercise.
Now that I have a few more months experience using auto layout in Rego I'd like to follow up my original post with some additional thoughts on the technology, how one might use it, and what can, and will, go wrong.
Swift beta 5 introduces some new rules that effect view controller subclasses and initializers.
Swift properties aren't sacred.
Functions are first-class citizens in Swift. They can be stored in a variable or constant, passed to another function as a parameter, or returned as the result of another function. This concept of "functions as data" enables the development of complex systems composed of small bits of reusable logic in an elegant and concise way.