A customizable iOS text field control implementing the Float Label Pattern with icon support and RTL language compatibility.
SkyFloatingLabelTextField is an iOS text field component that implements the Float Label Pattern, where placeholder text animates into a title label above the input field. It solves the problem of cluttered forms by providing persistent context without occupying extra screen space, enhancing usability in data-entry screens. The component is highly customizable, supporting icons, error states, and RTL languages.
iOS developers building forms or data-entry interfaces in Swift or Objective-C who need a polished, space-efficient text input solution with extensive customization options.
Developers choose it for its production-ready implementation of the Float Label Pattern, extensive customization capabilities, and built-in support for icons, validation states, and RTL languages—all while maintaining a simple API similar to UITextField.
A beautiful and flexible text field control implementation of "Float Label Pattern". Written in Swift.
Offers full control over colors, fonts, line heights, and states such as error and disabled, with examples in the README showing how to tweak properties like selectedLineColor for precise design matching.
Supports adding icons via custom fonts (e.g., FontAwesome) or images, and includes automatic right-to-left layout adjustment for languages like Arabic and Hebrew, enhancing internationalization.
Provides visual error states with customizable error messages, demonstrated in the README with real-time validation examples that highlight fields based on input conditions.
Includes subclassing hooks for layout and color updates, such as overriding updateColors or titleLabelRectForBounds, allowing deep customization beyond standard properties.
Breaking changes between Swift versions (e.g., version 2.0 drops Swift 2.3 support) require careful version management, which can complicate migration and maintenance for older projects.
Integrating icons necessitates handling custom fonts or images, with manual adjustments for properties like iconMarginBottom and iconRotationDegrees, adding development overhead for precise positioning.
Built for UIKit and lacks native SwiftUI support, restricting its use in modern iOS apps that adopt Apple's latest UI frameworks without additional wrapping code.
UITextField subclass with floating labels - inspired by Matt D. Smith's design: http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users
Custom UITextFields effects inspired by Codrops, built using Swift
🔍 An elegant search controller which replaces the UISearchController for iOS (iPhone & iPad) .
:octocat: 🔍 RAMReel is a UI controller that allows you to choose options from a list. Swift UI library made by @Ramotion
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.