• 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: NSView resizing problems.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSView resizing problems. (From: Geoffrey Holden <email@hidden>)
 >Re: NSView resizing problems. (From: Keary Suska <email@hidden>)
 >Re: NSView resizing problems. (From: Geoffrey Holden <email@hidden>)

  • Prev by Date: Re: NSInvocationOperation problem with a signal exc_bad_access
  • Next by Date: Re: Accessing NSDistantObject from different threads concurrently
  • Previous by thread: Re: NSView resizing problems.
  • Next by thread: Re: NSView resizing problems.
  • Index(es):
    • Date
    • Thread