Commit Graph

40 Commits

Author SHA1 Message Date
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 b7ddc7bf42 [Fix] Allow dynamic setting of messageLabelInsets #159 2017-09-25 15:15:25 -05:00
Steven Deutsch 124189f65e Update FlowLayout to use delegate for media messages 2017-09-19 00:10:15 -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
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 91b9656bc4 Calculate origins from position and trim frame size 2017-09-07 14:42:15 -05:00
Steven Deutsch 8218c99169 Deprecate incoming/outgoing avatar size for avatarSize(for:indexPath:_) 2017-09-06 07:55:40 -05:00
Steven Deutsch f38208c2cc Replace MessagesDisplayDataSource with MessagesDisplayDelegate 2017-09-06 06:52:58 -05:00
Steven Deutsch f2277d8cf5 Rename MessagesDisplayDataSource to MessagesDisplayDelegate 2017-09-06 06:08:07 -05:00
Steven Deutsch b869b526e2 Move frame calculations from cell into layout object 2017-08-25 10:45:00 -05:00
Steven Deutsch 7e28572e19 Add back NSAttributedString extension for calculations and remove temporary UILabel 2017-08-16 04:55:18 -05:00
Steven Deutsch a98b512d34 Add AvatarPosition model to customize Avatar position in cell 2017-08-15 04:08:44 -05:00
Steven Deutsch 5ca8b9e6df Use placeHolder UILabel to determined NSAttributedString size 2017-08-15 02:13:55 -05:00
Steven Deutsch f8f14dc8ea Fix estimated width layout bug by rounding up 2017-08-15 01:13:07 -05:00
Steven Deutsch ac495af182 Clean up access control and API 2017-08-13 02:18:22 -05:00
Steven Deutsch 8f1aab0374 Provide support for NSAttributedString in MessageLabel 2017-08-09 20:56:58 -05:00
Steven Deutsch eaa3dd15c7 Update cellTopLabel and cellBottomLabel to use NSAttributedString 2017-08-09 20:47:45 -05:00
Steven Deutsch 824748126a Update topLabel & bottomLabel constraints and add text alignment 2017-08-09 00:22:47 -05:00
Steven Deutsch a1a09195a6 Fix misplaced frames and update example app 2017-08-08 03:58:36 -05:00
Steven Deutsch f911cf3c39 Add cell top + bottom labels and refactor layout engine 2017-08-08 03:17:38 -05:00
Steven Deutsch 767b0f2c5d Fixes #37 - allow inset from message edge to cell 2017-08-07 00:26:36 -05:00
Steven Deutsch 2f18eb388a Fix device rotation layout bug 2017-08-03 02:28:33 -05:00
Steven Deutsch cee4b1c6d0 Invalidate layout for orientation change 2017-08-03 02:28:33 -05:00
Steven Deutsch 2894c47820 Add SwiftLint and fix warrnings/errors 2017-08-03 02:28:33 -05:00
Steven Deutsch db2e929296 Update Podspec and clean up code 2017-07-27 02:13:57 -05:00
Steven Deutsch cb90c7f007 Clean up access control 2017-07-27 02:00:08 -05:00
Steven Deutsch 9ffc10cd01 In progress 2017-07-27 00:14:42 -05:00
Steven Deutsch 0d111798ac Remove test colors start to clean up UI 2017-07-26 04:06:46 -05:00
Steven Deutsch 383002d1e6 Fix layout bug & cleanup code 2017-07-26 02:00:08 -05:00
Steven Deutsch c5ad5cb24b In progress 2017-07-25 22:20:11 -05:00
Steven Deutsch 83a0832945 Add MessagesCollectionViewLayoutAttributes (rough draft) 2017-07-23 03:26:33 -05:00
Steven Deutsch a185063d26 Add basic MessagesCollectionViewFlowLayout for height resizing cells 2017-07-23 00:52:17 -05:00