Where To Call Custom Method? viewDidLoad, viewWillLoad...

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-03-11T20:17:14Z Indexed on 2010/03/11 20:19 UTC
Read the original article Hit count: 325

Filed under:
|
|
|
|

I am loading some info from a server. I have created a separate method to do this. I am then calling [self myCustomMethod] to run the method. No matter where I call [self myCustomMethod] (initWithNibName, viewDidLoad, viewWillLoad, viewWillAppear, viewDidAppear), the custom method is getting called twice - what's the deal?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about custom