{"id":2976,"url":"https://github.com/edgar-zigis/CocoaTextField","last_synced_at":"2025-08-03T12:31:45.669Z","repository":{"id":43819270,"uuid":"214236052","full_name":"edgar-zigis/CocoaTextField","owner":"edgar-zigis","description":"Apple TextField created according to the Material.IO guidelines of 2019. Featured at Medium. ","archived":false,"fork":false,"pushed_at":"2022-03-07T16:11:58.000Z","size":6265,"stargazers_count":274,"open_issues_count":1,"forks_count":36,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-05-01T16:23:30.293Z","etag":null,"topics":["cocoa","ios","material","swift","textfield","uitextfield"],"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/edgar-zigis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"edgar-zigis","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-10-10T16:47:02.000Z","updated_at":"2024-04-02T17:40:25.000Z","dependencies_parsed_at":"2022-08-24T18:40:43.254Z","dependency_job_id":null,"html_url":"https://github.com/edgar-zigis/CocoaTextField","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-zigis%2FCocoaTextField","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-zigis%2FCocoaTextField/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-zigis%2FCocoaTextField/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-zigis%2FCocoaTextField/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edgar-zigis","download_url":"https://codeload.github.com/edgar-zigis/CocoaTextField/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228543229,"owners_count":17934447,"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":["cocoa","ios","material","swift","textfield","uitextfield"],"created_at":"2024-01-05T20:16:27.921Z","updated_at":"2025-08-03T12:31:45.557Z","avatar_url":"https://github.com/edgar-zigis.png","language":"Swift","funding_links":["https://github.com/sponsors/edgar-zigis"],"categories":["UI","Content"],"sub_categories":["TextField \u0026 TextView","Text Field"],"readme":"# CocoaTextField\n\nHighly customizable text field created according to Material.IO guidelines.\n##### Minimum iOS version 11.0\n\n![alt text](https://github.com/edgar-zigis/CocoaTextField/blob/master/sample.gif?raw=true)\n\n### Carthage\n\n```\ngithub \"edgar-zigis/CocoaTextField\" ~\u003e 1.2.0\n```\n### Cocoapods\n\n```\npod 'CocoaTextField', '~\u003e 1.2.0'\n```\n### Swift Package Manager\n\n```\ndependencies: [\n    .package(url: \"https://github.com/edgar-zigis/CocoaTextField.git\", .upToNextMajor(from: \"1.2.0\"))\n]\n```\n### Usage\n``` swift\nlet textField = CocoaTextField()\ntextField.placeholder = \"Your hint\"\ntextField.inactiveHintColor = UIColor(red: 209/255, green: 211/255, blue: 212/255, alpha: 1)\ntextField.activeHintColor = UIColor(red: 94/255, green: 186/255, blue: 187/255, alpha: 1)\ntextField.focusedBackgroundColor = UIColor(red: 236/255, green: 239/255, blue: 239/255, alpha: 1)\ntextField.defaultBackgroundColor = UIColor(red: 250/255, green: 250/255, blue: 250/255, alpha: 1)\ntextField.borderColor = UIColor(red: 239/255, green: 239/255, blue: 239/255, alpha: 1)\ntextField.errorColor = UIColor(red: 231/255, green: 76/255, blue: 60/255, alpha: 0.7)\ntextField.borderWidth = 1\ntextField.cornerRadius = 11\ntextField.alwaysDisplayHintLabel = true\n```\n### Remarks\nIt can be used both programmatically and with storyboards. Samples are available at **Test/CocoaTextFieldTests**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgar-zigis%2FCocoaTextField","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgar-zigis%2FCocoaTextField","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgar-zigis%2FCocoaTextField/lists"}