Re: scroll bars and visible rect
Re: scroll bars and visible rect
- Subject: Re: scroll bars and visible rect
- From: koko <email@hidden>
- Date: Thu, 03 Jan 2013 19:23:50 -0700
I beg to differ with you all:
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.
Availability
Available in Mac OS X v10.5 and later.
Related Sample Code
ImageBrowserViewAppearance
ImageKitDemo
Declared In
CAScrollLayer.h
On Jan 3, 2013, at 11:07 AM, Kyle Sluder wrote:
> On Jan 3, 2013, at 9:54 AM, 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;
>
> Wait hold on, you ARE talking about OS X. But you copied docs that are either from Core Animation or UIKit. Neither is relevant to this discussion.
>
> --Kyle Sluder
_______________________________________________
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