{"id":18132031,"url":"https://github.com/cemolcay/recbutton","last_synced_at":"2025-06-11T15:33:01.243Z","repository":{"id":62451866,"uuid":"232063643","full_name":"cemolcay/RECButton","owner":"cemolcay","description":"An @IBDesignable record (REC) button for iOS","archived":false,"fork":false,"pushed_at":"2020-01-06T17:56:03.000Z","size":808,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T10:53:24.278Z","etag":null,"topics":["button","ibdesignable","ibinspectable","ios","record"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/cemolcay.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-01-06T09:08:32.000Z","updated_at":"2021-01-23T03:14:17.000Z","dependencies_parsed_at":"2022-11-01T23:34:32.710Z","dependency_job_id":null,"html_url":"https://github.com/cemolcay/RECButton","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/cemolcay%2FRECButton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemolcay%2FRECButton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemolcay%2FRECButton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemolcay%2FRECButton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cemolcay","download_url":"https://codeload.github.com/cemolcay/RECButton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247508732,"owners_count":20950228,"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":["button","ibdesignable","ibinspectable","ios","record"],"created_at":"2024-11-01T12:10:04.429Z","updated_at":"2025-04-06T15:45:27.357Z","avatar_url":"https://github.com/cemolcay.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"RECButton\n===\n\nAn @IBDesignable record (REC) button for iOS.\n\n* iOS 9.0+\n* Swift 5.0+\n\nInstall\n----\n\n``` sh\npod RECButton\n```\n\nUsage\n----\n\n![alt tag](https://raw.githubusercontent.com/cemolcay/RECButton/master/sb.gif)\n\n* RECButton is a UIButton subclass\n* Create a RECButton instance either from storyboard or programmatically.\n* Set the color and size properties for recording state and non-recording state.\n* Those are also IBInspectable, settable directly from the storyboard.\n* Set other inherited UIButton properties.\n\n``` swift\n@IBInspectable public var ringColor: UIColor = .white\n@IBInspectable public var dotColor: UIColor = .white\n@IBInspectable public var recordingDotColor: UIColor = .red\n@IBInspectable public var recordingRingColor: UIColor = .orange\n@IBInspectable public var dotPadding: CGFloat = 2\n@IBInspectable public var ringLineWidth: CGFloat = 1\n@IBInspectable public var recordingRingDashPattern: String?\n@IBInspectable public var recordingAnimationDuration: CGFloat = 0\n@IBInspectable public var isRecording: Bool = false\n```\n\nRecording\n----\n\n* Set `isRecording` bool value.\n\n![alt tag](https://raw.githubusercontent.com/cemolcay/RECButton/master/rec.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcemolcay%2Frecbutton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcemolcay%2Frecbutton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcemolcay%2Frecbutton/lists"}