Bespoke App development for the Web and Devices

Referencing an iPhone App’s UIApplicationDelegate from a nested view

01.29.10 Posted in iPhone, objective-c by admin

It is useful to know that you can reference the top level of your application from anywhere since it is a Singleton.  This enables access to the application delegate as follows: [[UIApplication sharedApplication] delegate]; This can be useful if you want declare your model at the top level of your app and need to reference [...]