• 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: Saving unseen NSView with subviews to NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving unseen NSView with subviews to NSImage


  • Subject: Re: Saving unseen NSView with subviews to NSImage
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 29 Dec 2008 16:28:46 -0500

On Mon, Dec 29, 2008 at 4:02 PM, John Kestner <email@hidden> wrote:

> I guess I just don't understand why an NSView will draw all its subviews to
> screen, but when I try doing it offscreen into a file, the subviews won't
> draw without a lot of work. Any advice is appreciated.

  Just by way of a quick reply, are you sure your subviews are
actually nested subviews in IB? In other words, you're sure you
haven't merely dropped views "atop" your main parent view?

  This is a pretty common mistake for those new to Interface Builder /
Cocoa. Positioning a view so that it is "over" another view does not
make it a subview. This would have the affect you described (if I've
read what you described correctly).

--
I.S.
_______________________________________________

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

  • Follow-Ups:
    • Re: Saving unseen NSView with subviews to NSImage
      • From: John Kestner <email@hidden>
References: 
 >Saving unseen NSView with subviews to NSImage (From: John Kestner <email@hidden>)
 >Re: Saving unseen NSView with subviews to NSImage (From: John Kestner <email@hidden>)

  • Prev by Date: Re: Pull Down Toolbar Item
  • Next by Date: newbie question, core data app startup
  • Previous by thread: Re: Saving unseen NSView with subviews to NSImage
  • Next by thread: Re: Saving unseen NSView with subviews to NSImage
  • Index(es):
    • Date
    • Thread