• 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
Re: reordering table cells with 10.5 sdk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reordering table cells with 10.5 sdk


  • Subject: Re: reordering table cells with 10.5 sdk
  • From: Mitchell Livingston <email@hidden>
  • Date: Wed, 31 Oct 2007 12:49:23 -0400

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: reordering table cells with 10.5 sdk
      • From: Corbin Dunn <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>)

  • Prev by Date: Re: Determine if App is launched thru alias?
  • Next by Date: Re: problems building on 10.5 for 10.4
  • Previous by thread: Re: reordering table cells with 10.5 sdk
  • Next by thread: Re: reordering table cells with 10.5 sdk
  • Index(es):
    • Date
    • Thread