A Swift token field implementation for iOS that automatically resizes height and supports animated token changes.
ResizingTokenField is a Swift-based token field implementation for iOS that provides a dynamic, animated input component for handling tokenized data. It automatically adjusts its height based on content and supports custom token cells, making it ideal for apps requiring tag inputs, recipient selectors, or similar interfaces.
iOS developers building apps that need token-based input fields, such as email clients, tagging systems, or search filters with selectable tokens.
Developers choose ResizingTokenField for its native Swift implementation, seamless auto layout integration, and smooth animations, offering a more polished alternative to basic text fields or custom-built token solutions.
A token field implementation for iOS
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports both Interface Builder and programmatic initialization, adapting to various iOS development workflows as highlighted in the README.
Uses UICollectionView to animate token additions and removals, providing a polished, native user experience with minimal lag.
Automatically adjusts intrinsic content height with auto layout, simplifying UI constraints and responsive design without manual height calculations.
Allows providing custom UICollectionViewCell for tokens, enabling complete control over visual design, as mentioned in the features list.
Does not automatically invalidate layout on device rotation; developers must manually call invalidateLayout(), adding boilerplate code as admitted in the README.
Requires implementing delegate methods and calling layoutIfNeeded() for smooth height animations, which can be cumbersome and error-prone for beginners.
Focuses on core token display; lacks advanced features like validation or deletion confirmation out of the box, necessitating custom code.