All Versions
25
Latest Version
Avg Release Cycle
113 days
Latest Release
160 days ago

Changelog History
Page 2

  • v3.2.1 Changes

    October 10, 2017
    • โž• Add support for both Swift 3 and 4 simultaneously.
  • v3.2.0 Changes

    July 04, 2017
    • ๐Ÿ›  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 Changes

    ๐Ÿ‘Œ 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 Changes

    ๐Ÿ’ฅ 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

  • v2.0.1 Changes

    • โž• Added @discardableResult to becomeFirstResponder and resignFirstResponder. This silences Xcode warnings about unused results of those functions and brings the implementation closer to the iOS API #98. Thanks to bennokress
    • Disable GCC_GENERATE_TEST_COVERAGE_FILES and GCC_INSTRUMENT_PROGRAM_FLOW_ARCS in release configs. This was causing rejections when submitting to Apple when the library is integrated manually or with Carthage #97. Thanks to vytautasgimbutas
  • v2.0 Changes

  • v1.2.1 Changes

    • ๐Ÿ›  Bugfix: title was blinking when tapping the textfield.
  • v1.2.0 Changes

    • โž• Added RTL language support
    • ๐Ÿ”„ Changed the behaviour of errorMessage, removing unnecessary business logic.
      • Before this change there was some "hidden" business logic around the resetting of errorMessage, namely:
      • Whenever the control was selected by a user, it got cleared (becomeFirstResponder invoked)
      • Whenever the text changed, it also got reset (when textField(textField:,range:string:) was invoked)
      • After this change what's different:
      • The errorMessage is no longer reset by any text or focus changes. If a developer sets this message, the error will be displayed, until this property is cleared. To implement the previous functionality, just subscribe to the textField(textField:,range:string:) event on the delegate
      • As a side effect of this, the workaround of double-invoking textField(textField:,range:string:) has been removed, fixing the bug raised by this Issue
  • v1.1.1 Changes

    • ๐Ÿ›  Bugfix: setting the error message via the textField?(shouldChangeCharactersInRange:replacementString:) method is now possible
    • โž• Added example on how to use the control from Objective C
  • v1.1 Changes

    • ๐Ÿ”„ Changed the control to inherit from the UITextField class (previously the control inherited from UIControl)
    • ๐Ÿšš The delegate to use with the textfield is now the UITextFieldDelegate (removed the delegate:SkyFloatingLabelTextFieldDelegate class)
    • โœ‚ Removed placeHolderLabel, textField and hasText properties from SkyFloatingLabelTextField class
    • โœ‚ Removed textRectForBounds(bounds: CGRect) and placeholderLabelRectForBounds(bounds:CGRect) methods from SkyFloatingLabelTextField
    • The above methods have been replaced with the UITextfield methods editingRectForBounds(bounds: CGRect) and placeholderRectForBounds(bounds: CGRect) on SkyFloatingLabelTextField
    • โž• Added placeholderFont, editingOrSelected properties to SkyFloatingLabelTextField class