211 Commits
Author SHA1 Message Date
Julien KandJulien K be571b0b17 [MessageLabel] Change privacy of properties and function to use allow people to use it in their own custom cell
Revert "[MessageLabel] Change privacy of properties and function to use allow people to use it in their own custom cell"

This reverts commit e902832887cc30c85910e059f58f1cf482a0c028.

[MessageLabel] Change privacy of properties and function to use allow people to use it in their own custom cell

[Update] Make handleGesture open

[Update]
2018-10-26 12:32:12 +02:00
Wu ZhongandGitHub aa734da840 Merge pull request #905 from talanov/development
Fix: Allow required initializator methods @ Views.
2018-10-14 23:04:39 +08:00
stanislav 648609d114 Fix: Allow required init coder @ MessageLabel, MessagesCollection, PlayButton Views, MessageContent, MessageCollectionView Cells, MessagesCollectionViewFlow Layout. 2018-10-14 17:45:57 +03:00
Nathan Tannar 2e6de00785 Horizontal Padding only for accessoryView 2018-10-11 22:21:16 -07:00
Nathan Tannar 78c48fbf2d Merge remote-tracking branch 'origin/development' into accessoryview-updates 2018-10-11 21:32:02 -07:00
Nathan TannarandGitHub fa08526d09 Merge pull request #889 from monzo/bugfix/messagelabel-autolayout
fix intrinsic content size for MessageLabel
2018-10-05 12:18:56 -07:00
Julien K bc70b5bccc [Accessoryview] Fix 2018-10-04 16:43:56 +02:00
Marius Serban 6a2eef77a1 fix intrinsic content size for MessageLabel 2018-10-02 16:58:25 +01:00
Nathan Tannar 9a2affcd6f Update to Swift 4.2 2018-09-29 11:45:50 -07:00
Nathan Tannar 406f700109 Minor edits 2018-09-25 23:04:15 -07:00
Nathan TannarandSteven Deutsch 230e067009 Integrate MessageInputBar as a dependency (#732)
* Remove MessageInputBar files and change build settings

* Conditional imports to allow for builds without MessageInputBar

* Update Cardfile

* Specify Version in Cartfile for MessageInputBar

* Remove conditional imports in favor of Carthage for local development

* Additional `import MessageInputBar`

* Remove `MessageInputBar` from Cartfile.private

* Bump MessageInputBar version

* Add Cartfile

* Tweak build settings

* Specify import of MessageInputBar for Carthage
2018-09-17 12:22:21 -05:00
Steven DeutschandGitHub 04c2369d32 Merge pull request #832 from maxxx777/enhancement/init-reusable-view-with-coder
Enhancement/init reusable view with coder
2018-09-15 18:23:20 -05:00
Maxim Tsvetkov ae68e19c3f Rename convenience method to register Reusable View from nib 2018-09-15 22:44:10 +02:00
Nathan Tannar a3c7a2f062 Add delegate and adjust layout 2018-08-31 11:04:42 -07:00
Maxim Tsvetkov 6a81f5c7b2 Add convenience method to register Reusable View from nib 2018-08-31 00:29:16 +02:00
Maxim Tsvetkov a009e72be6 Add init with coder for MessageReusableView 2018-08-31 00:22:59 +02:00
Steven Deutsch 1be76220a5 Fix CHANGELOG 2018-08-15 10:50:50 -05:00
James Nicholson e63d9a5337 Add support for embedded NSLinks for .url DetectorType 2018-08-07 17:22:59 +01:00
Nathan Tannar d9f8856d63 Add back parseForAttachedImages 2018-08-01 12:24:52 -07:00
Nathan Tannar 34dcda013a Fix #569 and #789 2018-08-01 11:55:21 -07:00
Wu ZhongandGitHub 528ed1aae6 Fixed MessageContentCell's subviews frame when size equal to .zero (#716)
* Fixed MessageContentCell's subviews frame when size equal to .zero

* Remove .zero check

* Fix test failure
2018-06-07 11:45:32 +08:00
Shawn Gong 4dabb02d2e Fix broken test (not related to this PR), and formatting 2018-06-04 16:55:31 -07:00
Shawn Gong 9c3032d8f7 Don’t ignore size calculation on zero size, and consider accessoryView height 2018-06-02 22:15:19 -07:00
Shawn Gong 7fde2fdc26 mimic avatar 2018-06-02 19:11:19 -07:00
Shawn Gong b36924e3d2 consider accessoryViewPadding vertical attributes 2018-06-02 14:18:34 -07:00
Shawn Gong 9c23282d07 Add customizable accessoryView besides messageContainer 2018-06-02 02:10:51 -07:00
Wu ZhongandGitHub a9a68f6476 Fixed separator line height (#667)
* Fixed separator line height

* Update CHANGELOG.md
2018-05-01 00:30:55 +08:00
Steven Deutsch 9b2e785cdc Merge branch 'master' of https://github.com/MessageKit/MessageKit into development 2018-04-29 13:12:27 -05:00
Steven Deutsch 3786989988 Add CHANGELOG entry 2018-04-26 03:11:45 -05:00
Steven Deutsch a6473c673e Rename cellBottomLabel 2018-04-26 02:51:41 -05:00
Austin Wright 95de21cbeb https://github.com/MessageKit/MessageKit/issues/663
- Removed textOffset CGPoint
- Adjusted touch location offset calculation to use textInsets .left/.top directly
2018-04-25 21:20:59 -04:00
Steven Deutsch 02805c748a Fix cellContentHeight calculations 2018-04-20 03:40:37 -05:00
zhongwuzw edd79fb3ae Add cellTop/messageLabelTop/cellBottom case for avatar vertical position 2018-04-18 17:24:53 +08:00
zhongwuzw 56418d2c70 Add cellTopLabel and rename topLabel to messageTopLabel 2018-04-16 18:40:58 +08:00
zhongwuzw 39986f0458 Renamed MessageData to MessageKind 2018-04-16 11:57:50 +08:00
Steven Deutsch 4422020347 Merge branch 'master' of https://github.com/MessageKit/MessageKit into development 2018-04-11 16:11:35 -05:00
zhongwuzw ffa21fdb67 Fixed bubbleTailOutline of message bubble 2018-04-06 21:45:26 +08:00
zhongwuzw bdfb988590 Fixed font invalidation of attributedString in MessageLabel 2018-04-06 11:00:42 +08:00
zhongwuzw f202228c60 Add CHANGELOG 2018-04-06 10:43:11 +08:00
Corey WaloandWu Zhong 6fcd2d6aa2 Only apply textColor for .text case of MessageData (#625)
* Only apply textColor for .text case of MessageData

* Update CHANGELOG

* Add name and PR #
2018-04-06 10:27:01 +08:00
zhongwuzw 1ee84a6862 Fix font invalid for attributedString 2018-04-05 23:36:04 +08:00
Steven Deutsch 1dc97fc38f Remove shouldDisplayHeader method 2018-04-03 13:24:43 -05:00
Steven Deutsch 911387edc1 Refactor header/footer API to remove indexPath 2018-04-03 13:24:43 -05:00
Steven Deutsch 9b8f0ba915 Remove CollectionViewReusable protocol 2018-04-03 13:24:43 -05:00
Steven Deutsch 3697048cb3 Remove MessageHeaderView and MessageFooterView 2018-04-03 13:24:43 -05:00
Steven Deutsch 1abcf97576 Add documentation for cells 2018-03-30 11:18:11 -05:00
zhongwuzw c82a7c0d1e update access control 2018-03-30 12:49:31 +08:00
zhongwuzw aaae67ec65 Make sizeCalculator lazy && fix access level 2018-03-30 10:09:46 +08:00
Steven Deutsch 800396c13e Refactor reusable view inheritance hierarchy 2018-03-27 02:38:07 -05:00
Steven Deutsch 82dcf562d5 Refactor cell inheritance hierarchy 2018-03-27 02:37:53 -05:00