I'm learning how to make applications Cocoa, and the first app I'm trying to make is a basic four-function calculator. I'm having trouble getting my initialization method to run so that I can initialize a few objects and other variables. I tried looking up an initialization method, and the only one I found was
+ (void)initialize
The description of this method seems to be what I'm looking for, so I added in what I wanted to add, yet it doesn't seem to be executing that method when I launch the program. Am I using the method incorrectly/is there some other method that I should be using?
Thanks!
+ (void)initialize
The description of this method seems to be what I'm looking for, so I added in what I wanted to add, yet it doesn't seem to be executing that method when I launch the program. Am I using the method incorrectly/is there some other method that I should be using?
Thanks!