DataPicker
swift版时间选择器,很好用的一款时间选择器
Install / Use
/learn @wode0weiyi/DataPickerREADME
DataPicker
示例图片
1.年月日

2.年月日时分

3.年月日时分秒

使用方法(注意:如果项目中有snpkit,则可以把本项目中的snpkit删除掉)
@IBAction func chooseTimeBtnClick(_ sender: UIButton) {
//创建时间选择器。
let pickView = TQDatePickerView(type: .KDatePickerSecond)
pickView.sucessReturnB = {[weak self] (date: String) in
self?.timeLabel.text = date
}
pickView.show()
}
不理解的或者有什么问题欢迎咨询
Related Skills
node-connect
353.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
