My favorites | Sign in
Project Logo
                
Search
for
Updated Dec 31, 2008 by fukatsu
FLDRadioGroup  

FLDRadioGroup provides a basic radio group functionality.

Introduction

FLDRadioGroup provides a basic radio group functionality.

This is an alternative choice of UISegmentedViewController which is hard to customize view.

With using FLDRadioGroup, you can treat UIButton as radio group.

Details

Sample

FLDRadioGroup *group = [[FLDRadioGroup alloc]init];
[group addButton: myUIButton0];
[group addButton: myUIButton1];
[group addButton: myUIButton2];

group.delegate = self;

-(void)radioGroup:(FLDRadioGroup*)radioGroup didSelectButton:(UIButton*)button atIndex:(NSInteger)index
{
  NSLog(@"RadioGroup is Selected Index of %d", index);
}

Sign in to add a comment
Hosted by Google Code