• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Views in CDBA's
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Views in CDBA's (From: David Blanton <email@hidden>)

  • Prev by Date: Re: Cocoa Document-Based App v. Windows MDI App
  • Next by Date: Re: How to display the information in the columns of the table view?
  • Previous by thread: Views in CDBA's
  • Next by thread: Re: Views in CDBA's
  • Index(es):
    • Date
    • Thread