Skip to content

swift版时间选择器,很好用的一款时间选择器

Notifications You must be signed in to change notification settings

wode0weiyi/DataPicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataPicker

示例图片

1.年月日

Image text

2.年月日时分

Image text

3.年月日时分秒

Image text

使用方法(注意:如果项目中有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()

}

   

不理解的或者有什么问题欢迎咨询

About

swift版时间选择器,很好用的一款时间选择器

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages