Swift Moth

Swift Moth

Our code (quality) represents the respect to our coworkers

Scroll Down
← Newer Posts Page 2 of 2

Swift: Access value with keys in chain

In Objective C, it is pretty simple to access any value no matter how deep it is in a NSDictionary. If there is any key not »

Jack Chen S Y 27 May 2015

Customize init() method in subclasses of UIViewController

We usually do some setup during initialising a view controller, under UIViewController. It’s pretty simple to override init() method in objective c, like: - (id) »

Jack Chen S Y on swift-1.2, UIViewController, objc-swift, initializer 24 May 2015
← Newer Posts Page 2 of 2
Swift Moth © 2021
Proudly published with Ghost