SkyFloatingLabelTextField Versions Save

A beautiful and flexible text field control implementation of "Float Label Pattern". Written in Swift.

3.8.0

4 years ago
  • A new tag format for release has been introduced to be compatible with Swift Package Manager(SPM). The new format does not include the v prefix in tag names. This will be the case for all tags going forward, previous v prefix tags remain in place and new tags without the v prefix has been pushed for these commits too.
  • Added support for Swift Package Manager #296. Thanks to acecilia.
  • Added support for Swift 5 #290. Thanks to jessemx109.

v3.6.0

5 years ago
  • Added support for Swift 4.2 and Xcode 10. See #239.

v3.5.2

5 years ago
  • Fixed crash when overriding certain properties #216. Thanks to alextov.
  • Expose errorMessage to Objective-C and Storyboard #218. Thanks to niveuseverto.

v3.5.1

5 years ago
  • Prevent potential crash when self.font is nil. This might cause the component to render incorrectly, but it will not crash which is preferable. See #186

v3.5.0

5 years ago
  • Marked isLTRLanguage with @objc so it can be set from Objective-C code #200. Thanks to behdad-keynejad
  • Added support for different colors for line, title, text when error is set #208. Thanks to InbarSletean

v3.4.1

6 years ago
  • Use localizedUppercase for titleFormatter by default when available. Thanks to canaksoy.

v3.3.0

6 years ago
  • Added support for a disabled state of the field #177. Big thanks to kanjanaSi.

v3.2.0

6 years ago
  • Fixed editing rect size when clear button is present to no overlap #148
  • Added titleFont as open var to set another font in titleLabel #141. Thanks to @rabenson and @rubenadlm.

v3.1.0

7 years ago

Improvements

  • Made isLTRLanguage open so it can actually be set by users #121.
  • Silence warnings due to M_PI being deprecated in Xcode 8.3 #116. Thanks to @z3bi.
  • Adds UIAppearance support #118. Thanks to mwfire.
  • Fix for RTL issue while editing texts #126. Thanks to @mehrdadmaskull

No Functional Change

  • Added swiftlint and cleaned up the source code to conform with it #125. Thanks to @moogle19

v3.0.0

7 years ago

Breaking

Change implementation of amimation callbacks to include boolean completed flag.

Before

textfield.setTitleVisible(false, animated: true) {
	// Perform callback actions
}

Now

textfield.setTitleVisible(false, animated: true) { completed in
	// Perform callback actions using completed flag
}

See (#112)[https://github.com/Skyscanner/SkyFloatingLabelTextField/pull/112]