File choose context info problem
File choose context info problem
- Subject: File choose context info problem
- From: <email@hidden>
- Date: Mon, 15 Aug 2005 13:57:37 -0400
- Bounce-to: <email@hidden>
In my application I have two different buttons each activating a single
file chooser method. I have set the button tags to 0 and 1. In the file
chooser I have attempted to pass [NSNumber numberWithInt:[sender tag]]
as the contextInfo parameter, but when it gets to the
chooserFinished:returnCode:contextInfo method it crashes the application
in Mac os 10.3.9 and below.
It works in 10.4x though.
I must not understand what the contextInfo parameter is for. I thought
since it was a void pointer you could pass anything to it. Can some one
help shed some light on this for me?
Thanks,
Mark.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden