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

LPPopupListView 1.0.3

LPPopupListView 1.0.3

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Luka Penger.



  • By
  • Luka Penger

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

ScreenShots

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 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);
}

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.