During this meetup, Leo showed us how he converted his objective C project into Swift. During the presentation he covered many topics – shape views, gradients, container views, page views, and singletons.
I really appreciated the pace and clarity that Leo used to teach us during the meetup. During his presentation I also learned that he uses Sketch to mock up his designs before coding them. This made sense because he’s been saying that he’s going to start working on an Augmented Reality app but needs to design it first.
As the meetup drew to a close, O’Neil raised a question about Leo’s use of singletons to share code between his View Controllers. At the conclusion of this discussion on singletons Chae explicitly stated the following,
“Singletons are for shared data. Protocols are for shared functionality.” – Chae
I love it when, through discussion and questions, we are able to stumble onto a clear and concise explanation for architecture decisions. Looking forward to more of these discussions.
We’re taking a break for Thanksgiving on the 23rd so there will be no meetup next week. We will pick back up on November 30th where we’re going to do something crazy that we’ve been talking about for a very long time – we’re going to install Swift on a linux server with Kitura.
Please RSVP if you’re interested in attending this meetup.