FahimF / FloatLabelFields

Text entry controls which contain a built-in title/label so that you don't have to add a separate title for each field.
MIT License
1.19k stars 107 forks source link

Swift 2.0 support #12

Closed thediary closed 8 years ago

thediary commented 8 years ago

Please add swift 2 support, possibly in a separate branch.

Lawgrin commented 8 years ago

@thediary Just add a gettext function that returns a non-nil string and then switch all your referances from textview.text? to textview.gettext()

diegomazzone commented 8 years ago

+1 on @thediary request :). Are you planning to add Swift 2 support?

meismyles commented 8 years ago

I've updated the project for Swift 2.0. I've submitted a pull request but there hasn't been much activity by @FahimF for a little while so not sure whether it will be accepted anytime soon / if at all.

You can get it from my fork here though: https://github.com/meismyles/FloatLabelFields.

FahimF commented 8 years ago

Sorry about the disappearance :) The project has been updated for Swift 2.2 and a separate branch created for Swift 3.