Re: NSWindow With IB
Re: NSWindow With IB
- Subject: Re: NSWindow With IB
- From: Philip Bridson <email@hidden>
- Date: Thu, 1 May 2008 22:02:46 +0100
Why is it that when you get the answer you always wonder why you
hadn't thought of it yourself? I've done this method so many times
with other classes but it just didn't occur to me. Never-mind.
Thank you for your help.
Phil.
On 1 May 2008, at 21:58, Kyle Sluder wrote:
On Thu, May 1, 2008 at 4:53 PM, Philip Bridson
<email@hidden> wrote:
I don't mind manipulating it with code if I have to.
Subclass NSWindow and override
-initWithContentRect:styleMask:backing:defer to pass your custom
window mask to super's implementation. Then in the identity pane of
IB, set the class of the window to your custom class. At runtime,
things should Just Work(TM).
--Kyle Sluder
_______________________________________________
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