[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

adding sheets in Interface Builder?



On 2 Mar 2004, at 9:13 pm, Mirna Pena wrote:

> I was afraid I couldn't add one in Interface Builder, but it should be 
> easy enough to do it programatically.
>
> I don't want a permanent sheet but one that pops up/hides on a user 
> action and it's almost like settings that are set for that particular 
> window (specific to what the window does and not application level) 
> and my window has several controls and was created in Interface 
> builder.

I think perhaps you've misunderstood the way custom sheets work. 
Although you can't create a sheet as a sheet in Interface Builder, you 
can run an IB-built window as a sheet, using:

[NSApp beginSheet:myIntefaceBuilderWindow modalForWindow:mywindow 
modalDelegate:whatever didEndSelector:whatever contextInfo:whatever]


-Jeremy

========================================
jeremy.dronfield@xxxxxxxxxx

theLocustFarm.net:
- fractious fiction at http://freespace.virgin.net/jeremy.dronfield
========================================