Re: views within views?
Re: views within views?
- Subject: Re: views within views?
- From: "Brian O'Brien" <email@hidden>
- Date: Tue, 12 Apr 2005 15:35:51 -0600
On Apr 12, 2005, at 3:06 PM, Nick Zitzmann wrote:
On Apr 12, 2005, at 2:53 PM, Brian O'Brien wrote:
What do I do to instantiate an instance of MyImageView such that it
gets a rectangle on MyImageSuperView?
Use the -addSubview: method on MyImageSuperView with MyImageView as
the argument.
Is this what initWithFrame is for?
-initWithFrame: is the designated initializer for NSView.
Nick Zitzmann
<http://www.chronosnet.com/>
Ok thats very cool and it seems to work...
However how to I tell the subview that its rectangle has moved or
changed size?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden