{"id":18622761,"url":"https://github.com/timonus/tjbutton","last_synced_at":"2026-02-21T14:31:41.186Z","repository":{"id":141729678,"uuid":"356322585","full_name":"timonus/TJButton","owner":"timonus","description":"A UIButton that does more","archived":false,"fork":false,"pushed_at":"2024-08-08T02:49:58.000Z","size":17,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T03:49:08.284Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timonus.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,"zenodo":null}},"created_at":"2021-04-09T15:47:19.000Z","updated_at":"2025-09-25T13:53:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec0848a7-d89f-4dd2-9e39-052d94f6c776","html_url":"https://github.com/timonus/TJButton","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/timonus/TJButton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timonus%2FTJButton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timonus%2FTJButton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timonus%2FTJButton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timonus%2FTJButton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timonus","download_url":"https://codeload.github.com/timonus/TJButton/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timonus%2FTJButton/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279093279,"owners_count":26101902,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-07T04:18:32.293Z","updated_at":"2025-10-15T16:47:48.684Z","avatar_url":"https://github.com/timonus.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TJButton\n*A UIButton that does more*\n\n`UIButton` is a surprisingly powerful class, but there are some common things I've found repeating over and over again in apps that I wished were available. This class adds some of those things, namely.\n\n- Setting a background color per-control state (`-setBackgroundColor:forState:`)\n- Setting a tint color per-control state (`-setTintColor:forState:`)\n- Hit target expansion (`-setHitOutsets:`)\n\nAlso, not strictly related to `UIButton`, but I also find myself adding a corner radius, stroke width/color, and using `kCACornerCurveContinuous` if available (iOS 13+). I turned this all into a handy category method on `UIView`: `-tj_applyCornerRadius:borderWidth:borderColor:`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimonus%2Ftjbutton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimonus%2Ftjbutton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimonus%2Ftjbutton/lists"}