Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reordering table cells with 10.5 sdk



I implement all the datasource methods, register for the drag types, and commented out the custom tableview's mouseUp/Down methods, but still nothing when compiled for 10.5. writeRowsWithIndexes:... isn't being called. Any other info I could give that could be helpful?

Thanks,
Mitch

On Oct 30, 2007, at 9:35 PM, mmalc crawford wrote:

On Oct 30, 2007, at 6:00 PM, Mitchell Livingston wrote:

I have set my project to use the 10.5 sdk, and now the rows cannot be reordered. If I set it to 10.4 sdk they can be again. It appears that - (BOOL)tableView:(NSTableView *)aTableView writeRowsWithIndexes:(NSIndexSet *)rowIndexes toPasteboard: (NSPasteboard*)pboard is not being called with the 10.5 sdk. Should I be using something else instead, or could anything else be wrong?

There's probably some other problem. See <http://homepage.mac.com/mmalc/CocoaExamples/Bookmarks.zip > for an example that works correctly on 10.4 and 10.5 (currently comment out the NSIndexSet category for 10.5).

mmalc


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >reordering table cells with 10.5 sdk (From: Mitchell Livingston <email@hidden>)
 >Re: reordering table cells with 10.5 sdk (From: mmalc crawford <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.