{"id":2227,"url":"https://github.com/Stunner/STAControls","last_synced_at":"2025-08-02T23:32:15.550Z","repository":{"id":27873647,"uuid":"31364693","full_name":"Stunner/STAControls","owner":"Stunner","description":"Handy UIControl subclasses. (Think Three20/NimbusKit of UIControls.)","archived":false,"fork":false,"pushed_at":"2019-09-12T21:16:36.000Z","size":679,"stargazers_count":12,"open_issues_count":7,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-25T23:11:42.426Z","etag":null,"topics":["ios","objective-c","uicontrol","uicontrol-subclass"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/Stunner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-26T11:50:31.000Z","updated_at":"2019-10-30T01:52:21.000Z","dependencies_parsed_at":"2022-09-03T20:22:11.481Z","dependency_job_id":null,"html_url":"https://github.com/Stunner/STAControls","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stunner%2FSTAControls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stunner%2FSTAControls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stunner%2FSTAControls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stunner%2FSTAControls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stunner","download_url":"https://codeload.github.com/Stunner/STAControls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228503142,"owners_count":17930520,"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":["ios","objective-c","uicontrol","uicontrol-subclass"],"created_at":"2024-01-05T20:16:08.205Z","updated_at":"2024-12-06T17:30:50.682Z","avatar_url":"https://github.com/Stunner.png","language":"Objective-C","funding_links":[],"categories":["UI"],"sub_categories":["Font","Other Testing"],"readme":"# STAControls #\r\n\r\n[![Build Status](https://travis-ci.org/Stunner/STAControls.svg?branch=master)](https://travis-ci.org/Stunner/STAControls)\r\n\r\nSTAControls is a collection of classes that aim to make dealing with Cocoa's UIControl subclasses more convenient, and to reduce the complexity of the code you write when getting these controls to do things that really ought to be provided out-of-the-box:\r\n\r\n* dismissing the keyboard when the *return* key is pressed\r\n* switching to another text field when the *return* key is pressed\r\n* having placeholder text reappear when the text field is no longer first responder (and text field is still blank)\r\n* providing `setBackgroundColor:forState:` method for UIButton (STAButton)\r\n* togglable segments in a UISegmentedControl (STASegmentedControl)\r\n* display an accessory view that allows for fast switching between adjacent UIControls (with system chevrons) \u0026 \"Done\" button\r\n* max character length (STATextField)\r\n* easily denote titles in a UIPickerView (STAPickerView)\r\n\r\nAs well as more advanced things such as:\r\n\r\n* provide a date text field (STADateField)\r\n* provide an ATM text field (STAATMTextField) which takes in currency input like an ATM machine\r\n* currency representation support within a text field (STATextField)\r\n* support for intercepting delegate methods within the subclass (because sometimes you want the UIControl to be aware of when things concerning it change)\r\n* resizing support to accomodate clear text button view (STAResizingTextField)\r\n* ReactiveCocoa support\r\n\r\nInstallation\r\n------------\r\n\r\n*Note:* This project will be put on CocoaPods for version 1, which is currently being worked toward.\r\n\r\nMerely copy the [STAControls](https://github.com/Stunner/STAControls/tree/master/STAControls/STAControls) directory into your project.\r\n\r\nUsage\r\n-----\r\n\r\nImport library for usage with `#import \"STAControls.h\"`, then merely use as any other UIControl subclass. Consult the header files to see what additional functionality each class provides.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStunner%2FSTAControls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FStunner%2FSTAControls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStunner%2FSTAControls/lists"}