A high-performance, custom-built rounded button control for iOS with smooth animations and haptic feedback.
TORoundedButton is an open-source UI control for iOS that provides a high-performance rounded button with smooth animations and haptic feedback. It solves the need for a consistent, customizable button style across iOS apps, especially for developers who require many such buttons with uniform behavior. The control is built from scratch as a UIControl subclass, offering better performance and flexibility than standard UIButton with cornerRadius.
iOS developers building apps that require multiple rounded buttons with consistent styling, smooth animations, and high graphical performance. It's particularly useful for those who need more control over button behavior than UIButton provides.
Developers choose TORoundedButton for its performance optimizations based on Apple's Core Animation guidance, its custom implementation allowing interruptible animations and haptic feedback, and its flexibility in styling across iOS versions. It's a lightweight, focused alternative to hacking UIButton with cornerRadius.
A high-performance button control with rounded corners 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.
Implements Core Animation best practices from Apple engineers to avoid off-screen rendering, reducing CPU and memory overhead compared to naive cornerRadius usage.
Features interruptible zoom animations on tap and provides haptic feedback on supported devices, enhancing user experience beyond standard UIButton.
Offers extensive configuration for colors, corner styles, and dynamic tint adjustments, including automatic 'tapped' color generation to save development effort.
Supports visual configuration in Interface Builder, making it easy to design and tweak buttons without writing code.
Uses tintColor for button color instead of backgroundColor and relies on a closure for tap handling, which can confuse developers accustomed to UIButton's standard patterns.
Lacks native support for UIButton's multiple states (e.g., disabled, highlighted) and complex content layouts, requiring additional code for advanced use cases.
Written in Objective-C, which may pose a learning curve for Swift-only developers, though it's fully compatible with Swift projects.