Steven Deutsch
f55807ab9a
Pass more useful delegate data and resolve more gesture conflicts
2017-08-24 07:22:40 -05:00
Steven Deutsch
aaa70b8dad
Fix conflicting gesture recognizers
2017-08-24 06:11:48 -05:00
Steven Deutsch
1a1ecd447d
Set attributedText after textColor has been set and reduce delegate assignments
2017-08-24 04:27:00 -05:00
Steven Deutsch
cc7fcbeb7d
Remove print statements
2017-08-24 00:02:24 -05:00
Steven Deutsch
ba85191dd0
Fix refactoring bug and add MessageLabelDelegate property
2017-08-23 23:50:52 -05:00
Steven Deutsch
035afbdcb6
Add MessageLabelDelegate to MessagesCollectionView
2017-08-23 23:29:16 -05:00
Steven Deutsch
7b16bcfef0
Update example app to use MessageLabelDelegate and set default implementations
2017-08-23 23:09:19 -05:00
Steven Deutsch
09e325da3e
Add MessageLabelDelegate
2017-08-23 23:05:19 -05:00
Steven Deutsch
866a9b5ce6
Fix empty data detector crash
2017-08-22 02:30:12 -05:00
Steven Deutsch
bd7e9f7581
Add url and date detectors
2017-08-22 02:04:58 -05:00
Steven Deutsch
3b498b368c
Add DetectorType
2017-08-22 01:37:23 -05:00
MacmeDan
1b6d480c7a
Fixed the headers.
2017-08-18 13:12:38 -06:00
MacmeDan
a85f890d83
Merge branch 'v0.5.0' into messageTextColor2
...
# Conflicts:
# Sources/MessagesDisplayDataSource.swift
2017-08-18 13:08:58 -06:00
Andrew Lauder
ea5af9cff6
Fix for Crash issue when no message #61
2017-08-16 10:57:11 -07:00
Steven Deutsch
7e28572e19
Add back NSAttributedString extension for calculations and remove temporary UILabel
2017-08-16 04:55:18 -05:00
Steven Deutsch
8006090984
Add messageTop and messageBottom AvatarPositions
2017-08-15 04:25:46 -05:00
Steven Deutsch
a98b512d34
Add AvatarPosition model to customize Avatar position in cell
2017-08-15 04:08:44 -05:00
Steven Deutsch
92be0af82c
Add delegate methods for cellToplabel and cellBottomLabel tap recognition
2017-08-15 03:27:16 -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
MacmeDan
156b2abdd3
adding code review suggestions.
2017-08-14 17:33:54 -06:00
MacmeDan
dca9c4d2ec
Adding bloat just for fun.
2017-08-14 17:10:25 -06:00
Güngör
84a973608b
Bug: Collection View Content Size Issue #33 is fixed. ( #54 )
2017-08-14 16:55:42 -06:00
MacmeDan
ef1b167363
updated parameters and fixed tests accordingly.
2017-08-14 16:42:35 -06:00
MacmeDan
38047d64b2
Adding tests, textColorMethod and making MessagesDisplayDataSource have a default implementation.
2017-08-14 16:20:07 -06:00
Steven Deutsch
ac495af182
Clean up access control and API
2017-08-13 02:18:22 -05:00
Steven Deutsch
1e24ca1b52
Merge pull request #42 from andreaantonioni/#41-InputTextView-placeholder-rendering-wrong-in-landscape
...
Fix #41
2017-08-09 21:00:13 -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
Andrea Antonioni
0aa724ee4f
Fix #41
2017-08-09 09:05:42 +02: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
7fc023c571
Create MessageLabel subclass
2017-08-07 23:43:03 -05:00
Steven Deutsch
41b05ab94b
Merge pull request #39 from MessageKit/AvatarViewStruct
...
Avatar view struct
2017-08-07 21:50:03 -05:00
Steven Deutsch
7b405e0a14
Fix MessageInputBar constraint bug
2017-08-07 21:49:05 -05:00
Steven Deutsch
ea8d8eeb49
Merge pull request #32 from andreaantonioni/input-text-view
...
InputTextView
2017-08-07 21:35:05 -05:00
MacmeDan
7f83b2c0bc
Fixed tests
2017-08-07 18:00:37 -06:00
MacmeDan
2cefb48023
Merge branch 'v0.3.0' into AvatarViewStruct
2017-08-07 17:47:09 -06:00
MacmeDan
5d79572fd9
Added the Avatar struct which has an image and initials.
...
Added an `Avatar` property to the `AvatarView`
Replaced the `imageView` in the `MessagesCollectionViewCell` with the `AvatarView`
Moved the `Avatar.playground` to the example project so users can play around and learn it capabilities.
Updated the example project and abstracted the `sampleData` to its own file.
Updated the organization for the project to `MessageKit` instead of `Hex bits`
2017-08-07 17:46:22 -06:00
Andrea Antonioni
dd9814455e
Fix bug on placeholder
2017-08-07 09:07:02 +02:00
Steven Deutsch
767b0f2c5d
Fixes #37 - allow inset from message edge to cell
2017-08-07 00:26:36 -05:00
Steven Deutsch
637b05d707
Merge branch 'v0.3.0' into input-text-view
2017-08-06 04:02:25 -05:00
Andrea Antonioni
8476ff6405
Improve performance reducing useless redraw of the component
2017-08-06 10:43:16 +02:00
Steven Deutsch
01dd771303
Merge branch 'master' of https://github.com/MessageKit/MessageKit into v0.3.0
2017-08-06 01:20:29 -05:00
Dan Leonard
3b94565c48
AvatarView ( #31 )
...
* Add AvatarView along with `AvatarView.Playground` Implemented code review changes.
* Add tests because your are supposed to add tests for everything.
* Replace references to the Avatar with AvatarView. Update Example Project.
* Updated my `swiftLint` and fixed issues.
2017-08-05 23:55:59 -06:00
Andrea Antonioni
691c3eaa53
Implement InputTextView with support to a placeholder
2017-08-06 00:04:29 +02:00
Andrea Antonioni
c1b397ebc1
Change send button UI and implemented disabled logic.
2017-08-05 17:03:49 +02:00
Steven Deutsch
a38fb24998
Add Header & Footer views + Update Delegates & Naming
2017-08-04 22:30:41 -05:00
Steven Deutsch
258c0b67a4
Add MessageCellDelegate - didTapAvatar & didTapMessage
2017-08-03 02:28:34 -05:00