Re: Core Data Binding: Reading a binary image (TIFF) {part deux}
Re: Core Data Binding: Reading a binary image (TIFF) {part deux}
- Subject: Re: Core Data Binding: Reading a binary image (TIFF) {part deux}
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 4 Jan 2006 18:11:24 -0800
On Jan 4, 2006, at 3:40 PM, Frederick C. Lee wrote:
[self setImage:[[NSImage alloc]initWithData:imageData]];
(a) This leaks the image.
(b) You should be using the primitive setter -- see <http://
developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/
cdNSAttributes.html>.
value = selection.map[Region Array Controller(NSArrayController)]
The value binding uses an NSImage -- see <http://developer.apple.com/
documentation/Cocoa/Reference/CocoaBindingsRef/BindingsText/
NSImageView.html#//apple_ref/doc/uid/NSImageView-DontLinkElementID_221>.
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden