I have two views.The first is a MKMapView with some annotations.Clicking a UIButton pushes a second view on the stack.This has a UITableView with a list of annotations which correspond to the map anno
Situation: I am using the \"Navigation Based Application\" project template. And my root view controller (UIViewController) needs to call a method of the app delegate.
I\'m designing quite a large App and on startup it will create sessions with a few different servers. As they are creating a session which is used across all parts of the app its something I thought w
I use NSData to persist an image in my application. I save the image like so (in my App Delegate): - (void)applicationWillTerminate:(UIApplication *)application
This question already has answers here: 开发者_Python百科 How do I create delegates in Objective-C?
I am working in xcode on an ipod app in objective C, and I have a field (navigationController) in one of my classes (rootViewController).How do I reference the instantiated rootViewController\'s navig
I\'m creating a fairly complex iPhone app using Core Data. Up until now, things have been working fine. As the app has been getting more complex, however, a new problem has come up: the first view con
I\'d like to have some settings th开发者_如何转开发at I can access from anywhere in my app. Is there a best way to implement this? Right now I\'m just sticking properties in my app delegate, then acce
I\'m working on a handling a custom URL Scheme in an app and am trying to sort out: - (BOOL)applicati开发者_如何学Goon:(UIApplication *)application handleOpenURL:(NSURL *)url
in my MainViewController implementation, I need to access variables from two different classes. one of the classes is the AppDelegate and the other is the FlipsideViewController.