• 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: views within views?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: views within views?
      • From: Nick Zitzmann <email@hidden>
References: 
 >views within views? (From: "Brian O'Brien" <email@hidden>)
 >Re: views within views? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Creating custom VerticalRuler for NSScrollBar
  • Next by Date: Re: Right-click in NSTextView selects adjacent word?
  • Previous by thread: Re: views within views?
  • Next by thread: Re: views within views?
  • Index(es):
    • Date
    • Thread