12 KiB
12 KiB
3.0.1 (Nov 14, 2016)
- Swift 3.0.1 / Xcode 8.1 support #233 - @diegosanchezr
- Fixes weird linker issue with Carthage #232 - @zwang
- Avoids using AVCapture in simulator #235 - @geegaset
- Avoids crashing when receiving a nil indexPath (WebDriverAgent) #248 - @diegosanchezr
3.0 (Sept 21, 2016)
- Swift 3 support 🎉 - #220 - @diegosanchezr
2.1 (Sept 17, 2016)
- Enhanced customization for LiveCameraCell #199 - @TerekhovAnton
- Fixes input not being at the bottom when chat is embedded in a UITabbarController #202 - @andris-zalitis
- Fixes collection view insets when keyboard is shown #204 - @dbburgess
- LiveCameraCellPresenter made public #205 - @diegosanchezr
- Fixes order of photos on iOS 10 #215 - @geegaset
- Adds accessibility identifiers in ChatInputBar #218, #206 - @geegaset
- Xcode 8 - Swift 2.3 support
2.0 (Aug 8, 2016)
- Renames
ChatViewControllertoBaseChatViewController. #31 - @diegosanchezr - Makes presenters easier to reuse by relaxing generic constraints #35 - @diegosanchezr
- Fixes issues when the dataSource updates with a different instance for a previously existing chatItem. #36 - @diegosanchezr
BaseChatViewControllerexposeschatItemCompanionCollection. #39 - @diegosanchezr- This gives access to the presenter and decorationAttributes of a chatItem.
ChatDataSourceDelegateProtocolgetschatDataSourceDidUpdate(:context). #39 - @diegosanchezr- This allows to customize the update of the UICollectionView (reloadData vs performBatchUpdates)
MessageViewModelProtocollosesstatussetter.messageModelproperty is removed. #44 - @diegosanchezrChatDataSourceProtocolloses the completion blocks inloadNext()andloadPrevious(). #45 - @diegosanchezr- It's now the dataSource's responsability to notify when pagination finishes (by triggering
chatDataSourceDidUpdate(:context))
- It's now the dataSource's responsability to notify when pagination finishes (by triggering
BaseChatViewControlleris no longer retained until a running update finishes. #47 - @diegosanchezrBaseMessageCollectionViewCellcan now be subclassed out ofChattoAdditions. #48 - @bcamurChatInputBarDelegatemade public. #50 - @AntonPalichPhotoMessagePresenterexposesviewModelBuilderandinteractionHandler. #52 - @AntonPalich- Avatars in cells. #55 - @zwang, #176 - @maxkonovalov
MessageViewModelProtocolgetsavatarImagepropertyBaseMessageCollectionViewCellStyleProtocolgets methods to configure the layout of the avatarBaseMessageInteractionHandlerProtocolgetsuserDidTapOnAvatar(viewModel:)ChatItemDecorationAttributesgetscanShowAvatar
BaseMessagePresenterexposes user events (so subclasses can complement or bypass the interactionHandler). #62 - @AntonPalichBaseMessagePresenter.onCellBubbleTapped()BaseMessagePresenter.onCellBubbleLongPressed()BaseMessagePresenter.onCellFailedButtonTapped()
BaseMessagePresenterexposesmessageModel,sizingCell,viewModelBuilder,interactionHandlerandcellStyle. #63 - @AntonPalichPhotosChatInputItemgets new callbackscameraPermissionHandler,photosPermissionHandler. #65 - @Viacheslav-Radchenko- Enhanced customization for cells and the input component. #67 - @diegosanchezr, #73 @AntonPalich
BaseChatViewControllerexposesreferenceIndexPathsToRestoreScrollPositionOnUpdate. #75 - @diegosanchezr- It can be overriden to customize how the scroll position is preserved after a update.
- Fixes blinking when sending text messages on iOS 8
- Adds placeholders when there are very few photos in the camera roll. #85 - @Viacheslav-Radchenko
BaseChatViewControllerexposescreatePresenterFactory(). It can be overriden to provide a factory of presenters with custom logic. #89 - @weygBaseChatViewControllerexposesinputContainer. #90 - @diegosanchezr- Fixes insets issues. #91, #110 - @diegosanchezr
- Fixes memory leak when screen is left with the keyboard opened. #93 - @diegosanchezr
- PhotosChatInputItem listens to changes in the camera roll and updates accordingly. #94 - @AntonPalich
- Fixes issues with the keyboard #96, #115 - @diegosanchezr, #108 - @AntonPalich
BaseChatViewControllergetssetChatDataSource(_:triggeringUpdateType). #98 - @diegosanchezr- This allows to set a dataSource and not trigger an update of the collection view immediately.
- This can be useful on the first load of the conversation when the dataSource doesn't have any data yet.
ChatInputBargetsshouldEnableSendButtonclosure to customize when the send button is enabled #103 - @ikashkuta- Fixes UIMenuController not going away on the first tap outside when the keyboard is dismissed. #104 - @diegosanchezr
ChatInputBarDelegategetsinputBarShouldBeginTextEditing(_:)andinputBar(_: shouldFocusOnItem)#105 - @ikashkutaBaseChatViewControllergetsaccessoryViewRevealerConfig. #114 - @diegosanchezr- Allows setting an angle threshold that triggers the revealing
- Allows applying a transform to the finger's translation (to mimic a resistance effect)
- Fixes sizing of text cells: #122, #123 - @AntonPalich, #127, #161- @diegosanchezr
ChatInputBargetsfocusOnInputItem(_:)so that an input item can be focused programmatically. #124 - @ikashkutaBaseMessagePresentergets user eventsonCellBubbleLongPressBegan()andonCellBubbleLongPressEnded. #125 - @AntonPalichPhotoBubbleViewcan be subclassed. #130 - @AntonPalich- Configurable margins for revealable timestamps. #135 - @AntonPalich
BaseChatViewControllergetsendsEditingWhenTappingOnChatBackgroundto dismiss the keyboard automatically. #138 - @diegosanchezrBaseMessageCollectionViewCellDefaultStylegets optionalbubbleBorderImages#139 - @diegosanchezrChatItemsDecoratorcan now have a last word about theuidused by the update engine. #143 - @diegosanchezrBaseChatViewControllergetsupdatesConfigproperty. #145 - @diegosanchezrcoalesceUpdatescontrols whether updates are combined (if dataSource notifies about changes while there is a running update)fastUpdatescontrols whether a UICollectionView update can be performed before the previous one has finished.
- Exposes
BaseChatViewController.updateQueue. #150 - @ikashkuta, #169 - @diegosanchezr- Allows clients to pause updates in the UICollectionView.
- Performance optimizations for text cells. #144, #166 - @diegosanchezr
ChatInputBargetsmaxCharactersCountto limit text input size- Allows
ChatInputBarto be instantiated from an own nib. #153 - @makoni - Enhanced customization for buttons in
ChatInputBar. #154 - @diegosanchezr - Fixes memory leak. #165 - @AntonPalich
- Improves responsiveness of the camera. #168, #173 - @diegosanchezr
- Preserves height of the input view when switching between input items. #170, #174 - @ikashkuta
AccessoryViewRevealablegetsallowAccessoryViewRevealing. #175 - @ikashkuta- Allows to control whether timestamp can be revealed on a per cell basis.
1.0.1 (Jan 14, 2016)
- Support for Carthage
1.0 (Nov 27, 2015)
- First version