• 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: newbie view help understanding (rulers example)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie view help understanding (rulers example)


  • Subject: Re: newbie view help understanding (rulers example)
  • From: Fritz Anderson <email@hidden>
  • Date: Fri, 7 Jan 2005 10:16:48 -0600

On 5 Jan 2005, at 9:52 PM, Mark Dawson wrote:

What is the difference between "bounds" and "frame" for Cocoa?

The frame rectangle is the portion of the superview that a view occupies. It is in the superview's coordinates. Its origin has no effect on the view; its size does affect the view.


The bounds rectangle describes the origin and span of the view in the view's coordinates. It defines the view's coordinate system. It has no effect on the superview.

	-- F

 --
Fritz Anderson
Consulting Programmer				Chicago, Illinois
http://resume.manoverboard.org/

_______________________________________________
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


References: 
 >newbie view help understanding (rulers example) (From: Mark Dawson <email@hidden>)

  • Prev by Date: Re: How Do I Flip An NSScrollView?
  • Next by Date: Re: [Newbie] How to make application reappear after a close?
  • Previous by thread: newbie view help understanding (rulers example)
  • Next by thread: Get text height to print a custom view with NSTextView subview
  • Index(es):
    • Date
    • Thread