• 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
CoreData fed ImageView blank on first run.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData fed ImageView blank on first run.


  • Subject: CoreData fed ImageView blank on first run.
  • From: Ben Lachman <email@hidden>
  • Date: Thu, 6 Mar 2008 02:54:17 -0500

I have an NSImageView subclass that displays thumbnails of a CoreData attribute via its value binding. The thumbnail (an NSImage) is stored as a transient attribute and updated lazily as needed. This all works and looks great except for the first time the app is launched(and sets up a lot of state). Throughout this run the ImageView is blank white. Debugging leads me to believe that the bindings seem to be intact and that the data is correct coming out of coredata, however the ImageView never gets a drawRect: call even when it's direct superview does. Anyone run into something like this or have any pointers?

Thanks,
->Ben
--
Ben Lachman
Acacia Tree Software

http://acaciatreesoftware.com

email@hidden
740.590.0009



_______________________________________________

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


  • Prev by Date: Re: Deferring a selector until later, but before painting
  • Next by Date: Re: Deinterlacing QTCaptureDecompressedVideoOutput
  • Previous by thread: Re: Need help with NSToolbarItem subclass and custom view
  • Next by thread: CoreAnimation efficiency
  • Index(es):
    • Date
    • Thread