Commit Graph

216 Commits

Author SHA1 Message Date
Steven Deutsch aece16fc56 [Added] messagePadding(for:at:in) to MessagesLayoutDelegate 2017-10-03 22:28:06 -05:00
Steven Deutsch 0bf0005766 [Removed] messageToViewEdgePadding property of MessagesCollectionViewFlowLayout 2017-10-03 22:28:06 -05:00
Steven Deutsch 20f5f66237 [Changed] MessagesDisplayDelegate footer & header signatures to return non-optionals 2017-10-03 22:08:09 -05:00
Steven Deutsch ef3e2c0297 Add generic method for header/footer dequeueing and change extension to MessagesCollectionView 2017-10-03 22:06:50 -05:00
Steven Deutsch 0a8df7b7a9 [Deprecate] dequeueMessageHeaderView & dequeueMessageFooterView 2017-10-03 22:05:59 -05:00
Frederic Barthelemy 9c838767ff Remove all tab-indentation from the Source Files 2017-10-03 18:44:21 -07:00
Frederic Barthelemy efab11c658 Merge pull request #225 from MessageKit/fb/reuse_identifier_simplicity_boilerplate_removal
Simplify Cell/Header/Footer Class Registration
2017-10-03 18:38:17 -07:00
Frederic Barthelemy d3423639f3 Simplify Cell/Header/Footer Class Registration
Also simplify / remove boilerplate from dequeueing reusable cells.
2017-10-03 18:21:46 -07:00
Frederic Barthelemy 7dffb55501 Clean up some lint warnings 2017-10-03 18:15:56 -07:00
Steven Deutsch f4fddd9bbf Merge branch 'v0.9.0' into enhancement/keyboard-scrolling 2017-10-03 05:34:27 -05:00
Steven Deutsch 9b6810edf6 Remove UITextView observer 2017-10-03 03:45:44 -05:00
Steven Deutsch e8ea04496d [Added] additionalTopContentInset property 2017-10-03 03:43:29 -05:00
Steven Deutsch d580c15cf6 [Added] scrollsToBottomOnKeyboardDidBeginEditing property 2017-10-03 03:12:47 -05:00
Francesco Deliro ea00a643ca - added open var scrollsToBottomOnFirstLayout (#213)
Added open var scrollsToBottomOnFirstLayout
2017-10-02 18:47:48 -05:00
Steven Deutsch ff9669b44a Merge pull request #210 from MessageKit/feature/animateDisplayLocationMessage
Added custom animation support for displaying map on location messages.
2017-10-02 17:58:50 -05:00
Steven Deutsch 4f79dd9840 Merge pull request #204 from MessageKit/bugfix/opaque-nav-bar
[Fixed] Set extendedLayoutIncludesOpaqueBars to true by default
2017-10-02 17:41:47 -05:00
etoledom ac35378b10 Changed UIView to UIImageView on the map screenshot animation block.
Added entry on Changelog.
2017-10-01 17:23:54 -03:00
Steven Deutsch 35e2aa29b9 [Fixed] Set extendedLayoutIncludesOpaqueBars to true by default 2017-09-30 19:29:04 -05:00
Steven Deutsch 2b51e363fb [Changed] Set configure to open for all MessagesCollectionViewCells 2017-09-30 19:08:00 -05:00
etoledom 46c9471e48 Added custom animation support for displaying map on location messages. 2017-09-30 11:17:20 -03:00
Tapan Prakash 685bdc9fa0 Fixing override keyword placement in function declaration 2017-09-30 10:05:19 +05:30
Nicolas Millasseau 7754d3a7b1 fix proposal for #180 2017-09-28 14:23:00 +02:00
Nathan Tannar 243c621f9a Merge branch 'v0.9.0' into bugFix/messageInputBarHeight 2017-09-27 23:07:42 -07:00
Nathan Tannar fd70eda872 Incorrect Test Code 2017-09-27 22:22:37 -07:00
Nathan Tannar 1a47ba3961 Comments 2017-09-27 22:19:52 -07:00
Nathan Tannar 322bf32ef2 Tweaks to ensure scrollIndicatorInsets cannot be .zero 2017-09-27 22:14:35 -07:00
Nathan Tannar ee65785607 Rendering issue from #116 2017-09-27 22:01:35 -07:00
Corey Walo 233d2c1eae Merge pull request #177 from cwalo/fix/collectionView-protection-levels
Modify protection level of UICollectionViewDataSource methods
2017-09-27 21:06:28 -05:00
etoledom d5cac773e8 Merge pull request #174 from etoledom/fix/scrollIndicatorInset
Fix scroll indicator inset
2017-09-27 21:23:55 -03:00
Corey Walo 513767a470 Make sizeForItemAt open 2017-09-27 14:07:53 -05:00
Corey Walo 205ff0f916 Modify protection level of UICollectionViewDataSource methods
public -> open
2017-09-27 13:46:01 -05:00
Corey Walo b8892699da Make header and footer view initializers public 2017-09-27 10:47:42 -05:00
etoledom a9621a1113 Updating scrollIndicatorInsets.bottom to match contentInset.bottom 2017-09-26 23:44:55 -03:00
Nathan Tannar b4bed2b789 Height Fix 2017-09-26 19:12:29 -07:00
Steven Deutsch c93a5e0dff [Added] .custom case to MessageStyle to customize via closure 2017-09-26 12:32:03 -05:00
Steven Deutsch e21352944e [Fix/Example] Fix bottomLabelInset bug and update example app to demonstrate 2017-09-26 12:15:08 -05:00
Steven Deutsch fc6a5451ba [Removed] cellTopLabelInsets and cellBottomLabelInsets in favor of associated values 2017-09-26 12:15:08 -05:00
Steven Deutsch 3b78d4eb28 [Added] UIEdgeInsets associated values to all LabelAlignment enum cases 2017-09-26 12:15:08 -05:00
Steven Deutsch b7ddc7bf42 [Fix] Allow dynamic setting of messageLabelInsets #159 2017-09-25 15:15:25 -05:00
Steven Deutsch a388785e9d Merge pull request #150 from etoledom/feature/locationMessageAnnotation
LocationMessageDisplayDelegate to add custom annotations
2017-09-24 21:33:22 -05:00
etoledom 7ecc1b2b7c Removing print snapshot error to console 2017-09-24 09:45:56 -03:00
etoledom ad1bc606da Added option to not show annotation on LocationMessage
Documentation on LocationMessageDisplayDelegate
2017-09-23 23:42:32 -03:00
etoledom 3c864f9bdf Removed unnecessary locationMessagesDisplayDelegate from messagesCollectionView
Added defer {} to always exit `setMapSnaphotImage` stopping activity indicator
2017-09-23 10:42:10 -03:00
Javier Cancio c4aaab1938 Xcode 9 & Swift 4 support 2017-09-23 09:01:42 +02:00
etoledom 8613f60d30 Added LocationMessageDisplayDelegate to add custom annotations to locationMessages
Modified example proyect implementing LocationMessageDisplayDelegate with a custom annotation
2017-09-22 20:31:18 -03:00
Steven Deutsch e6c228cbc2 Update ChatExample to Xcode 9 & Swift 3.2 2017-09-22 03:16:20 -05:00
Steven Deutsch b5873074ae Merge branch 'master' into v0.8.0 2017-09-22 01:16:08 -05:00
Steven Deutsch 62abb03455 Update CHANGELOG & availability 2017-09-22 01:15:27 -05:00
Steven Deutsch b56dccc912 Merge pull request #138 from gungorbasa/newAvatarView
New avatar view
2017-09-21 23:40:47 -05:00
Steven Deutsch d17a24ce3f Remove invalid redeclaration from removed reference 2017-09-21 23:25:37 -05:00