This article is 11 years old
The content here might be outdated as technology and best practices evolve quickly. While the concepts may still be valuable, please verify the information against current documentation and standards.
TNRadioButtonGroup - Radio buttons for Objective-C
Radio buttons for Objective-C
I just pushed some code to GitHub to easily create radio button groups in Objective-C.
I’ve created 3 classes for the most common radio buttons, but it’s really easy to extend the class with your own requirements. I’ve posted all the details on GitHub. When you toggle the radio button there is an animation. You can always override the animation method if you would like to do some other animations.
TNRadioButtonGroup
Prerequisites
-
Xcode
-
iOS7+
Download
You can find the code on GitHub. If you have any requests, put them in the issues panel. I’ve tested as many scenarios as I could, but if you find any bugs, please post them as well!
About the Author
👋 Hi, I'm Frederik Jacques, a passionate iOS developer and entrepreneur with over a decade of experience building innovative mobile applications.
I love creating apps that solve real problems and bring joy to users. From educational tools to creative meme makers, I'm always exploring new ways to blend technology with user experience. When I'm not coding, you'll find me sharing insights about iOS development, app monetization, and the indie developer journey.
