views:

39

answers:

1

I developing an app, and I have an object with data from the user but this object has to be used in different views. I would like to know the best and more light way to share the object between differents views.

Actually I have the object in the appDelegate and I'm trying to access by the following method

yourObject* obj = [(YourAppDelegate*)[[UIApplication sharedApplication] delegate] yourObject];
A: 

I asked a similar question before. I think you can choose among app delegate, global extern and NSUserDefaults.

ohho