• 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
Re: Using Alert Sheets for multiple methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Alert Sheets for multiple methods


  • Subject: Re: Using Alert Sheets for multiple methods
  • From: Larry Fransson <email@hidden>
  • Date: Tue, 4 May 2004 15:18:10 -0700

On May 4, 2004, at 08:08, Frederick C. Lee wrote:

I'm assuming that the 'contextInfo' parameter determines the source of
the sheet. How is this implemented?

Since it's passing a void pointer, you can put whatever you want there. In the case of one application I'm currently working on, I pass a string literal (e.g., @"string literal") that I use to determine context and act accordingly.

Larry Fransson
Seattle, WA
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Using Alert Sheets for multiple methods (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: Re: NSTextField and bindings
  • Next by Date: Re: The current keyboard icon?
  • Previous by thread: Re: Using Alert Sheets for multiple methods
  • Next by thread: NSTextField and bindings
  • Index(es):
    • Date
    • Thread