49 Commits

Author SHA1 Message Date
Jakub Kaspar e535c7301e Update IBAV dependency to 5.1.0 with dark mode support 2020-08-27 17:34:31 +02:00
Jakub Kaspar 9bd9bd6b78 Update example project 2020-08-05 21:30:53 +02:00
Martin Púčik 81395b6575 Swift Package Manager support without RxSwift dependency (#1341)
* feat: SPM support

Using InputAccessoryView dependency without Rx

* feat: SPM support

Add missing imports

* feat: Swift Package Manager support

Added Package description with Assets support for Swift 5.3

* feat: Swift Package Manager support

Remove .swiftpm temp files

* feat: Swift Package Manager support

Ignore .swiftpm temp files

* feat: Swift Package Manager support

Remove Package.resolved

* feat: Swift Package Manager support

Ignore Package.resolved

* feat: Swift Package Manager support

Assets in framework project

* feat: Swift Package Manager support

Fix tests

* feat: Swift Package Manager support

Fix tests

* feat: Swift Package Manager support

Fix tests

* feat: Swift Package Manager support

Try Bundle.module to get MessageKit bundle

* feat: Swift Package Manager support

SPM condition in bundle

* feat: Swift Package Manager support

Remove previous Swift 5.2 version Package.swift

* feat: Swift Package Manager support

Update Readme with SPM installation
2020-06-30 17:24:07 +02:00
Kino Roy 1918e55a48 Convert internal, static colors into color assets. (#1386)
* Add Assets.xcassets to MessageKitAssets.bundle

* Replace incomingGray, outgoingGreen, inputBarGray

* Replace playButtonLightGray, with UIVisualEffectView to mimic iMessage (Fixes #1321 , Fixes #1335)

* Fixes an issue where the triangle in the play button is not centered

* remove sendButtonBlue, add incoming/outgoingAudioMessageTint

Matches audio tint more closely to iMessage by tinting white on outgoing and tinting blue on incoming

* Remove backgroundColor, add collectionViewBackground

* remove unused labelColor

* Remove unused placeholderTextColor

* Remove grayColor

* remove darkTextColor, add typingIndicatorDot

Matches dot color more closely to iMessage

* Remove unused lightGrayColor

* Adds high contrast appearances to the color assets

* Add MessageKitError string for case when color asset could not be loaded

Also removes redundant internal access level modifier on MessageKitError (internal is default), and changes MessageKitError from enum -> struct as its members were not enum cases

* Fix swiftlint issues

* Add label color asset and use in ContactMessageCell

* Fix tests
2020-06-23 13:42:00 -07:00
martinpucik 81d4387d94 build: Bump Cocoapods bundle version 2020-03-20 14:02:16 +01:00
martinpucik 176c6cdd28 documentation: Loading remote image messages in Example project 2020-03-20 13:56:20 +01:00
Jakub Kaspar 07fbb99705 Merge branch 'development' into cleanupSwift
# Conflicts:
#	Example/Podfile.lock
2020-03-17 23:07:11 +01:00
Jakub Kaspar d52d57cce6 Merge branch 'master' into development
# Conflicts:
#	Example/Podfile.lock
2020-03-17 22:54:01 +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
Jakub Kaspar f59589331c Merge branch 'development' into cleanupSwift
# Conflicts:
#	Example/Podfile.lock
2020-03-12 09:51:14 +01:00
martinpucik 1cc29a977d feat: SwiftLint in Example project 2020-03-09 17:54:13 +01:00
Jakub Kaspar 26c38d512a Update example project 2020-02-28 15:17:23 +01: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
Marc Etcheverry ba2e8264c7 Add loading indicator to audio message cell 2019-06-04 18:11:46 -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
Iosif Moldovan 9fa69e7e59 Apply code review 2019-03-30 11:12:02 +02: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
Nathan Tannar 6eff119a5e Add warnings to MessageInputBar 2019-02-28 22:33:04 -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 31db3f9983 added AccessoryViewPosition parameter 2019-02-18 22:35:42 +09:00
Iosif Moldovan 7f855d20a3 pull out BasicAudioController from MessageKit framework 2018-12-15 12:44:33 +02:00
Iosif Moldovan eae6aa1e5a Merge branch 'development' of https://github.com/MessageKit/MessageKit into tagonsoft_development
# Conflicts:
#	Example/Podfile.lock
#	Example/Sources/View Controllers/ChatViewController.swift
#	MessageKit.xcodeproj/project.pbxproj
#	Sources/Protocols/MessageCellDelegate.swift
2018-10-16 09:13:25 +03:00
Nathan Tannar 2e6de00785 Horizontal Padding only for accessoryView 2018-10-11 22:21:16 -07:00
Iosif Moldovan 515b98ce45 partial development in add audio message support 2018-10-03 12:19:33 +03:00
Nathan Tannar d806da72e0 Update Example to Swift 4.2 2018-09-29 12:24:01 -07:00
Nathan Tannar 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
Nathan Tannar 5de6481e96 All-New ChatExample App 2018-08-11 21:57:34 -07:00
Steven Deutsch 02805c748a Fix cellContentHeight calculations 2018-04-20 03:40:37 -05:00
Changnam Hong 943ed2d899 Fix ChatExample for SwiftLint
1. Set .swiftlint.yml for ChatExample
2. Fix Access Control for Explicit Top Level ACL Violation
3. Fix SwiftLint Warning: Colon Violation, Function Body Length
4. Fix Forced Unwrapping style
2018-04-09 23:51:08 +09:00
Steven Deutsch e6b08ea64c Open up custom cell API and split into files 2018-01-28 13:04:54 -06:00
Rich Gabrielli 1782b0b2a1 Change Copyright to "Copyright (c) 2017-2018 MessageKit" 2018-01-02 22:16:05 -05:00
Nathan Tannar 6666b0ff21 Removed Unneeded Code 2017-12-08 12:22:29 -08:00
Steven Deutsch 3759610cfa Remove different delegates for different message types 2017-11-30 15:15:49 -06:00
Steven Deutsch 3efbdbd260 Fix bottom label origin bugs 2017-11-04 02:33:22 -05:00
Steven Deutsch dbe9d171b0 Update MessageKit.podspec for v0.10.0 2017-10-25 23:37:08 -05:00
Steven Deutsch bd4326356e Fixes #243 by deprecating addiontalTopContentInset 2017-10-09 20:32:43 -05:00
Candost Dagdeviren dde838630a Update folder structure to represent groups
Signed-off-by: Candost Dagdeviren <candostdagdeviren@gmail.com>
2017-10-05 15:47:23 +02:00
Steven Deutsch b7ddc7bf42 [Fix] Allow dynamic setting of messageLabelInsets #159 2017-09-25 15:15:25 -05:00
etoledom 8613f60d30 Added LocationMessageDisplayDelegate to add custom annotations to locationMessages
Modified example proyect implementing LocationMessageDisplayDelegate with a custom annotation
2017-09-22 20:31:18 -03:00
Steven Deutsch e6c228cbc2 Update ChatExample to Xcode 9 & Swift 3.2 2017-09-22 03:16:20 -05:00
Steven Deutsch 7d6166f715 Fix broken image path for Carthage 2017-09-21 16:45:48 -05:00
Steven Deutsch d43286b0e4 Add missing resources for Carthage 2017-09-20 15:36:00 -05:00
James Sherlock d5d21917d7 Update example project to use CocoaPods, Add basic UI test 2017-09-11 17:38:53 +01:00