swift - How to know if my non-ViewController class has loaded (like viewDidLoad) -


i sure amateur question, starting develop in osx, , created nstableview consists of 2 classes. 1 vc lives, , other 1 'tablehelper' class sets up.

since tablehelper class delegate , datasource of table, want able set things before loads (like viewdidload method) there equivalent nsobject, nstableviewdelegate/datasource class?

it depends on whether table helper created in code or in storyboard/xib.

if code, there's no delayed loading; exists when create it. if storyboard/xib, you're looking awakefromnib method.


Comments