contextInfo ?
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.