LPPopupListView@ZL 1.0.5

LPPopupListView@ZL 1.0.5

测试已测试
Lang语言 Obj-CObjective C
许可证 MIT
释放最后发布2015年5月

Zheng Lu 维护。



  • Luka Penger 和 King Android

LPPopupListView

LPPopupListView 是 iOS 的自定义弹出表组件,用于单选或多选。

ScreenShots

由 Luka Penger 创建 http://lukapenger.eu

使用方法

如果您想使用 CocoaPods 将此组件包含为 pod,只需将以下行添加到您的 Podfile

pod "LPPopupListView"

ARC

LPPopupListView 使用 ARC (自动引用计数)。

如果您在非 ARC 项目中使用 LPPopupListView,您需要将所有 LPPopupListView 源文件的编译器标志设置为 -fobjc-arc

要在 Xcode 中设置编译器标志,请转到您的活动目标并选择“构建选项”选项卡。现在选择所有 LPPopupListView 源文件,按 Enter,插入 -fobjc-arc 并然后“完成”以禁用 LPPopupListView 的 ARC。

使用的框架

  • UIKit.framework
  • Foundation.framework

代理方法

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

许可证

此代码在 MIT 许可证 的条款和条件下分发。

变更日志

Wiki 上可以找到每个 LPPopupListView 版本的简要总结。