• 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: SubViews and Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SubViews and Events


  • Subject: Re: SubViews and Events
  • From: Uli Kusterer <email@hidden>
  • Date: Wed, 16 Aug 2006 17:44:30 +0200


Am 16.08.2006 um 16:17 schrieb Jerrod Fowkes:

however each of the views' rect in their respective drawRect does not correspond to the rect that it was initialized with. Which is a problem, because they keep drawing over the first subView.

The rect you get to drawRect: is the area of your view that needs updating (in your view's coordinate system). The actual rect of the view must be obtained via the bounds and frame methods. It might help if you had another look at the docs to make sure you didn't miss other similar details.


Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ 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: 
 >Re: SubViews and Events (From: Jerrod Fowkes <email@hidden>)

  • Prev by Date: Re: Drag and drop to an NSTextView
  • Next by Date: Create EPS with tiff preview from any EPS
  • Previous by thread: Re: SubViews and Events
  • Next by thread: wchar_t (utf-32) to NSString to utf-16
  • Index(es):
    • Date
    • Thread