CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

MagnetPopupPicker 0.1.0

MagnetPopupPicker 0.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Mar 2015

Maintained by Ufuk Kocolu.




  • By
  • ufuk

Simple and easy to use drop down substitution for IOS.

<<<<<<< HEAD

Usage:

Usage:

parent of d1dc515... Readme updated with CocoaPods information.

    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"]];