Technology moves fast! ⚡ Don't get left behind.🚶 Subscribe to our mailing list to keep up with latest and greatest in open source projects! 🏆


Subscribe to our mailing list

TextField-InputView

UITextField+InputView模式:终结注册类、信息采集类

Subscribe to updates I use TextField-InputView


Statistics on TextField-InputView

Number of watchers on Github 65
Number of open issues 2
Main language Swift
Open pull requests 0+
Closed pull requests 0+
Last commit over 2 years ago
Repo Created almost 4 years ago
Repo Last Updated over 1 year ago
Size 658 KB
Organization / Authorcharlinfeng
Contributors1
Page Updated
Do you use TextField-InputView? Leave a review!
View open issues (2)
View TextField-InputView activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating TextField-InputView for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

image

UITextField+InputView


.Swift 1.2
.Xcode 6.3
.MIT





===============

1.

TextField+PickerView
APIClosure



2.

UITextFieldOneColTF



3.

:

    /**    */
    tf.addOneColPickerViewWithTitles(["","","",""])


(PickerDataModel

PickerDataModelmodelObj

    let city1 = CityModel(title: "", spell: "ChengDu")
    let city2 = CityModel(title: "", spell: "NanChong")
    let city3 = CityModel(title: "", spell: "NanBu")

    /**    */
    tf.addOneColPickerViewWithModels([city1,city2,city3])



4.

,

    let value = tf.selectedPickerViewValue



5.

  tf.removeAccessoryView = true



    tf.selectedAction = { row in

        println("\(row)")
    }

,value

    tf.doneBtnActionClosure = { (row,value) in

        println("\(row)\(value)")
    }

5.

image




=============== 1.MulSelTF
2.MulSelTFDataModel

     let s1 = Service(title: "", isChecked: true,isRequired:true)
     let s2 = Service(title: "", isChecked: false,isRequired:false)
     let s3 = Service(title: "", isChecked: false,isRequired:false)
     let s4 = Service(title: "", isChecked: false,isRequired:false)
     let s5 = Service(title: "", isChecked: false,isRequired:false)

      tf.addMulSelWithModels([s1,s2,s3,s4,s5])

      tf.doneBtnClickClosure = {(all,checked) in


     }

isCheckedisRequiredisRequired=trueisChecked=true



3.

image



4.

image



5.isRequired=true

image



6.

image




===============

1.xib

2.DatePickerTF

3.pattenxibpatternType00

01

4.

    tf.setDateTimeInterval(1340199504)

5.

    tf.selectedDateClosure = { (picker,dateString,dateInterval) in

        println("\(picker),\(dateString),\(dateInterval)")
    }

6.

xiballowPickerEarlier0



6.

image

TextField-InputView open issues Ask a question     (View All Issues)
  • almost 3 years 请问有OC版的吗
  • almost 4 years 建议 时间选择器 datapicker 时间格式可以动态通过属性来设置
TextField-InputView list of languages used
Other projects in Swift