{"id":2970,"url":"https://github.com/oleghnidets/TweeTextField","last_synced_at":"2025-08-03T12:31:54.369Z","repository":{"id":39380233,"uuid":"115021639","full_name":"oleghnidets/TweeTextField","owner":"oleghnidets","description":"Lightweight set of text fields with nice animation and functionality 🚀 ","archived":false,"fork":false,"pushed_at":"2022-05-26T14:23:11.000Z","size":10971,"stargazers_count":490,"open_issues_count":1,"forks_count":59,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-04-24T18:58:22.676Z","etag":null,"topics":["animation","carthage","cocoapods","interface-builder","ios","swift","swift-package-manager","textfield","ui","uikit","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/oleghnidets.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"oleghnidets","custom":"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=YCAKYM4XCT2DG\u0026source=url"}},"created_at":"2017-12-21T15:44:20.000Z","updated_at":"2024-04-02T14:44:41.000Z","dependencies_parsed_at":"2022-08-20T22:50:22.879Z","dependency_job_id":null,"html_url":"https://github.com/oleghnidets/TweeTextField","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleghnidets%2FTweeTextField","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleghnidets%2FTweeTextField/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleghnidets%2FTweeTextField/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleghnidets%2FTweeTextField/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oleghnidets","download_url":"https://codeload.github.com/oleghnidets/TweeTextField/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228543250,"owners_count":17934450,"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":["animation","carthage","cocoapods","interface-builder","ios","swift","swift-package-manager","textfield","ui","uikit","uitextfield"],"created_at":"2024-01-05T20:16:27.758Z","updated_at":"2024-12-07T00:31:12.038Z","avatar_url":"https://github.com/oleghnidets.png","language":"Swift","readme":"# TweeTextField\n\n[![Swift Version][swift-image]][swift-url]\n[![Build][build-image]][build-url]\n[![Platform][platform-image]][platform-url]\n[![Documentation][docs-image]][docs-url]\n[![SPM][spm-image]][spm-url]\n[![Pod][pod-image]][pod-url]\n[![Carthage][carthage-image]][carthage-url]\n[![License][license-image]][license-url]\n\n\nThis is lightweight library that provides different types of Text Fields based on your needs.\n\n![Preview](/docs/tweetextfield-sample.gif)\n\n\n\u003c!-- @import \"[TOC]\" {cmd=\"toc\" depthFrom=2 depthTo=6 orderedList=false} --\u003e\n\n\u003c!-- code_chunk_output --\u003e\n\n- [Features](#features)\n- [Requirements](#requirements)\n- [Installation](#installation)\n  - [CocoaPods](#cocoapods)\n  - [Swift Package Manager](#swift-package-manager)\n  - [Carthage](#carthage)\n  - [Manually](#manually)\n- [Usage](#usage)\n- [Contributing and support](#contributing-and-support)\n- [License](#license)\n\n\u003c!-- /code_chunk_output --\u003e\n\n\n## Features\n\n- [x] Customizable placeholder\n- [x] Customizable label under text field\n- [x] Customizable via Attributes Inspector\n- [x] Nice animation for placeholder\n- [x] Nice animation for bottom line\n- [x] No override of UITextField' behaviors\n- [x] Clean code with divided functionalities\n- [x] Easy to use and extend\n- [x] Right-to-Left support\n- [x] Complete [documentation](https://oleghnidets.github.io/TweeTextField/) and [support](https://github.com/oleghnidets/TweeTextField/issues)\n\n## Requirements\n\n- iOS 11.0+\n- Xcode 11.0+\n- Swift 5.0+\n\n## Installation \n\n### CocoaPods\nTo integrate `TweeTextField` into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\npod 'TweeTextField'\n```\n\nThen run `pod install` to integrate the library in your project.\n\n### Swift Package Manager\nAdding TweeTextField to the dependencies value of your `Package.swift` file.\n```swift\n// swift-tools-version:5.0\n\nimport PackageDescription\n\nlet package = Package(\n    name: \"YOUR_PROJECT_NAME\",\n    dependencies: [\n        .package(url: \"https://github.com/oleghnidets/TweeTextField.git\", from: \"1.6.1\"),\n    ]\n)\n```\n\nOr you may use Xcode. `File`-\u003e`Swift Packages`-\u003e`Add Package Dependency`. Then put link to the [repository](https://github.com/oleghnidets/TweeTextField.git).\n\n### Carthage\nTo integrate `TweeTextField` into your Xcode project using Carthage, specify it in your Cartfile:\n```ruby\ngithub \"oleghnidets/TweeTextField\"\n```\n\nRun `carthage update` to build the framework and drag the built `TweeTextField.framework` into your Xcode project. More info you can find on [official page](https://github.com/Carthage/Carthage).\n\n\n### Manually\n1. Download the [code](https://github.com/oleghnidets/TweeTextField/archive/master.zip).\n2. Drag and drop sources in your project.\n3. Import the library in code by `import TweeTextField`.\n\n## Usage\n\nCheck out the [documentation](https://oleghnidets.github.io/TweeTextField/) for more details. \nSelect one of the text fields provided based on your requirements. In general, you can use `TweeAttributedTextField`. It is a main class with aggregated functionalities of other text fields.\n\nLook at class diagram:\n\n![Class-diagram](/docs/class-diagram.png)\n\n- `TweePlaceholderTextField` has a customized placeholder label which has animations on the beginning and ending editing.\n- `TweeBorderedTextField` shows a bottom line permanently.\n- `TweeActiveTextField` shows animated bottom line when a user begins editing.\n- `TweeAttributedTextField` shows the custom info label under text field. \n\nYou can set up text field based on your preferences via Attributes Inspector. Also the library has some properties accessible for you.\nCheck out sample project for more information.\n\n![Attributes Inspector](/docs/attributes.png)\n\n```swift\nemailTextField.infoAnimationDuration = 0.7\nemailTextField.infoTextColor = .systemRed\nemailTextField.infoFontSize = 13\n        \nemailTextField.activeLineColor = .systemBlue\nemailTextField.activeLineWidth = 1\nemailTextField.animationDuration = 0.3\n        \nemailTextField.lineColor = .lightGray\nemailTextField.lineWidth = 1\n        \nemailTextField.minimumPlaceholderFontSize = 10\nemailTextField.originalPlaceholderFontSize = 13\nemailTextField.placeholderDuration = 0.3\nemailTextField.placeholderColor = .systemGray2\nemailTextField.tweePlaceholder = \"Email address\"\nemailTextField.placeholderLabel.font = UIFont.preferredFont(forTextStyle: .largeTitle)\n```\n\n## Contributing and support\n\n- If you want to contribute, [submit a pull request](https://github.com/oleghnidets/TweeTextField/compare).\n- If you found a bug, have suggestions or need help [open a new issue](https://github.com/oleghnidets/TweeTextField/issues/new).\n- If you need help, write me oleg.oleksan@gmail.com.\n\n## License\n\nDistributed under the MIT license. See [LICENSE](https://github.com/oleghnidets/TweeTextField/blob/develop/LICENSE) for more information.\n\n\n[swift-image]: https://img.shields.io/badge/swift-5-orange.svg\n[swift-url]: https://swift.org/\n\n[license-image]: https://img.shields.io/badge/License-MIT-blue.svg\n[license-url]: LICENSE\n\n[spm-image]: https://img.shields.io/badge/Swift_Package_Manager-compatible-orange?style=flat-square\n[spm-url]: Package.swift\n\n[docs-image]: docs/badge.svg\n[docs-url]: https://oleghnidets.github.io/TweeTextField\n\n[platform-image]: https://img.shields.io/badge/platform-ios-lightgrey.svg\n[platform-url]: https://github.com/oleghnidets/TweeTextField\n\n[pod-image]: https://img.shields.io/cocoapods/v/TweeTextField.svg\n[pod-url]: http://cocoapods.org/\n\n[carthage-image]: https://img.shields.io/badge/carthage-%E2%9C%93-orange.svg\n[carthage-url]: https://github.com/Carthage/Carthage\n\n[build-image]: https://travis-ci.org/oleghnidets/TweeTextField.svg?branch=master\n[build-url]: https://travis-ci.org/oleghnidets/TweeTextField\n","funding_links":["https://github.com/sponsors/oleghnidets","https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=YCAKYM4XCT2DG\u0026source=url"],"categories":["UI"],"sub_categories":["TextField \u0026 TextView","Other free courses"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleghnidets%2FTweeTextField","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foleghnidets%2FTweeTextField","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleghnidets%2FTweeTextField/lists"}