Re: NSView resizing problems.
Re: NSView resizing problems.
- Subject: Re: NSView resizing problems.
- From: Kyle Sluder <email@hidden>
- Date: Mon, 20 Sep 2010 10:12:14 -0700
On Sep 20, 2010, at 8:31 AM, Geoffrey Holden <email@hidden> wrote:
> You make an excellent point. But you raise two questions.
>
> 1. If '' isn't the correct way to initialize, what is?
Read the docs. NSView has two dedicated initializers, neither of which is -init.
> 2. Should I just create an arbitrary placeholder framesize and use that
> during initialization? Or is it acceptable to set no framesize at all at
> this stage?
Why are you creating a view at all? Just add the one you've loaded from NIB to your tab view. It already has a size.
--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