LPPopupListView iOS Library


LPPopupListView is custom popup component for iOS with table for single or multiple selection.

GitHub Download: https://github.com/luka1995/LPPopupListView

popuplistview

Created by Luka Penger http://lukapenger.eu

Usage

If you’d like to include this component as a pod using CocoaPods, just add the following line to your Podfile:

pod "LPPopupListView"

ARC

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.

Uses Frameworks

  • UIKit.framework
  • Foundation.framework

Delegate methods

- (void)popupListView:(LPPopupListView *)popupListView didSelectedIndex:(NSInteger)index;
- (void)popupListViewDidHide:(LPPopupListView *)popupListView selectedList:(NSArray *)list;
#pragma mark - LPPopupListViewDelegate

- (void)popupListView:(LPPopupListView *)popUpListView didSelectedIndex:(NSInteger)index
{
    NSLog(@"popUpListView - didSelectedIndex: %d", index);
}

- (void)popupListViewDidHide:(LPPopupListView *)popUpListView selectedList:(NSArray *)list
{
    NSLog(@"popupListViewDidHide - selectedList: %@", list.description);
}

License

This code is distributed under the terms and conditions of the MIT license.

Change log

A brief summary of each LPPopupListView release can be found on the wiki.

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>