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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to