{"id":18270764,"url":"https://github.com/FlorianMielke/FMMoveTableView","last_synced_at":"2025-04-05T01:30:49.960Z","repository":{"id":2841443,"uuid":"3844934","full_name":"FlorianMielke/FMMoveTableView","owner":"FlorianMielke","description":"Discontinued: Please use iOS 11's Drag \u0026 Drop capability instead.","archived":true,"fork":false,"pushed_at":"2018-03-07T09:49:02.000Z","size":241,"stargazers_count":622,"open_issues_count":2,"forks_count":101,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-03-19T11:03:36.996Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FlorianMielke.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-27T15:06:47.000Z","updated_at":"2024-12-18T11:57:26.000Z","dependencies_parsed_at":"2022-08-20T20:20:34.123Z","dependency_job_id":null,"html_url":"https://github.com/FlorianMielke/FMMoveTableView","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianMielke%2FFMMoveTableView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianMielke%2FFMMoveTableView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianMielke%2FFMMoveTableView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianMielke%2FFMMoveTableView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FlorianMielke","download_url":"https://codeload.github.com/FlorianMielke/FMMoveTableView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276043,"owners_count":20912286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T11:38:51.361Z","updated_at":"2025-04-05T01:30:49.337Z","avatar_url":"https://github.com/FlorianMielke.png","language":"Objective-C","readme":"Discontinued\n------------\n\niOS 11 introduced Drag \u0026 Drop capability for `UITableView` and `UICollectionView`. Please use that instead of `FMMoveTable`.\n\n\nFMMoveTable\n=======================\n\n`FMMoveTable` is an `UITableView` subclass that provides moving rows by simply tap and hold an appropriate row *without* switching the table to its edit mode.\n\n![](Sample.gif)\n\nDonations\n---------\n\nI wrote FMMoveTable for use in one of my own apps and think that it could be quite useful (and very time-saving) for others. \n\nIf you find it helpful, a Paypal donation would be very appreciated (donation [at] madeFM [dot] com).\n\n\nHow to use\n----------\n\n1.\tImport the `QuartzCore` framework.\n2.\tAdd FMMoveTableView.(h/m) and FMMoveTableViewCell.(h/m) to your project\n3.\tChange you `UITableView` subclass to be a subclass of `FMMoveTableView`\n4.\tChange your `UITableViewCell` subclass to be a subclass of `FMMoveTableViewCell`\n5.\tUpdate your `UI(Table)ViewController` to conform to `FMMoveTableViewDataSource` and (optional) `FMMoveTableViewDelegate`\n6.\tImplement at least the delegate method `moveTableView:moveRowFromIndexPath:toIndexPath:` to update your model after a move\n7.\tImplement some additional checked in your table view data source / delegate. Check the `FMMoveViewController`for further details\n\nBackground\n----------\n\n**FMMoveTableView** \n\nAddopts the known `UITableViewDataSource` and `UITableViewDelegate` methods to check whether a row:\n\n* **Will move:** `moveTableView:willMoveRowAtIndexPath:`\n* **Can be moved:** `moveTableView:canMoveRowAtIndexPath:`\n* **Can move to an index path:** `moveTableView:targetIndexPathForMoveFromRowAtIndexPath:toProposedIndexPath:`\n* **Did move:** `moveTableView:moveRowFromIndexPath:toIndexPath:`\n\n\n***\n\n\n**FMMoveTableViewCell** \n\nUses a method `prepareForMove` that you may need to overwrite if you use a custom subclass. \n\nIn it's basic implementation it resets the `textLabel`, `detailTextLabel` and `imageView`.\n\n\n\nContact\n-------\n\nI can't answer any questions about how to use the code, but I'd love to read any emails telling me that you're using it, creating an app with it, or just saying thanks.\n\n\u003e -- Florian\n\nTwitter: [@FlorianMielke](http://twitter.com/FlorianMielke)\n","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFlorianMielke%2FFMMoveTableView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFlorianMielke%2FFMMoveTableView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFlorianMielke%2FFMMoveTableView/lists"}