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

On Tue, Oct 28, 2008 at 9:23 AM, DKJ <[EMAIL PROTECTED]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to