NSString after an UIAlertView..
NSString after an UIAlertView..
- Subject: NSString after an UIAlertView..
- From: Jon <email@hidden>
- Date: Thu, 18 Mar 2010 22:53:09 -0600
I have a class set up, and in the header file, I have instances of NSString that i want to hang around for all the methods of the class to be able to use...(why they are declared in the header file). when i create an instance of the class to use.... I have a problem.
I create one instance of this class that hangs around while the whole program is executing... or even if it is just called up for a short time.. (this is a view type of class that creates a subView over the main view... ..
several of those methods in the class call UIAlertView, and suddenly the information in the NSStrings that i had instanced in the header of the class and am actively using, disappears each time a method calls up a UIAlertView...... i think because it is creating its own subview on top of everything and all the strings instances are lost at that moment...
so the question is: what is the best way to keep "strings" around that i deem important enough to still have them after a call to UIAlertView.??
Jon.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden