• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSString after an UIAlertView..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSString after an UIAlertView..
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: [solved] Multiple validation errors. Why?
  • Next by Date: Re: Manually adding objects to NSArrayController
  • Previous by thread: Re: Three odd iPhone dev problems
  • Next by thread: Re: NSString after an UIAlertView..
  • Index(es):
    • Date
    • Thread