This repository has been archived by the owner on Oct 30, 2018. It is now read-only.
Releases: slackhq/SlackTextViewController
Releases · slackhq/SlackTextViewController
Version 1.2.10
- Added the
shouldScrollToBottomAfterKeyboardShows
option flag for automagically scroll to bottom when the keyboard is shown. - Renamed the
undoShakingEnabled
property toshakeToClearEnabled
. - Made the
presentedInPopover
property only compatible with iPad (there is no real need for this on iPhone too).
Version 1.2.9
- Simplified interacting with multiple text inputs (i.e. using a search bar simultaneously)
- Fixed the text input bar positioning when
shouldForceTextInputbarAdjustment
is set to NO, when interacting with other text inputs, forcing to to dismiss the text input bar (programatically). - Fixed a bug when the predictive bar wasn't enabled but auto-correction was, causing to show spell checks while trying to auto-complete content.
- Fixed edge cases where the quick type bar would not be visible, or minimised.
Version 1.2.8
- Added
shouldForceTextInputbarAdjustment
option so the text input bar still moves up and down when other text inputs interact with the keyboard. Default is NO. - Added
shouldClearTextAtRightButtonPress
option to make text clearing after submitting. Default is YES. - Made the
presentedInPopover
option also available on iPhone. Default is NO. - Improved external keyboard detection.
- Improved keyboard status checkups, considering illogical keyboard statuses, making the SLK keyboard notification way more reliable.
Version 1.2.7
- Added more efficient and reliable way of querying layout constraints.
- Included
com.apple.uikit.image
(UIImage) andcom.apple.pkpass
(Passbook files) as available pastable types. - Configured undo/redo menu bar items only when becoming first responder, and removes them when resigning.
- Made SLK keyboard notification more reliable, skipping duplicated statuses.
- Fixed a scrolling offset issue when reaching to top and dismissing the keyboard with panning.
- Fixed iOS7 oddness with inverted values on landscape orientation, for payload sent over SLK keyboard notifications.
- Fixed issue on iOS7/Portrait when dragging input view, it would return 0 for
-appropriateKeyboardHeight:
- Fixed auto-completion bug, by disabling spell checking even when predictive keyboard is not enabled.
- Fixed auto-rotation issues when the text input is first responder.
- Fixed a few scrolling issues/glitches.
- Fixed several layout issues iPad iOS7/Landscape.
Version 1.2.6
- Added
NS_REQUIRES_SUPER
macro for specific methods that can be overridden but requiere super to be called. Thanks to @mcgraw for the tip! - Exposed the singleTapGesture. Related to #53.
- Fixed URL pasting into the text input.
- Fixed a bug where the text input bar would not shift up when the keyboard appeared.
Version 1.2.5
- Introduced SLK keyboard notifications, meant to add some throttling to the native keyboard notifications, skipping frequent notifications due to resizing events (keyboard, input accessory view, quicktype bar, etc.)
- Added a façade for -reloadInputViews to allow some throttling.
- Fixed some bugs regarding auto-rotation and keyboard calculations.
- Fixed a bug that was causing the text view not to scroll vertically.
Version 1.2.4
- Extended media type support for pastable items inside of the text view (png, tiff, jpg, gif, mov).
- Deprecated
-didPasteImage:
method, replacing it with-didPasteMediaContent:
Version 1.2.3
- Added multiple content type support to be pasted inside of the text view (PNG, JPEG, TIFF, GIF & MOV). Easily customisable in
SLKTextView
class, by setting the bitmask combination forpastableMediaTypes
Version 1.2.2
- Added vertical panning gesture for bringing the keyboard up
- Added up/down caret movement for external keyboard
- Improved external keyboard detection & keyboard commands registration
- Fixed keyboard panning offset, thanks to @efremidze's help
- Fixed a few crashes and KVO removal issues thanks to @fluidsonic's help
- Fixed keyboard dragging glitch
- Lots of great code refactoring
Version 1.2.1
- Added storyboard support
- Added up/down caret movement with external keyboard
- Improved external keyboard detecting when using with UITabBarController
- Improved KVO removals, safer from crashes
- Fixed undo/redo menu controller, to avoid showing when nothing to undo/redo
- Fixed template files