Swift Moth

UIViewController

A 1-post collection

Page 1 of 1

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
Page 1 of 1
Swift Moth © 2021
Proudly published with Ghost