Commit Graph

103 Commits

Author SHA1 Message Date
zhongwuzw 248e6d9a06 Optimize DateFormatter to static variable 2017-12-01 23:28:26 +08:00
Steven Deutsch 3759610cfa Remove different delegates for different message types 2017-11-30 15:15:49 -06:00
Steven Deutsch 0390f81608 Merge pull request #325 from zhongwuzw/master
Fix MessageInputBar layout issues && code optimize
2017-11-10 20:31:16 -06:00
Steven Deutsch d9ec372b83 Merge branch 'master' into development 2017-11-10 07:47:39 -06:00
zhongwuzw f5f2fa010b Change from closed to half-open range operator 2017-11-08 15:27:39 +08:00
Nathan Tannar 3c17e5978a Refined Example App Icon (#335)
* Better App Icon

* Better App Icon

* Org Logo for App Icon
2017-11-07 20:20:30 -06:00
Steven Deutsch 619a5bbd3d Fix compile error in example app from deprecation 2017-11-07 04:12:08 -06:00
Steven Deutsch 31c441782c Merge branch 'development' of https://github.com/MessageKit/MessageKit into development 2017-11-07 02:56:12 -06:00
zhongwuzw 413ff9972c Fix keyboard not dismiss on iOS9 2017-11-07 14:59:16 +08:00
zhongwuzw 49dc433b50 merge from developer && optimize guard statement 2017-11-06 13:52:43 +08:00
zhongwuzw 117dd63fe0 Fix MessageInputBar layout issues && code optimize
1. Fix ambiguous layout issues when MessageInputBar run layoutIfNeeded
method before added to superview.
2. Just reload new added message when click send button.
3. Change class-only protocols declaration.
4. Change placeholderLabel’s centerX、centerY priority because we need
satisfy left/right、top/bottom constraint first .
2017-11-03 23:01:18 +08:00
Nathan Tannar a1fd00c326 Typo Correction in Example 2017-11-02 21:03:37 -07:00
Nathan Tannar acda182df8 Merge pull request #280 from MessageKit/misc/iPhoneXLayoutSupport
Misc/i phone x layout support
2017-10-23 21:49:50 -07:00
Nathan Tannar a8b54f8868 Better iPhone X Support with SafeLayout Anchors 2017-10-23 15:15:23 -07:00
Nathan Tannar e308d81b2b Styled up Example!!! 2017-10-21 01:12:14 -07:00
Steven Deutsch 8de82032fc Merge pull request #258 from evilmint/fixes-call-on-ui-thread-in-example
Fixes ui call on non-main event
2017-10-14 14:20:19 -05:00
Aleksander Lorenc 07e86afd6f Fixes ui call on non-main event 2017-10-14 13:53:43 +02:00
Steven Deutsch bd4326356e Fixes #243 by deprecating addiontalTopContentInset 2017-10-09 20:32:43 -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 11aa695762 Merge branch 'v0.9.0' into v0.9.0 2017-10-04 10:16:49 -05:00
Tapan Prakash 6f99fb3a5f Fix #221 scroll to bottom is not working in sample app 2017-10-04 19:04:02 +05:30
Steven Deutsch aece16fc56 [Added] messagePadding(for:at:in) to MessagesLayoutDelegate 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
Andrew Robinson afa93c198f Merge branch 'v0.9.0' into v0.9.0 2017-10-03 21:25:37 -05:00
Frederic Barthelemy 90ee75c9ea AlphaSort some groups & Organize Xcodeproj 2017-10-03 18:14: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 97b4f2f38d Merge pull request #219 from MessageKit/example/random-data
Update the ChatExample app to use a random data generator
2017-10-03 04:33:21 -05:00
Steven Deutsch 24d98cb298 [Example] Update example app to use random data generator 2017-10-03 04:25:11 -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
etoledom e9d71239f6 Fix protocol signature on delegate conformance side. Now the animation is working on the example app. 2017-10-01 19:05:23 -03:00
etoledom 46c9471e48 Added custom animation support for displaying map on location messages. 2017-09-30 11:17:20 -03: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 a388785e9d Merge pull request #150 from etoledom/feature/locationMessageAnnotation
LocationMessageDisplayDelegate to add custom annotations
2017-09-24 21:33:22 -05: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 40b4c89624 Example updated for Xode 9 & Swift 4 2017-09-23 09:15:11 +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 603a938a4c Merge branch 'v0.8.0' into enhancement/media-messages 2017-09-20 14:31:40 -05:00
Steven Deutsch d3644545e6 Update example app 2017-09-19 00:10:43 -05:00
Steven Deutsch c15a5f8e80 Create location snapshot for LocationMessageCell 2017-09-18 14:09:04 -05:00
Steven Deutsch 4caea44cb5 Add video message 2017-09-17 23:42:27 -05:00
Steven Deutsch 7788a1e231 Add MediaMessageCell 2017-09-16 17:59:39 -05:00
Nathan Tannar d2db49b41c Slack and iMessage Keyboard Examples 2017-09-16 13:38:07 -07:00
Nathan Tannar 1bb8936a47 Slack and iMessage Keyboard Examples 2017-09-16 13:37:44 -07:00
Steven Deutsch 100b8d143e Update Example & reuse identifiers 2017-09-15 07:32:43 -05:00