Commit Graph

51 Commits

Author SHA1 Message Date
zhongwuzw 31543437cb Fix messageInputBar sendButton not disabled in some situations 2018-01-19 21:18:34 +08:00
Steven Deutsch 148d138787 Merge branch 'master' into development 2018-01-11 23:35:20 -06:00
Steven Deutsch 2c5bf14895 Merge pull request #423 from MessageKit/enhancement/inputTextViewImageSupport
Image Paste Support for InputTextView
2018-01-06 23:02:32 -06:00
Rich Gabrielli 1782b0b2a1 Change Copyright to "Copyright (c) 2017-2018 MessageKit" 2018-01-02 22:16:05 -05:00
zhongwuzw 42ea9ef0aa Fixed iPhoneX MessageInputBar transparent bottom area 2017-12-24 22:09:24 +08:00
Nathan Tannar 611c71dd8a Image Paste Support for InputTextView 2017-12-22 20:16:16 -08:00
Wu Zhong a7e8bf814a Merge pull request #392 from zhongwuzw/fix-messagebar-rotate
Adjust messageInputBar's height when traitCollection changed
2017-12-10 14:16:35 +08:00
zhongwuzw 71a11155f2 remove unnecessary code 2017-12-10 13:41:05 +08:00
zhongwuzw 20ae451a3a update messageInputBar height adjustment 2017-12-10 13:07:02 +08:00
zhongwuzw d690f92acf Fix constraits when padding changed 2017-12-09 11:09:13 +08:00
zhongwuzw 09748d95a2 Adjust messageInputBar's height when traitCollection changed 2017-12-09 10:22:16 +08:00
zhongwuzw 6bbb83520a Just handle notification we wanted 2017-12-08 14:31:01 +08:00
Nathan Tannar 86723e936d typo 2017-12-07 17:06:31 -08:00
Nathan Tannar dc6f82cb34 New contentView to make constraint management easier 2017-12-07 16:28:56 -08:00
Nathan Tannar c88b2a0ecb Initial Restructure to a contentView 2017-12-07 12:37:58 -08:00
Nathan Tannar 8604d341e2 Typos and Corrections 2017-12-07 11:43:07 -08:00
Nathan Tannar e7e716f051 Final Fix of bottom constraint issues 2017-12-06 20:10:27 -08:00
Nathan Tannar 0b49b3573f Fixed Constraints Breaking and Content Size Calculations 2017-12-06 19:22:45 -08:00
Nathan Tannar dd893232a0 Merge bottomAnchorSize 2017-12-06 18:37:35 -08:00
zhongwuzw 3862bbd73e Fix MessageInputBar bottomAnchor issue 2017-12-01 12:10:24 +08:00
Wu Zhong b7f5f950de Fix #357 intrinsicContentSize 2017-11-30 14:45:04 -06:00
Wu Zhong c212af8cee Revert "update" 2017-11-23 18:12:32 +08:00
zhongwuzw fe3117367c update 2017-11-23 18:10:33 +08:00
zhongwuzw 5bb3e0988a Add bottomStackView 2017-11-23 16:31:10 +08:00
zhongwuzw fe89b4590e Fix MessageInputBar bottomAnchor issue 2017-11-23 15:12:30 +08:00
Steven Deutsch 65e7d1c7ff Resolve merge conflict 2017-11-18 21:14:01 -06:00
Steven Deutsch e5809b4931 Merge branch 'development' of https://github.com/MessageKit/MessageKit into development 2017-11-18 20:01:57 -06:00
Steven Deutsch acefdd2ae9 Merge branch 'master' into development 2017-11-18 20:00:31 -06:00
Steven Deutsch f487a6ec24 Merge pull request #348 from zhongwuzw/FixMessageInputBarTranslucent
Fix MessageInputBar translucent property
2017-11-14 03:58:54 -06:00
zhongwuzw 9f6c494c17 remove MessageInputBar backgroundColor 2017-11-14 12:20:33 +08:00
Nathan Tannar 5e4da8df15 MessageInputBar bottomAnchot Fix 2017-11-13 12:03:39 -08:00
zhongwuzw 8ef9fc8a8e Fix MessageInputBar translucent property 2017-11-13 11:15:04 +08:00
Nathan Tannar fa95843583 SeparatorLine Fix on iPhone X 2017-11-12 13:03:12 -08:00
zhongwuzw 71b60faf4a Revert "remove unnecessary guard statement"
This reverts commit 272162ddb7.
2017-11-06 15:00:20 +08:00
zhongwuzw 272162ddb7 remove unnecessary guard statement 2017-11-06 14:49:20 +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 0cdf0bdf36 Suggestions from PR #320 2017-11-02 22:14:25 -07:00
Nathan Tannar 35eb42382c Rebase onto dev with some minor fixes 2017-11-02 20:44:40 -07:00
Nathan Tannar eea80108f7 Add .top InputStackView and Docs 2017-11-02 20:21:15 -07:00
Nathan Tannar 1b0af97389 Fix to issue #312 2017-11-01 12:13:26 -07:00
zhongwuzw 3ce222a54a Fix left、rightStackView layout issues 2017-11-01 11:47:51 +08:00
Nathan Tannar 7e29853601 Fix for #281 and PR #280 Suggestions 2017-10-23 21:35:44 -07:00
Nathan Tannar a8b54f8868 Better iPhone X Support with SafeLayout Anchors 2017-10-23 15:15:23 -07:00
Nathan Tannar 466ab2fd60 Suggestions from PR #275 2017-10-21 15:13:07 -07:00
Nathan Tannar 5d058cb8dc InputBarButtonItem Comments 2017-10-20 22:04:17 -07:00
Nathan Tannar 8775f44819 Changes Proposed in PR #273 2017-10-20 20:12:13 -07:00
Nathan Tannar f1578b9e15 AddedAdded InputStackView as its own subclass
A subclass of UIStackView thats default properties are such that it will layout its arranged subviews based on their intrinsicContentSize which is what we need for InputBarButtonItems
2017-10-20 19:15:55 -07:00
Nathan Tannar cd03e9d26d Added SeparatorLine as a subclass
SeparatorLine is a subclass of UIView thats intrinsicContentSize is overrided such that its height can be explicitly defined. It is intended to be used in a UIStackView
2017-10-20 19:14:35 -07:00
Nathan Tannar 4f12533c64 iPhone X Support 2017-10-17 23:57:53 -07:00