{"id":24733616,"url":"https://github.com/fanta1ty/ttopimagebottomlabelbutton","last_synced_at":"2025-03-22T16:22:27.585Z","repository":{"id":57746431,"uuid":"521155494","full_name":"fanta1ty/TTopImageBottomLabelButton","owner":"fanta1ty","description":"TTopImageBottomLabelButton is a simple and flexible UI component fully written in Swift. TTopImageBottomLabelButton is developed to help programmers create a button with top image and bottom title quickly without having to write many lines of codes.","archived":false,"fork":false,"pushed_at":"2022-08-04T07:24:47.000Z","size":145,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T21:05:38.166Z","etag":null,"topics":["bottom","button","framework","image","ios","ios9","label","lib","library","swift","swift5","uikit"],"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/fanta1ty.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":"2022-08-04T06:47:49.000Z","updated_at":"2022-08-18T14:18:20.000Z","dependencies_parsed_at":"2022-08-27T19:11:49.638Z","dependency_job_id":null,"html_url":"https://github.com/fanta1ty/TTopImageBottomLabelButton","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/fanta1ty%2FTTopImageBottomLabelButton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fanta1ty%2FTTopImageBottomLabelButton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fanta1ty%2FTTopImageBottomLabelButton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fanta1ty%2FTTopImageBottomLabelButton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fanta1ty","download_url":"https://codeload.github.com/fanta1ty/TTopImageBottomLabelButton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244983589,"owners_count":20542485,"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":["bottom","button","framework","image","ios","ios9","label","lib","library","swift","swift5","uikit"],"created_at":"2025-01-27T18:17:24.010Z","updated_at":"2025-03-22T16:22:27.560Z","avatar_url":"https://github.com/fanta1ty.png","language":"Swift","readme":"![LOGO](https://github.com/fanta1ty/TTopImageBottomLabelButton/blob/master/ScreenShot/Logo.png)\n\n# TTopImageBottomLabelButton\n\nTTopImageBottomLabelButton is a simple and flexible UI component fully written in Swift. TTopImageBottomLabelButton is developed to help programmers create a button with top image and bottom title quickly without having to write many lines of codes.\n\n [![Swift 5.0](https://img.shields.io/badge/Swift-5.0-brightgreen)](https://developer.apple.com/swift/)\n [![Version](https://img.shields.io/cocoapods/v/TTopImageBottomLabelButton.svg?style=flat)](https://cocoapods.org/pods/TTopImageBottomLabelButton)\n [![License](https://img.shields.io/cocoapods/l/TTopImageBottomLabelButton.svg?style=flat)](https://cocoapods.org/pods/TTopImageBottomLabelButton)\n [![Platform](https://img.shields.io/cocoapods/p/TTopImageBottomLabelButton.svg?style=flat)](https://cocoapods.org/pods/TTopImageBottomLabelButton)\n[![Email](https://img.shields.io/badge/contact-@thinhnguyen12389@gmail.com-blue)](thinhnguyen12389@gmail.com)\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Requirements\n\n## Installation\n\nTTopImageBottomLabelButton is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'TTopImageBottomLabelButton'\n```\n\n## Usage\n```swift\nimport TTopImageBottomLabelButton\n```\n\n1) Initial ``TTopImageBottomLabelButton`` \n```swift\nlet topImageBottomLabelButton = TTopImageBottomLabelButton(title: \"Top Image Bottom Title\", image: UIImage(named: \"Image\")!)\n```\n\n2) To override bottom title, please input into ``customTitleLabel.text`` property\n```swift\ntopImageBottomLabelButton.customTitleLabel.text = \"Top Image Bottom Label Button\"\n```\n\n3) To override top image, please add image into ``topImageView.image`` property\n```swift\ntopImageBottomLabelButton.topImageView.image = UIImage(named: \"Image\")\n```\n\n![til](https://github.com/fanta1ty/TTopImageBottomLabelButton/blob/master/ScreenShot/demo.gif)\n\n## Requirements\n- iOS 9.3 or later\n- Swift 5.0 or later\n\n## Author\n\nfanta1ty, thinhnguyen12389@gmail.com\n\n## License\n\nTTopImageBottomLabelButton is available under the MIT license. See the LICENSE file for more info.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffanta1ty%2Fttopimagebottomlabelbutton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffanta1ty%2Fttopimagebottomlabelbutton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffanta1ty%2Fttopimagebottomlabelbutton/lists"}