CoreData fed ImageView blank on first run.
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