• 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: Creating custom sheets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating custom sheets


  • Subject: Re: Creating custom sheets
  • From: "Sherm Pendley" <email@hidden>
  • Date: Fri, 21 Mar 2008 10:44:24 -0400

On Fri, Mar 21, 2008 at 9:42 AM, Ken Thomases <email@hidden> wrote:

> On Mar 20, 2008, at 7:37 PM, Kevin Dixon wrote:
> > I want to create a custom sheet that displays a bit of text, a
> > progress
> > bar and an abort button. The Apple docs say use interface builder to
> > make
> > the UI for the sheet, but what should I add to my NIB, a window,
> > panel, or
> > custom view?
>
> A window.  :)


That's what I'd use for new work. But, as someone else noted in another
recent discussion, an NSPanel works just as well, so I wouldn't bother
changing any NIBs that were created with NSPanel.


> Notice the argument types for the beginSheet... and related methods.


NSPanel is a subclass of NSWindow, and one can usually pass subclasses of
the declared argument type.

sherm--
_______________________________________________

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: Creating custom sheets
      • From: Ken Thomases <email@hidden>
References: 
 >Creating custom sheets (From: "Kevin Dixon" <email@hidden>)
 >Re: Creating custom sheets (From: Ken Thomases <email@hidden>)

  • Prev by Date: Sync Services between Address Book and a web server
  • Next by Date: iPhone/iPod Touch
  • Previous by thread: Re: Creating custom sheets
  • Next by thread: Re: Creating custom sheets
  • Index(es):
    • Date
    • Thread