• 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
contextInfo ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

contextInfo ?


  • Subject: contextInfo ?
  • From: kubernan <email@hidden>
  • Date: Fri, 28 Dec 2001 22:55:38 +0100

Hello,

How to use contextInfo ?

I have a NSString in my app (wonderful ;-). I tried to use this object in my savePanelDidEnd method but it appears this object
is no longer available in this method. So, reading e-mails from contributors in this mailing list, i discovered
it is possible to use contextInfo for passing my NSString object in my savePanelDidEnd.
I didn't find more documentation about contextInfo parameter and my app crashes each time i try to use a contextInfo for passing a NSString object. So do you have a little sample code that could
help me ?

- (void)savePanelDidEnd:(NSSavePanel *)savePanel returnCode:(int)returnCode contextInfo:(void *)contextInfo
{
// here i want to use contextInfo as a NSString...
}

Thx a lot !

Kub.


  • Prev by Date: Re: Dynamic Menus
  • Next by Date: Running a regular expression on an NSString
  • Previous by thread: Re: Clear or delete?
  • Next by thread: Running a regular expression on an NSString
  • Index(es):
    • Date
    • Thread