Re: Rotate a standard Cocoa control?
Re: Rotate a standard Cocoa control?
- Subject: Re: Rotate a standard Cocoa control?
- From: email@hidden
- Date: Fri, 29 May 2015 13:54:48 +0900
> On 2015/05/11, at 20:41, Graham Cox <email@hidden> wrote:
>
> Aha… I do see those. They were not the subject of the WWDC video I watched - maybe dangerwill was referring to a different one? These look potentially useful, I’ll check them out.
>
> ―Graham
You had the right video I believe. The trick is it is dense material and they talk like it's all about the scroll view hierarchy but in fact scrolling input is implemented at the NSView level.
The NSScrollView hierarchy manages scrollers, rubberbanding and positioning of a view inside of a clipview. The document view is the view that receives and handles all the events and the reason NSView has an enclosingScrollView method, so it can talk to it if it's there.
The docs don't frame it up like this but it's real. :)
Controls are perfect use cases.
_______________________________________________
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