Re: Panning a View
Re: Panning a View
- Subject: Re: Panning a View
- From: Graham Cox <email@hidden>
- Date: Wed, 29 Jul 2009 02:01:15 +1000
On 29/07/2009, at 1:56 AM, David Blanton wrote:
Is this the correct approach:
In the MyDocument.xib add a scroll view to the window.
At some place in the app instance a view and set this view as the
document view of the scroll view.
Draw into this view.
Scrollers will update etc.
Add the view to the nib, Use Layout -> Embed Objects In -> Scroll View.
Make the size (frame) of the view bigger than the scrollview and the
view will scroll.
--Graham
_______________________________________________
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