Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread Display Modes
Old Mar 9, 2012, 04:02 AM   #1
macrumors newbie
Join Date: Feb 2012
window question

I am trying to get my head around the difference between sheets and panels and other types of windows.

Could someone please tell me what is being used by the Mac Mail application (on Lion if that makes a difference) when one chooses Add Account from the file menu?
sgthree is offline   0 Reply With Quote
Old Mar 9, 2012, 11:06 AM   #2
macrumors 68000
Sydde's Avatar
Join Date: Aug 2009
A sheet is a modal dialog that you attach to a window with a method call that causes it to be displayed. The idea was to make a modal dialog that did not block the user from doing things elsewhere (clicking into other windows) while it is displayed, also clarifying the dialog's target window.

Typically, you would build a sheet's layout in interface builder as a window object, then use that object as an argument to the method call that displays the sheet. File open/save sheets are a little more complicated to code yourself because they are asynchronous, but most of the time you just let NSDocument handle that for you.

Sheet Programming Guide
You got to be a spirit. You can't be no ghost.
Sydde is offline   0 Reply With Quote

MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Home Network folder question mark rgarcia1801 Mac OS X 10.7 Lion 0 Dec 5, 2011 09:15 AM
Installing 64 Bit Windows and other Questions Huntn Windows, Linux & Others on the Mac 10 Apr 25, 2011 10:32 AM
Windows Questions TEG Community 3 May 16, 2003 11:24 AM
some more ipod for windows questions taeclee99 General Mac Discussion 7 Dec 28, 2002 09:10 PM
Ipod for windows question? taeclee99 General Mac Discussion 0 Jul 17, 2002 05:56 PM

All times are GMT -5. The time now is 10:32 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013,, LLC