Articles tagged:

style

Swift Extensions (via Natasha the Robot)

Tue 29 March 2016

Natasha the Robot uses Swift extensions “the wrong way”. I like it. Basically, instead of relying on // MARK: -... to annotate code, split out the class into separate logical chunks via extensions. Nice.

First attempt is on the main view controller of my Udacity NanoDegree final project. We’ll see how it goes from there.

Page 1 / 1