Re: CoreData and NSPasteboard for
Re: CoreData and NSPasteboard for
- Subject: Re: CoreData and NSPasteboard for
- From: Gercofis <email@hidden>
- Date: Thu, 19 Jan 2006 11:31:00 +0100
- Resent-date: Thu, 19 Jan 2006 12:51:27 +0100
- Resent-from: Gercofis <email@hidden>
- Resent-message-id: <email@hidden>
- Resent-to: email@hidden
Le 19 janv. 06 à 02:12, Steve@MacDotCom a écrit :
Since NSManagedObject doesn't implement NSCcoding whats the best
way to use the pasteboard for handling CoreData objects?
I've subclassed NSTableView to get some custom row handling, now I
want to add some drag and drop between two windows.
Sooo obviously:
- (BOOL)tableView:(NSTableView *)tv writeRows:(NSArray*)rows
toPasteboard:(NSPasteboard*)pboard {.....
Deprecated methods
– tableView:writeRows:toPasteboard:
This method has been deprecated. You should implement
tableView:writeRowsWithIndexes:toPasteboard: instead.
an explanation which does not use writeRowsWithIndexes:here:
http://homepage.mac.com/mkino2/backnumber/image/2005_11/DNDCoreData.pdf
It is not useful to outclass TableView it is simpler of customiser
ArrayController what makes an independent and reusable class.
That it is necessary to connect to DataSource and the delegate of
TableView...
I cannot use writeRowsWithIndexes, however recommended, a help will
be it come well...
iChat/AIM, Msn, Skype = Gercofis, ( speek french sorry ) _______________________________________________
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