Commit Graph

228 Commits

Author SHA1 Message Date
Steven Deutsch 4cc2fa91a0 Merge pull request #241 from MessageKit/bugfix/emoji-size
[Fixed] Emoji 2x sizing bug
2017-10-05 22:13:49 -05:00
Steven Deutsch a48b7648d2 [Fixed] Emoji 2x sizing bug 2017-10-05 22:04:27 -05:00
Andrew Robinson ea715ca560 Fix MediaMessageCell’s off center play button
Move the MediaMessageCell’s play button back to where it belongs.

Issue: #238
2017-10-05 21:13:04 -05:00
Steven Deutsch ca6f9492a2 Add TextMessageDisplayDelegate 2017-10-05 12:55:28 -05:00
Steven Deutsch 7e60ccef13 Add convenience init for MessagesCollectionView 2017-10-05 12:55:27 -05:00
Candost Dagdeviren dde838630a Update folder structure to represent groups
Signed-off-by: Candost Dagdeviren <candostdagdeviren@gmail.com>
2017-10-05 15:47:23 +02:00
SirArkimedes 0f00bd3f5b Move background color set to delegate
Also adds a didSet to the main font, to set the emoji’s font to double the set font.
2017-10-04 10:40:30 -05:00
SirArkimedes 11aa695762 Merge branch 'v0.9.0' into v0.9.0 2017-10-04 10:16:49 -05:00
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
Andrew Robinson 0ba2c7de31 Merge branch 'v0.9.0' into v0.9.0 2017-10-03 22:27:53 -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
Andrew Robinson afa93c198f Merge branch 'v0.9.0' into v0.9.0 2017-10-03 21:25:37 -05:00
Andrew Robinson dd7c831e06 Remove EmojiCell and consolidate into TextCell
Removes EmojiTextCell and takes what it used to doand  adds it to TextMessageCell.
2017-10-03 20:58:18 -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
Andrew Robinson ed1d1e5bc4 Add support for emoji-only messages
Adds a new message type that handles text that doubles the font size and removes the message background to model how iMessage displays emoji-only messages.
2017-10-03 18:09:52 -05: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