Reputation: 1285
I know there is an NSSomething() that is called automatically if it exists when the app starts and can be used to set for example the text of a label.
I just can remember the name of that function.
help?
Thanks!
Upvotes: 0
Views: 111
Reputation: 1285
The answer is awakeFromNib, example:
- (void)awakeFromNib
{
DoSomething();
}
Upvotes: 1
Reputation: 258188
applicationDidFinishLaunching
or application:didFinishLaunchingWithOptions:
is probably what you're looking for.
Upvotes: 4