{"id":18863951,"url":"https://github.com/hellc/bottomaction","last_synced_at":"2026-02-11T04:30:19.741Z","repository":{"id":56903937,"uuid":"268517465","full_name":"hellc/BottomAction","owner":"hellc","description":"Bottom action view","archived":false,"fork":false,"pushed_at":"2020-06-02T21:35:26.000Z","size":1587,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T07:03:08.473Z","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/hellc.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-06-01T12:34:57.000Z","updated_at":"2020-06-02T21:35:29.000Z","dependencies_parsed_at":"2022-08-21T02:50:20.795Z","dependency_job_id":null,"html_url":"https://github.com/hellc/BottomAction","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellc%2FBottomAction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellc%2FBottomAction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellc%2FBottomAction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellc%2FBottomAction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellc","download_url":"https://codeload.github.com/hellc/BottomAction/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239808523,"owners_count":19700451,"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-08T04:39:11.732Z","updated_at":"2026-02-11T04:30:19.691Z","avatar_url":"https://github.com/hellc.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Bottom action control\n\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/BottomAction.svg)](https://img.shields.io/cocoapods/v/BottomAction.svg)\n[![Platform](https://img.shields.io/cocoapods/p/BottomAction.svg?style=flat)](https://alamofire.github.io/BottomAction)\n\n### Usage\n\n```ruby\npod 'BottomAction'\n```\n\n![Image description](https://github.com/hellc/BottomAction/blob/master/Preview/setup.png)\n\n\n```swift\nimport BottomAction\n\n...\n\n@IBOutlet weak var bottomActionView: BottomActionView!\n\noverride func viewDidLoad() {\n    super.viewDidLoad()\n\n    self.prepareBottomAction()\n}\n\nprivate func prepareBottomAction() {\n    self.bottomActionView.actionButton.isEnabled = false\n    self.bottomActionView.actionButton.setTitle(self.isCreating ? \"Add\" : \"Save\", for: .normal)\n    self.bottomActionView.actionClosure = { sender in\n        self.onBottomActionTap(sender)\n    }\n}\n\nprivate func onBottomActionTap(_ sender: UIControl?) {\n    // TODO: Action logic\n}\n```\n\n## Result\n\n![Image description](https://github.com/hellc/BottomAction/blob/master/Preview/demo.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellc%2Fbottomaction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellc%2Fbottomaction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellc%2Fbottomaction/lists"}