{"id":13504119,"url":"https://github.com/ra1028/RAReorderableLayout","last_synced_at":"2025-03-29T19:30:44.861Z","repository":{"id":24094448,"uuid":"27481750","full_name":"ra1028/RAReorderableLayout","owner":"ra1028","description":"A UICollectionView layout whitch can move item with drag and drop.","archived":true,"fork":false,"pushed_at":"2019-03-29T01:57:32.000Z","size":40863,"stargazers_count":867,"open_issues_count":36,"forks_count":140,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-03-03T08:42:34.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/ra1028.png","metadata":{"files":{"readme":"README.md","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":"2014-12-03T10:28:40.000Z","updated_at":"2025-02-22T13:37:07.000Z","dependencies_parsed_at":"2022-08-22T10:31:13.825Z","dependency_job_id":null,"html_url":"https://github.com/ra1028/RAReorderableLayout","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ra1028%2FRAReorderableLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ra1028%2FRAReorderableLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ra1028%2FRAReorderableLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ra1028%2FRAReorderableLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ra1028","download_url":"https://codeload.github.com/ra1028/RAReorderableLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246234661,"owners_count":20745011,"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-07-31T23:00:54.631Z","updated_at":"2025-03-29T19:30:43.596Z","avatar_url":"https://github.com/ra1028.png","language":"Swift","readme":"RAReorderableLayout\n=======================\n\n#### A UICollectionView layout which you can move items with drag and drop.\n\n\n## Screen shots\n![screen shot1](https://github.com/ra1028/RAReorderableLayout/raw/master/Assets/screenshot1.png)\n![screen shot2](https://github.com/ra1028/RAReorderableLayout/raw/master/Assets/screenshot2.png)\n\n\n## Animation\n![animated gif](https://github.com/ra1028/RAReorderableLayout/raw/master/Assets/animation.gif)\n\n## Requirements\n- Swift 3.0 / Xcode 8  \nOS X 10.9 or later\niOS 8.0 or later\nwatchOS 2.0 or later\ntvOS 9.0 or later\n\n_Still wanna use swift2.2 or 2.3?_  \n-\u003e You can use [0.5.0](https://github.com/ra1028/RAReorderableLayout/tree/0.5.0) instead.\n\n## Installation\n__iOS8 or later__  \n\n### CocoaPods\n```ruby\n# Podfile  \nuse_frameworks!  \n\ntarget 'YOUR_TARGET_NAME' do\n  pod 'RAReorderableLayout'\nend\n\n```\n### Carthage\n```ruby\n # Cartfile\n github \"ra1028/RAReorderableLayout\"\n```\n\n## Usage\nSetup your collection view to use RAReorderableLayout.  \nYou must reorder cells information array in RAReorderableLayoutDelegate protocol to support reordering capability.  \nSpecifically, please refer to Demo-project.\n\n\n## Protocol\n\nDelegate\n```\noptional func collectionView(collectionView: UICollectionView, atIndexPath: NSIndexPath, willMoveToIndexPath toIndexPath: NSIndexPath)\noptional func collectionView(collectionView: UICollectionView, atIndexPath: NSIndexPath, didMoveToIndexPath toIndexPath: NSIndexPath)\n\noptional func collectionView(collectionView: UICollectionView, allowMoveAtIndexPath indexPath: NSIndexPath) -\u003e Bool\noptional func collectionView(collectionView: UICollectionView, atIndexPath: NSIndexPath, canMoveToIndexPath: NSIndexPath) -\u003e Bool\n\noptional func collectionView(collectionView: UICollectionView, collectionViewLayout layout: RAReorderableLayout, willBeginDraggingItemAtIndexPath indexPath: NSIndexPath)\noptional func collectionView(collectionView: UICollectionView, collectionViewLayout layout: RAReorderableLayout, didBeginDraggingItemAtIndexPath indexPath: NSIndexPath)\noptional func collectionView(collectionView: UICollectionView, collectionViewLayout layout: RAReorderableLayout, willEndDraggingItemToIndexPath indexPath: NSIndexPath)\noptional func collectionView(collectionView: UICollectionView, collectionViewLayout layout: RAReorderableLayout, didEndDraggingItemToIndexPath indexPath: NSIndexPath)\n```\n\nDatasource\n```\noptional func collectionView(collectionView: UICollectionView, reorderingItemAlphaInSection section: Int) -\u003e CGFloat\noptional func scrollTrigerEdgeInsetsInCollectionView(collectionView: UICollectionView) -\u003e UIEdgeInsets\noptional func scrollTrigerPaddingInCollectionView(collectionView: UICollectionView) -\u003e UIEdgeInsets\noptional func scrollSpeedValueInCollectionView(collectionView: UICollectionView) -\u003e CGFloat\n```\n\n## License\nRAReorderableLayout is available under the MIT license. See the LICENSE file for more info.\n","funding_links":[],"categories":["UI","CollectionView","Libs"],"sub_categories":["Layout","UI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fra1028%2FRAReorderableLayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fra1028%2FRAReorderableLayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fra1028%2FRAReorderableLayout/lists"}