Commit Graph

132 Commits

Author SHA1 Message Date
Frederic Barthelemy dbcd70e993 Switch calls to NSLayoutConstraint.(de)activate
AppleDocs say these are typically faster than directly adjusting isActive
2017-09-09 15:38:06 -07:00
Frederic Barthelemy 655d23bbc8 Modernize some constraint calls to use NSLayoutAnchor 2017-09-09 15:36:24 -07:00
Steven Deutsch b7ef4b7c6a Fix detector attributes bug 2017-09-09 10:40:28 -05:00
Steven Deutsch fc9df34255 Add avatarAlwaysLeading and avatarAlwaysTrailing 2017-09-09 08:36:04 -05:00
Steven Deutsch c83123061c Remove MessageDirection in favfavor of AvatarHorizontalAlignment 2017-09-09 04:56:04 -05:00
Steven Deutsch 59f1ee249f Rename AvatarPosition -> AvatatarAlignment & CellLabelPosition -> LabelAlignment 2017-09-09 04:51:57 -05:00
Steven Deutsch 0edc09ec08 Fix message inset application bug 2017-09-09 04:08:32 -05:00
Steven Deutsch dee15ae0b6 Fix cell top label origin and max width 2017-09-09 03:48:33 -05:00
Steven Deutsch a940a16196 Fix cell bottom label origin and max width 2017-09-09 02:59:33 -05:00
Steven Deutsch 42b0841bff Remove textAlignment setting in cell 2017-09-07 14:42:52 -05:00
Steven Deutsch 91b9656bc4 Calculate origins from position and trim frame size 2017-09-07 14:42:15 -05:00
Steven Deutsch 3081b2e8da Add cellTopLabelPosition & cellBtmLabelPosition methods 2017-09-07 14:40:43 -05:00
Steven Deutsch aa8d867d79 Add CellLabelPosition 2017-09-07 14:40:02 -05:00
Steven Deutsch 7ac3805cca Fix messageTextColorDefaultState text 2017-09-06 10:01:09 -05:00
Steven Deutsch 8218c99169 Deprecate incoming/outgoing avatar size for avatarSize(for:indexPath:_) 2017-09-06 07:55:40 -05:00
Steven Deutsch d9def855f9 Update example, harden deprecation, cleanup label delegates 2017-09-06 07:09:29 -05:00
Steven Deutsch f38208c2cc Replace MessagesDisplayDataSource with MessagesDisplayDelegate 2017-09-06 06:52:58 -05:00
Steven Deutsch d2ecdf6b8c Move avatarPosition to MessagesLayoutDelegate 2017-09-06 06:52:37 -05:00
Steven Deutsch 4a121e328d Make MessageCellDelegate conform to MessageLabelDelegate 2017-09-06 06:52:00 -05:00
Steven Deutsch 7873b134b1 Move cellToplabelText, cellBottomLabelText, avatar to MessagesDataSource 2017-09-06 06:11:46 -05:00
Steven Deutsch f2277d8cf5 Rename MessagesDisplayDataSource to MessagesDisplayDelegate 2017-09-06 06:08:07 -05:00
Steven Deutsch 6ef0638efb Make reusable view registration private 2017-09-06 05:52:25 -05:00
Steven Deutsch 248744dcc0 Add default header size implementation for MessageDateHeader 2017-09-06 05:36:11 -05:00
Steven Deutsch eefab1b4e2 Make default implementations public 2017-09-06 05:35:37 -05:00
Steven Deutsch 35f73cd2e3 Add default DateHeader implementation and shouldDisplayHeader method 2017-09-06 05:28:31 -05:00
Steven Deutsch 8468c9baba Remove TailCorner as its now a MessageStyle nested type 2017-09-06 05:19:57 -05:00
Steven Deutsch dc2ffbd134 Create MessageDateHeader 2017-09-06 05:17:10 -05:00
Steven Deutsch 60673db226 Create MessageKitDateFormatter 2017-09-06 05:16:25 -05:00
Nathan Tannar 26fbc7acb1 Merge pull request #99 from MessageKit/bugFix/messageInputBarRender
A workaround solution for the render issue with MessageInputBar
2017-09-04 09:52:44 -07:00
Steven Deutsch 50179c403f Gardening for MessageInputBar rendering bugfix 2017-09-04 09:06:43 -05:00
Steven Deutsch 6400cf74b5 Add new message styles 2017-09-04 08:39:28 -05:00
Nathan Tannar 848e048a14 A workaround solution for the render issue with MessageInputBar
It seems as though when using a UINavigationController there is an issue with the rendering of an inputAccessoryView. This workaround creates a copy during the animation and then deletes it.
2017-09-03 12:40:00 -07:00
Steven Deutsch a9fa0e2441 Handle messageColor for style of .none 2017-09-03 05:57:30 -05:00
Steven Deutsch 9968c3540b Create TailCorner 2017-09-03 05:39:14 -05:00
Steven Deutsch b3aa820be4 Add images for MessageBubbles 2017-09-03 04:39:04 -05:00
Steven Deutsch f3040f6966 Merge pull request #94 from oyalhi/v0.6.0
MessageContainerView updates
2017-09-02 04:04:25 -05:00
Omer YALHI 37b6adbc75 Final updates 2017-09-02 09:59:50 +03:00
Omer YALHI f33c20d29d MessageContainerView updates for the MessageKit project 2017-09-02 09:53:00 +03:00
Omer YALHI bc21776078 MessageContainerView updates for the MessageKit project 2017-09-02 09:50:59 +03:00
Nathan Tannar ec496a0b7d AutoLayout Bug Fixes / Performance Boost 2017-09-01 18:45:37 -07:00
Omer YALHI 447dc6b10d MessageContainerView.swift added 2017-09-01 17:11:14 +03:00
Steven Deutsch 267dc5551a Fix text alignment in #85 2017-09-01 05:39:51 -05:00
Steven Deutsch f6de024d29 Set defaults for InputTextView 2017-09-01 04:53:39 -05:00
Steven Deutsch 0fa7b379a3 In progress 2017-09-01 00:40:34 -05:00
Steven Deutsch c00fef793c Make reuse registration functions open 2017-08-31 21:16:04 -05:00
Steven Deutsch b46a3a1f7e Remove swipe gesture handler 2017-08-31 21:15:44 -05:00
Eduardo Toledo c43f6c97ee Fix failing tests from MessagesDisplayDataSourceTests 2017-08-31 13:30:04 +03:00
Eduardo Toledo 73ea751dac Fix side effect of inputAccessoryView rendering bug fix 2017-08-31 12:22:18 +03:00
Steven Deutsch d839400378 Fix inputAccessoryView rendering bug 2017-08-31 03:12:38 -05:00
Eduardo Toledo 537a87b5f6 messagesCollectionView top constraint to superView 2017-08-29 14:17:56 +03:00