When the INIT is called


#1

Hi

we use INIT method in our appcontroller class, but I’d like to know when and who is calling this init method.

I mean, no where in the Synthesizer’s code we call the init method of our class, so I presume this method is called by default ? no…

So who is calling the init method and when. It’s just because I’m curious and I’d like to fully understand

Thanks


#2

When a nib file is being unarchived, when it comes across your AppController, it calls [[AppController alloc] init] to create the new instance.