{"id":18603717,"url":"https://github.com/abdullahselek/dragdropui","last_synced_at":"2025-04-11T05:36:48.429Z","repository":{"id":12845417,"uuid":"72956996","full_name":"abdullahselek/DragDropUI","owner":"abdullahselek","description":"A set of iOS UI components which have drag \u0026 drop capability.","archived":false,"fork":false,"pushed_at":"2024-05-14T10:50:32.000Z","size":428,"stargazers_count":30,"open_issues_count":0,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-10T01:49:21.096Z","etag":null,"topics":["carthage","cocoapods","drag","drop","ui-components","xcode"],"latest_commit_sha":null,"homepage":"","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/abdullahselek.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-05T22:33:01.000Z","updated_at":"2024-05-14T09:26:02.000Z","dependencies_parsed_at":"2024-12-19T20:33:44.410Z","dependency_job_id":"4628b8a1-b6ad-4bcb-87c7-1ad0d1fc43fd","html_url":"https://github.com/abdullahselek/DragDropUI","commit_stats":{"total_commits":148,"total_committers":6,"mean_commits":"24.666666666666668","dds":"0.18243243243243246","last_synced_commit":"ba08d02fb731a4c4c07b3f8e2b7488e5a57fd3c1"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FDragDropUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FDragDropUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FDragDropUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FDragDropUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdullahselek","download_url":"https://codeload.github.com/abdullahselek/DragDropUI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248349497,"owners_count":21089065,"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":["carthage","cocoapods","drag","drop","ui-components","xcode"],"created_at":"2024-11-07T02:15:13.402Z","updated_at":"2025-04-11T05:36:48.401Z","avatar_url":"https://github.com/abdullahselek.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/abdullahselek/DragDropUI.svg?branch=master)](https://travis-ci.org/abdullahselek/DragDropUI)\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/DragDropUI.svg)](https://cocoapods.org/pods/DragDropUI)\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n\n# DragDropUI\nA set of iOS UI components which have drag \u0026amp; drop capability. There is also a information [link](http://gargo.of.by/dragdropui/) which is translated to Russian by @gerchicov-bp.\n\n## Requirements\n\n| DragDropUI Version | Minimum iOS Target  | Swift Version |\n|:--------------------:|:---------------------------:|:---------------------------:|\n| 1.1.0 | 11.0 | 5.x |\n| 1.0.5 | 9.0 | 5.x |\n| 1.0.4 | 9.0 | 4.1 |\n| 1.0.3 | 9.0 | 4.0 |\n| 1.0.2 | 8.0 | 3.x |\n\n## CocoaPods\n\nCocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:\n\n```\n$ gem install cocoapods\n```\n\nTo integrate DragDropUI into your Xcode project using CocoaPods, specify it in your Podfile:\n\n```\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '9.0'\nuse_frameworks!\n\ntarget '\u003cYour Target Name\u003e' do\n\tpod 'DragDropUI', '~\u003e 1.1.0'\nend\n```\n\nThen, run the following command:\n\n\t$ pod install\n\n## Carthage\n\nCarthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.\n\nYou can install Carthage with Homebrew using the following command:\n\n```\nbrew update\nbrew install carthage\n```\n\nTo integrate DragDropUI into your Xcode project using Carthage, specify it in your Cartfile:\n\n```\ngithub \"abdullahselek/DragDropUI\" ~\u003e 1.1.0\n```\n\nRun carthage update to build the framework and drag the built DragDropUI.framework into your Xcode project.\n\n## Swift Package Manager\n\nModify your `Package.swift` file to include the following dependency:\n\n```\n.package(url: \"https://github.com/abdullahselek/DragDropUI.git\", from: \"1.0.5\")\n```\n\nRun `swift package resolve`\n\n## XCFramework\n\nXCFrameworks require Xcode 11 or later and integration is very similar to integration of .framework format. Please use script [scripts/build-framework.sh](scripts/build-framework.sh) to generate binary DragDropUI.xcframework archive that you can use as a dependency in Xcode.\n\nDragDropUI.xcframework is a Release (Optimized) binary that offer best available Swift code performance.\n\n## DragDropUI contains\n\n- [x] DDView\n- [x] DDButton\n- [x] DDImageView\n- [x] DDLabel\n- [x] DDTableViewCell\n- [x] DDCollectionViewCell\n- [x] DDTextField\n\n### It is so simple to use these components. You can just directly add them on storyboard or xib file and set its class with the DD ones.\n\n### If you prefer adding with code it is also enabled. Creating with frame and then adding contrants is enough!\n\n## Example Usage\n\n```\nimport UIKit\nimport DragDropUI\n\nclass ViewController: UIViewController {\n\n    @IBOutlet weak var draggableView: DDView!\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        draggableView.ddDelegate = self\n    }\n\n}\n```\n\n```\nextension ViewController: DDViewDelegate {\n\n    func viewWasDragged(view: UIView, draggedPoint: CGPoint) {\n        print(NSStringFromCGPoint(draggedPoint))\n    }\n\n    func viewWasDropped(view: UIView, droppedPoint: CGPoint) {\n        print(NSStringFromCGPoint(droppedPoint))\n    }\n\n}\n```\n\n## License\n\n```\nMIT License\n\nCopyright (c) 2016 Abdullah Selek\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahselek%2Fdragdropui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdullahselek%2Fdragdropui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahselek%2Fdragdropui/lists"}