• 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
UITableViewCell showsReorderControl does nothing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UITableViewCell showsReorderControl does nothing


  • Subject: UITableViewCell showsReorderControl does nothing
  • From: Roland King <email@hidden>
  • Date: Fri, 31 Dec 2010 21:52:29 +0800

I've read the UITableView / UITableViewCell documentation for reordering several times now. As I understand it in order to have a reorder control shown when the table goes into editing mode you have to have the following

1) showsReorderControl of the UITableViewCell == YES
2) tableView:canMoveRowAtIndexPath: must return YES  --- which is does by default if you
3) implement tableView:moveRowAtIndexPath

I've implemented 3) and not touched the default implementation of 2). It doesn't matter however what I set showsReorderControl on my UITableViewCells to, YES, or NO, the reorder control shows every time the table goes into editing mode.

This even happens when I have an accessory view set on the UITableViewCell, it's replaced with the editing control when the table goes into edit mode.

I cannot find anything which setting showsReorderControl actually does. Can anyone who understands this better explain what it's used for or point me to a piece of documentation which explains it.

Thanks

Roland_______________________________________________

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

  • Prev by Date: Re: Calculate next occurrence of a NSDate
  • Next by Date: Getting a keystroke event to an NSTextView in another window.
  • Previous by thread: NSTableHeaderView, how to clear title before resetting new title
  • Next by thread: Getting a keystroke event to an NSTextView in another window.
  • Index(es):
    • Date
    • Thread