CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Luka Penger.
LPPopupListView is custom popup component for iOS with table for single or multiple selection.
Created by Luka Penger http://lukapenger.eu
If you'd like to include this component as a pod using CocoaPods, just add the following line to your Podfile:
pod "LPPopupListView"
LPPopupListView uses ARC (Automatic Reference Counting).
If you are using LPPopupListView in your non-arc project, you will need to set a -fobjc-arc
compiler flag on all of the LPPopupListView source files.
To set a compiler flag in Xcode, go to your active target and select the "Build Phases" tab. Now select all LPPopupListView source files, press Enter, insert -fobjc-arc
and then "Done" to disable ARC for LPPopupListView.
- (void)popupListView:(LPPopupListView *)popupListView didSelectIndex:(NSInteger)index;
- (void)popupListViewDidHide:(LPPopupListView *)popupListView selectedIndexes:(NSIndexSet *)selectedIndexes;
#pragma mark - LPPopupListViewDelegate
- (void)popupListView:(LPPopupListView *)popUpListView didSelectedIndex:(NSInteger)index
{
NSLog(@"popUpListView - didSelectIndex: %d", index);
}
- (void)popupListViewDidHide:(LPPopupListView *)popupListView selectedIndexes:(NSIndexSet *)selectedIndexes
{
NSLog(@"popupListViewDidHide - selectedIndexes: %@", selectedIndexes.description);
}
This code is distributed under the terms and conditions of the MIT license.
A brief summary of each LPPopupListView release can be found on the wiki.