Skip to content

Releases: BottleRocketStudios/iOS-KeyboardSupport

v2.2.0

Choose a tag to compare

@wmcginty wmcginty released this 14 Jan 20:48
3871147
Enhancements
  • Adds support to not offset a KeyboardScrollable view if the viewController is presented in a popover.
Bug Fixes
  • Only update contentInset if the new insets are different from the existing insets. This avoids triggering unnecessary table/collectionview reloads.
    Dimitar Milinski
    #62

2.1.2

Choose a tag to compare

@wmcginty wmcginty released this 09 Dec 16:20
9ce90e6

2.1.2 (2020-12-09)

Enhancements

Bug Fixes

  • Allowed setting the originalContentInsets before and after setting up the kyboard observers in KeyboardScrollable. This allows us to do things like setting content insets in viewDidLayoutSubviews() and such
    Fernando Arocho
    #57

  • Fix issue with calculating content inset when scrollview is not constrained to bottom of safe area
    Dimitar Milinski
    #58

2.1.1

Choose a tag to compare

@tylermilner tylermilner released this 16 Jan 20:29
ff8e891
Enhancements
Bug Fixes
  • Addressed issue where scrolling to the focused text field would not work properly.
    Daniel Larsen
    #48

2.1.0

Choose a tag to compare

@earlgaspard earlgaspard released this 30 Apr 18:07
56e54e6
Enhancements
  • Move protocols and extensions in KeyboardRespondable to separate files.

  • Migrate to Swift 5.0.
    Earl Gaspard
    #41

  • KeyboardRespondable and KeyboardDismissable setup methods now return the generated gesture recognizer so consumers can work with it.

  • Modified KeyboardToolbar to track the next, back, and done buttons so they can be hidden / enabled / disabled as needed.

  • Modified KeyboardScrollable to support an additional padding around a text input when moving it into view.

  • Added a KeyboardAutoNavigator that is initialized with a toolbar. It will apply this toolbar to all text inputs, unless those inputs provide their own via implementing the KeyboardToolbarProviding protocol. The autonavigator will walk the view hiearchy and seek out text inputs before and after the current field to provide navigation via the toolbar.
    John Davis
    #36

Bug Fixes
  • None

2.0.2

Choose a tag to compare

@earlgaspard earlgaspard released this 09 Jan 17:32
47065b3
Enhancements
  • None
Bug Fixes
  • Fix protocol extension function signature mismatch in KeyboardScrollable.
    Earl Gaspard
    #34

2.0.1

Choose a tag to compare

@earlgaspard earlgaspard released this 09 Jan 16:08
9639e34
Enhancements
  • None
Bug Fixes
  • Declare KeyboardAccessoryDelegate extension as public. Declare KeyboardInfo's properties as public.
    Earl Gaspard
    #32

2.0.0

Choose a tag to compare

@earlgaspard earlgaspard released this 07 Jan 22:28
5b8570c
Enhancements
  • Added KeyboardToolbar for fast creation of input accessorty views. Renamed KeyboardManager to KeyboardNavigator. KeyboardNavigator supports navigating between UITextViews. Renamed KeyboardInputAccessory to KeyboardAccessory. Renaming of methods in KeyboardDismissable and methods in KeyboardScrollable. Animations added when keyboard appears when using KeyboardScrollable.
    Earl Gaspard
    #29

  • Adjusted project structure to better support Travis-CI. CI is fully up-and-running on all supported platforms.
    Earl Gaspard
    #10

  • Added SwiftLint.
    Earl Gaspard
    #10

Bug Fixes
  • None

1.0.2

Choose a tag to compare

@tylermilner tylermilner released this 19 Sep 22:52
6a6eca7
Enhancements
Bug Fixes
  • None

1.0.1

Choose a tag to compare

@tylermilner tylermilner released this 20 Aug 19:57
e681393
Enhancements
  • Adjusted project structure to better support Travis-CI. CI is fully up-and-running on all supported platforms.
    Earl Gaspard
    #10

  • Added SwiftLint.
    Earl Gaspard
    #10

  • Add option to disregard original content inset when keyboard is visible.
    Cuong Leo Ngo
    #17

  • Added conditional compilation for Swift 4.2 compatibility.
    Tyler Milner
    #19

Bug Fixes
  • Fix issue where bottom contentInset is added more than once when user taps on first responder view again.
    Cuong Leo Ngo
    #12

  • Now subtracting the Safe Area bottom inset when calculating additional bottom inset since the keyboard frame encompasses the safe area and scroll views' insets are typically automatically adjusted to account for safe area.
    Cuong Leo Ngo
    #13

  • Add KeyboardSafeAreaAdjustable protocol, and KeyboardScrollable restores original content inset
    Cuong Leo Ngo
    #16