• 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: Issue while calling run modal after showing a sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue while calling run modal after showing a sheet


  • Subject: Re: Issue while calling run modal after showing a sheet
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 6 Oct 2006 00:00:51 -0700


On Oct 5, 2006, at 9:32 PM, RameshPVK wrote:

Actually , i want to provide a lookup kind of function, which will show sheet and return the selected value as return value of the function. This is a common function which will be used across many places. I do not want to use delegation pattern also.

Then you could run the run loop by repeatedly calling -[NSApplication nextEventMatchingMask:...] until the -sheetDidEnd:... method is called and is returned. But you can't run a sheet as application-modal.


Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________ 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
References: 
 >Re: Issue while calling run modal after showing a sheet (From: RameshPVK <email@hidden>)

  • Prev by Date: Re: Leopard Issues
  • Next by Date: Re: Leopard Issues
  • Previous by thread: Re: Issue while calling run modal after showing a sheet
  • Next by thread: Leopard Issues
  • Index(es):
    • Date
    • Thread