Re: Views in CDBA's
Re: Views in CDBA's
- Subject: Re: Views in CDBA's
- From: Graham Cox <email@hidden>
- Date: Mon, 27 Jul 2009 16:25:13 +1000
On 27/07/2009, at 3:44 PM, David Blanton wrote:
So .. do I
1. make a view, store in this nib.
2. Render my bit map to this view.
3. Set the document view of the scroll view to this view.
Yes, that should work.
But there is an easier way. If you drag in a "custom view", set its
class to your document view class, select it, then do Layout -> Embed
Object In -> Scroll View, and it will set up the containment for you.
It's a small thing, but it saves mistakes.
--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