KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#deepseek-harness
#dsh-plugin
#open-source
#ai
#cli
#dsh
#claude-code
#codex
#developer-tools
#react
ZHPickView
★ 28
Open GitHub ↗
自定义ActionView中的pickview
Download README (.md)
Explore Similar Repositories
BerTlv.NET
:
A library for parsing BER TLV data (like EMV credit cards).
DistributedNotifications
:
Distributed Notifications using Core Foundation API: CFNotificationCenterGetDistributedCenter
aws-terraform-playground
:
terraform examples on AWS
LiquidCrystal_1602_RUS
:
Arduino LCD 16x02 display RUSSIAN with NO CYRILLIC symbols set (addon for standart LiquidCrystal library)
LCCoolHUD
:
一款酷酷的 HUD。
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
ZHPickView
?
Download (.md)
#ZHPickView 可以简单实现在底部弹出类似ActionView画面 实现自定义的pickView 使用起来非常简单,可以自定义标题 实现简单的PickView ``` ZHPickView *pickView = [[ZHPickView alloc] init]; [pickView setDataViewWithItem:@[@"item1",@"item2",@"item3"] title:@"DataTitle"]; [pickView showPickView:self]; pickView.block = ^(NSString *selectedStr) { UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"You have chooseed:" message:selectedStr delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil, nil]; [alert show]; }; ``` 画面效果: <img src="https://raw.githubusercontent.com/zhaozihui/ZHPickView/master/IMG_1205.PNG" width="320" height="568" alt="画面效果"/> 实现简单的DatePickView ``` ZHPickView *pickView = [[ZHPickView alloc] init]; [pickView setDateViewWithTitle:@"dateTitle"]; [pickView showPickView:self]; pickView.block = ^(NSString *selectedStr) { UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"You have chooseed:" message:selectedStr delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil, nil]; [alert show]; }; ``` 画面效果: <img src="https://raw.githubusercontent.com/zhaozihui/ZHPickView/master/IMG_1206.PNG " width="320" height="568" alt="画面效果"/> #联系作者:zhaozihui@gmail.com