Skip to content

ufukk/MagnetPopupPicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MagnetPopupPicker

Simple and easy to use drop down substitution for IOS.

#Installation via CocoaPods:

	platform :ios, '7.0'
	pod 'MagnetPopupPicker'

#Usage:

    self.button = [[PopupPickerButton alloc] initWithFrame:CGRectMake(11, 50, 150, 30)];

    [self.button setTitle:@"Select" forState:UIControlStateNormal];

    NSArray *list = [NSArray arrayWithObjects:[KeyValuePair keyValuePairWithKeyAndValue:@"test1" value:@"Test 1"],
                 [KeyValuePair keyValuePairWithKeyAndValue:@"test2" value:@"Test 2"],
                 [KeyValuePair keyValuePairWithKeyAndValue:@"test3" value:@"Test 3"],
                 nil];

    [self.button setOptions:list keyNames:[KeyValuePair keyValuePairWithKeyAndValue:@"key" value:@"value"]];

About

Simple and easy to use drop down substitution for IOS with search function and flexible data interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors