Skip to content

Releases: Skyscanner/SkyFloatingLabelTextField

Swift 5 and SPM

05 Dec 12:41
Compare
Choose a tag to compare
  • 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

20 Sep 15:41
Compare
Choose a tag to compare
  • Added support for Swift 4.2 and Xcode 10. See #239.

v3.5.2

27 Aug 14:34
Compare
Choose a tag to compare
  • Fixed crash when overriding certain properties #216. Thanks to alextov.
  • Expose errorMessage to Objective-C and Storyboard #218. Thanks to niveuseverto.

v3.5.1

29 May 08:43
Compare
Choose a tag to compare
  • 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

28 May 16:07
Compare
Choose a tag to compare
  • 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

Use localizedUppercase for titleFormatter

27 Mar 08:52
Compare
Choose a tag to compare
  • Use localizedUppercase for titleFormatter by default when available. Thanks to canaksoy.

v3.3.0

01 Nov 10:19
Compare
Choose a tag to compare
  • Added support for a disabled state of the field #177. Big thanks to kanjanaSi.

v3.2.0

04 Jul 09:04
Compare
Choose a tag to compare
  • 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

19 Apr 08:35
Compare
Choose a tag to compare

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

07 Mar 11:21
Compare
Choose a tag to compare

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//pull/112]