• 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
File choose context info problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: File choose context info problem
      • From: Shaun Wexler <email@hidden>
  • Prev by Date: An Xcode question
  • Next by Date: [Moderator] move to Xcode-Users (Re: An Xcode question)
  • Previous by thread: Re: An Xcode question
  • Next by thread: Re: File choose context info problem
  • Index(es):
    • Date
    • Thread