Commit Graph

262 Commits

Author SHA1 Message Date
Kino 93036d49d2 Remove unused getInitialMessages method 2020-07-18 16:36:58 -07:00
Kino a9a17956cb Add message top and bottom labels for name and time 2020-07-18 15:57:40 -07:00
Kino 6ff4bd7bc0 Scroll to bottom on keyboard begins editing 2020-07-18 15:57:21 -07:00
Kino 0f3e7cfe3b Add message sending ability by conforming Coordinator to InputBarAccessoryViewDelegate 2020-07-18 15:49:22 -07:00
Kino 76ac0722c3 add #if canImport for SwiftUI 2020-07-18 15:32:48 -07:00
Kino e9e524c465 Keep an initialized @State variable so we don't scrollToBottom animated the first time 2020-07-18 15:27:56 -07:00
Kino dbc7de1132 Initialize initial messages inline, add some helper methods 2020-07-18 15:27:22 -07:00
Kino f481519da4 Create SwiftUIExampleView to show use of MessagesView and data binding 2020-07-18 15:04:37 -07:00
Kino 2f6a2a14a0 Configure avatarView, currentSender 2020-07-18 14:32:51 -07:00
Kino 2436db9f5d Add SwiftUI Example to launchVC 2020-07-18 14:14:53 -07:00
Kino 5bb16cbf03 Add MessagesView wrapping MessageViewController 2020-07-18 13:41:49 -07:00
Austin Wright f0c638db6a Trivial commit to trigger danger 2020-06-01 14:13:41 -04:00
Austin Wright dadc83b89a Fix syntax/scope error from #1364 2020-06-01 13:54:34 -04:00
musa-almatri dd67cd26d9 Use messagesKey instead of string
messagesKey was initialized but not used
2020-06-01 18:16:10 +03:00
Kino ccc26481c7 Add padding info in the example proj for the InputBar 2020-05-26 20:47:23 -07:00
Jakub Kaspar 4db71affef Fix Swiftlint 2020-04-02 21:39:46 +02:00
Jakub Kaspar 6f3a7b2e1d Cherry pick changes for example app 2020-03-20 18:58:19 +01:00
Jakub Kaspar e9aa9f86d0 Revert silly change 2020-03-17 18:33:45 +01:00
Jakub Kaspar 94b887df77 Update example project 2020-03-17 18:31:24 +01:00
Austin Wright 9add67a040 Adjusted the logic back to gesture.location(in:
- Passed in the correct view so that the location is in the same view context as the condition
- Changed imageView back to frame. It doesn't really make a difference in the Example, since the container is the same size and at the same origin as the imageView. However, just in case a framework user does something different than the example (like offsetting the imageView), frame is the safer bet.
- Update podfile to point to the latest InputBarAccessoryView & use cocoapods 1.9.0
2020-03-17 01:03:43 -04:00
Austin Wright afe903e836 - Adjust version number to match previous conventions
- Re-Generate podfile.lock for Example app
2020-02-25 13:38:42 -05:00
Jakub Kaspar b5bb86de78 Prepare framework for beta version 2020-02-25 15:16:03 +01:00
Jakub Kaspar 5ba5295e22 Update podfile, udpate pods, fix warnings, remove unnecessary code 2020-02-21 21:15:12 -08:00
hyouuu d3654c2c48 Merge pull request #1166 from domeniconicoli/master
Added delegate method for image tap action
2020-02-16 22:27:21 -08:00
Domenico 57af77527f Added image tapped delegate 2019-08-18 19:26:07 +02:00
Marc Etcheverry ba2e8264c7 Add loading indicator to audio message cell 2019-06-04 18:11:46 -07:00
Nathan Tannar bed54d3c2a Merge branch 'development' into 3.0.0-swift5 2019-04-25 16:07:22 -07:00
Nathan Tannar d16e5f8078 Improve Example, Add screenshots 2019-04-06 12:09:47 -07:00
Nathan Tannar 5edb955e52 Update Example to Swift 5 2019-04-05 09:51:15 -07:00
Nathan Tannar bdb11d25fc Cleanup / Add warnings / Prep for beta release 2019-04-05 00:35:21 -07:00
Nathan Tannar 8cc96d71a2 Merge remote-tracking branch 'origin/3.0.0-beta' into typingIndicatorView 2019-04-05 00:11:14 -07:00
Iosif Moldovan cdedd2bf8c apply code review 2019-04-04 15:09:59 +03:00
Nathan Tannar 3f93702ff1 Merge branch '3.0.0-beta' into typingIndicatorView 2019-04-02 22:45:52 -07:00
Nathan Tannar d19e7df997 Go back to using a reserved section method 2019-04-02 22:43:09 -07:00
Iosif Moldovan 7a6f15f452 Merge branch '3.0.0-beta' of https://github.com/MessageKit/MessageKit into share_contact
# Conflicts:
#	Example/Sources/Data Generation/SampleData.swift
2019-03-30 11:25:06 +02:00
Iosif Moldovan 9fa69e7e59 Apply code review 2019-03-30 11:12:02 +02:00
Nathan Tannar 2138b3ba5d Small changes to try and fix crash 2019-03-26 12:20:11 -07:00
Nathan Tannar a058885b37 Fix example app 2019-03-24 18:34:43 -07:00
Nathan Tannar a4654372ef Merge pull request #913 from JulienKode/CustomDetectorType
[DetectorType][MessageLabel] Add custom, mention and hashtag detector type 👻
2019-03-24 17:39:48 -07:00
Iosif Moldovan de6a57645f Merge branch '3.0.0-beta' of github.com:MessageKit/MessageKit into share_contact
# Conflicts:
#	Example/Sources/Data Generation/SampleData.swift
#	Sources/Views/Cells/AudioMessageCell.swift
2019-03-12 16:42:05 +02:00
Iosif Moldovan 08451fbde0 Add contact share message support 2019-03-12 16:02:52 +02:00
Nathan Tannar 085f563a91 Crunch some bugs 2019-03-01 00:01:43 -08:00
Nathan Tannar fa06818e74 Typing Indicator as a Supplementary View 2019-02-28 22:40:36 -08:00
Nathan Tannar e9b3a7065f Quick fix for #993 2019-02-28 22:33:27 -08:00
Nathan Tannar 6eff119a5e Add warnings to MessageInputBar 2019-02-28 22:33:04 -08:00
Nathan Tannar 7555e0ac16 Merge branch '3.0.0-beta' into CustomDetectorType 2019-02-28 19:21:38 -08:00
subdiox 7936d1ca43 fix conflict on merge 2019-02-27 09:39:36 +09:00
Nathan Tannar ede22c30bc Swap MessageInputBar for InputBarAccessoryView 2019-02-24 14:06:58 -08:00
subdiox 667aac9954 update ChatExample code for AccessoryView to work properly 2019-02-21 04:56:38 +09:00
subdiox 96ccbce813 change the order of calling methods 2019-02-19 18:37:49 +09:00