Previous 1 2 3 4 Next 49 Replies Latest reply: Jun 19, 2012 4:07 PM by mark133
mark133 Level 1 (65 points)

I'm not sure I'm getting this correctly, but is there a difference between a initializing a receiver with alloc/Init vs. using +(id)new 


Where does the class name argument fit into the +(id)new method?


In either case, once a new instance is returned, does that mean that during runtime the instance of the object will be where the command pointer goes next? And then that instance continues to be available during run until deallocated?


What if you want to have more than one instance of the class available during runtime? Is it better just to initialize one, use it, destroy it, and initialize another, etc, in rapid succession, or better to initialize a quantity of instances, if needed during runtime (if possible)?

Previous 1 2 3 4 Next