• 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: Trying to display a simple sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to display a simple sheet


  • Subject: Re: Trying to display a simple sheet
  • From: Scott Ribe <email@hidden>
  • Date: Mon, 19 Jan 2009 18:10:03 -0700
  • Thread-topic: Trying to display a simple sheet

NSApp beginSheet is the correct method, without any runModalForWindow.

The modalForWindow argument is *not* the sheet window, it is the window on
which to display the sheet. And of course you don't create an empty sheet to
display it...

I'm guessing that [sourceTableView window] is the window you want to display
as a sheet, and the window on which you want to display is not shown in your
code--but your code sample doesn't provide enough context to really see
what's going on.

--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Trying to display a simple sheet
      • From: Harry Plate <email@hidden>
References: 
 >Trying to display a simple sheet (From: Harry Plate <email@hidden>)

  • Prev by Date: Re: ObjC in time-critical parts of the code
  • Next by Date: Coredate: change source Entity in IB
  • Previous by thread: Trying to display a simple sheet
  • Next by thread: Re: Trying to display a simple sheet
  • Index(es):
    • Date
    • Thread