• 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: Subview display problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subview display problem


  • Subject: Re: Subview display problem
  • From: DKJ <email@hidden>
  • Date: Tue, 28 Oct 2008 07:42:57 -0700

On 28 Oct, 2008, at 06:54, I. Savant wrote:

On Tue, Oct 28, 2008 at 9:23 AM, DKJ <email@hidden> wrote:

I'm having no luck getting a subview to display. In the awakeFromNib of the
controller I have this:


helpView = [[MyView alloc] init];

NSView's designated initializer is -initWithFrame: ... what happens if you use that instead?



Good point. I changed the line to this:

	helpView = [[MyView alloc] initWithFrame:[theView frame]];

But the result was the same: a brief flash of colour. I also tried passing NSZeroRect instead of [theView frame], and it made no difference.
_______________________________________________


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


  • Follow-Ups:
    • Re: Subview display problem
      • From: "I. Savant" <email@hidden>
References: 
 >Subview display problem (From: DKJ <email@hidden>)
 >Re: Subview display problem (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Can we ask iPhone questions yet?
  • Next by Date: Re: Subview display problem
  • Previous by thread: Re: Subview display problem
  • Next by thread: Re: Subview display problem
  • Index(es):
    • Date
    • Thread