• 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
Image view binding doesn't update on nil values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Image view binding doesn't update on nil values


  • Subject: Image view binding doesn't update on nil values
  • From: Ben Lachman <email@hidden>
  • Date: Tue, 15 Apr 2008 04:16:36 -0400

I have an image view and its value binding is bound to a transient property of a CD object (a cached thumbnail). However when a user removes an image from the image view I am sending the image view [imageView setImage:nil] (or any similar variant). When I do this the CD object never gets its setter method called as I would expect. The reverse is also true--if I set the CD object's property using [imageMO setValue:nil forKey:@"thumbnail] the value is correctly set in the object but the imageview is not updated. Any thoughts on why this doesn't happen automatically?

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: Documents, Archived Objects, and Bindings
  • Next by Date: Getting feedback from application
  • Previous by thread: Re: Documents, Archived Objects, and Bindings [Nevermind...]
  • Next by thread: Getting feedback from application
  • Index(es):
    • Date
    • Thread