PDA

View Full Version : "Expensive" to call appDelegate?




yrvaken2
Dec 17, 2008, 06:02 AM
I wonder which method of programming is best or least expensive, memory wise.

See if I can explain so you and I understand this :)

Is it better to call appDelegate from a ViewController a few "views" down the line or just keep forward the object through the ViewControllers??

//Anders



detz
Dec 17, 2008, 06:37 AM
Try it both ways, run it through Instruments and see which one works the best. I wouldn't worry about it either way though.