Re: scroll bars and visible rect
Re: scroll bars and visible rect
- Subject: Re: scroll bars and visible rect
- From: Mike Abdullah <email@hidden>
- Date: Fri, 04 Jan 2013 11:44:31 +0000
On 3 Jan 2013, at 17:54, koko <email@hidden> wrote:
> visibleRect
>
> Returns the visible region of the receiver, in its own coordinate space. (read-only)
>
> @property(readonly) CGRect visibleRect
> Discussion
>
> The visible region is the area not clipped by the containing scroll layer.
>
>
> And I may have answered my question since it says the visible region is not clipped by the containing scroll layer I assume the scroll bars are inside the visible rect;
No it's quite confusing wording. It's saying it's giving the area of the view that isn't clipped.
As everyone else has already pointed out though, it sounds like you're using NSScrollView but reading the CGScrollLayer docs, which makes no sense.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden