Very simple setup in a test project. I have an array controller with content 
bound to App Delegate's "objects" array, and I have a slider control bound to 
the controller's selection.value. I set App Delegate's objects array to an 
array with an NSString in it. So the NSString *does not respond* to value, so 
normally this would raise an exception. If you turn off Raises For Not 
Applicable Keys on the slider's Value binding, then the application leaks an 
NSString from within valueForKeyPath:. 


http://www.sethwillits.com/temp/BindingRaiseLeak.zip
http://sethwillits.com/temp/upshot/upshot_xMuBExbD.jpg

It leaks for each binding with the setting turned off, each time the selection 
changes.


Thoughts? Will radar it if I'm not missing something.


--
Seth Willits




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to