Lazy Properties in Swift
Continuing to use my blog as a reference for myself and a summary of stuff I’ve learned about here’s a post about Swift! I’ve spent some time now trying to write a little app, and I recently wanted to set a custom dataSource on one of my tableviews. The problem was that I wanted to keep a reference to this dataSource in my table view controller (which I might actually not need since it’s always there via the tableView property).
Read more...