{"id":20153498,"url":"https://github.com/tiskender2/ticketkit","last_synced_at":"2025-10-28T18:16:43.036Z","repository":{"id":56924245,"uuid":"283219371","full_name":"tiskender2/TicketKit","owner":"tiskender2","description":"A framework that create easily Ticket or Coupon","archived":false,"fork":false,"pushed_at":"2020-07-30T14:16:08.000Z","size":423,"stargazers_count":22,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-23T23:26:51.907Z","etag":null,"topics":["cocapods","coupon","framework","swift","ticket","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/tiskender2.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":"2020-07-28T13:23:48.000Z","updated_at":"2025-01-25T13:37:24.000Z","dependencies_parsed_at":"2022-08-21T05:20:34.622Z","dependency_job_id":null,"html_url":"https://github.com/tiskender2/TicketKit","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiskender2%2FTicketKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiskender2%2FTicketKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiskender2%2FTicketKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiskender2%2FTicketKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiskender2","download_url":"https://codeload.github.com/tiskender2/TicketKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248114940,"owners_count":21050144,"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":["cocapods","coupon","framework","swift","ticket","xcode"],"created_at":"2024-11-13T23:19:16.708Z","updated_at":"2025-10-28T18:16:42.960Z","avatar_url":"https://github.com/tiskender2.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TicketKit\n\n#### TicketKit is a framework that can use as a Ticket, Coupon or any way you like\n![github-small](https://i.ibb.co/tKzWdTs/Screen-Shot-2020-07-29-at-09-01-20.png)\n```swift\nimport TicketKit\n\nticketView.enrollContentImage.image = UIImage(named: \"qr\")\nticketView.showEnrollImage()\n```\n![github-small](https://i.ibb.co/pZnR50G/Screen-Shot-2020-07-29-at-09-09-15.png )\n```swift\nimport TicketKit\n\nticketView.enrollContentImage.image = UIImage(named: \"soldout\")\nticketView.showEnrollImage()\n```\n![github-small](https://i.ibb.co/4JJ7fYX/Screen-Shot-2020-07-29-at-09-02-58.png )\n```swift\nimport TicketKit\n\nticketView.showPurchaseButton() // Default\n```\n![github-small](https://i.ibb.co/THgdmkn/Screen-Shot-2020-07-29-at-09-00-16.png )\n```swift\nimport TicketKit\n\nticketView.hideDetailView()\n```\n\n## Requirements\nSwift `4.2` \u0026 `5.0`. Ready for use on iOS 11.3+\n\n## Installation\n\nTo integrate `TicketKit` into your Xcode project using CocoaPods, specify it in your Podfile:\n\n```bash\nplatform :ios, '9.0'\nuse_frameworks!\n\ntarget '\u003cYour Target Name\u003e' do\npod 'TicketKit', :git =\u003e 'https://github.com/tiskender2/TicketKit.git'\nend\n```\nThen, run the following terminal command:\n```bash\npod install\n```\n#### Manual\n\nDrag `TicketKit.swift` from the `source` folder into your Xcode project.\n## Usage\n```swift\nimport TicketKit\n@IBOutlet weak var ticketView: TicketKit!\n\nticketView.contentImage.image = UIImage(named: \"joker\")\nticketView.contentTitle.text = \"Joker\"\nticketView.duration.text = \"2hr 2min\"\nticketView.genre.text = \"Drama,Action\"\nticketView.rating.text = \"8.5\"\nticketView.price.text = \"$30\"\nticketView.subTitle.text = \"StoryLine\"\nticketView.desc.text = \"desc\"\n\nticketView.durationTitle.text = \"DURATION\"\nticketView.genreTitle.text = \"GENRE\"\n\n// to change background Color\nticketView.topView.backgroundColor = .blue\nticketView.bottomView.backgroundColor = .blue\n```\nIf you want to clipped view add below code in `override func draw(_ rect: CGRect)` or  `override func viewDidAppear(_ animated: Bool) ` \n```swift\nticketView.addClips(to: .topView, corner: [.bottom,.top]) // default no clip\nticketView.setupDashedLine(fillColor: UIColor.blue.cgColor) // to change dashed line color, default is white\n```\n## Apps using this framework\n\nIf you're using this control, I'd love hearing from you! and\ndon't forget to `put star ★`\n\n## Credits\nTicketKit was originally created by [Tolga İskender](https://www.linkedin.com/in/tolga-iskender/)\n## License\nTicketKit is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiskender2%2Fticketkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiskender2%2Fticketkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiskender2%2Fticketkit/lists"}