30 Commits

Author SHA1 Message Date
Jan de Vries 7809a5b82c fixed IBAV position issue in the SwiftUI example by adding ignoresSafeArea modifier to the body (iOS 14+) 2023-08-23 20:21:11 +02:00
Martin Púčik bff35fda61 Added Swiftlint and Swiftformat plugins (#1729)
* build: Swiftlint plugin

* build: Swiftformat plugin

* build: Swiftformat plugin

* build: Swiftformat bash command

* style: Swiftformat rules

* style: Swiftformat applied to codebase

* style: Ignore Tests for Swiftlint

* Update bundler

* Update changelog and migration guide

* style: Ignore Example for Swiftlint

* chore: Changelog

* Update Xcode version for ci_pr_tests.yml

* Update ci_pr_framework.yml

* Update ci_pr_example.yml

* chore: Changelog

Co-authored-by: Jakub Kaspar <kaspikk@gmail.com>
2022-07-25 08:46:14 +00:00
Martin Púčik cf07a475c9 Renamed func currentSender() -> SenderType to var currentSender: SenderType (#1714)
* refactor: Renamed `func currentSender() -> SenderType` to `var currentSender: SenderType`

* refactor: Renamed `func currentSender() -> SenderType` to `var currentSender: SenderType`

Changelog
2022-05-10 16:42:34 +02:00
Martin Púčik 7d66a982ad Updating messagesCollectionView's bottom inset and content position on inpuBar height change (#1705)
* refactor: InpuBar height change behavior

* refactor: InpuBar height change behavior

Changelog
2022-05-05 14:03:22 +00:00
martinpucik 4ab430c7b1 refactor: InpuBar as subview instead of accessoryView
Cleanup of commented and not used code
Moved some internal properties to state object
Removed iOS 13 available checks
2022-05-04 16:44:27 +02:00
MuhtasimTanmoy 9a7cfb8133 Memory leak fix by removing retain cycle in CameraInputBarAccessoryView 2021-12-05 00:53:20 +06:00
Huyanh Hoang 0ac51448c4 Fix swipe dismissal of UIImagePicker 2021-11-01 19:34:03 -07:00
Seyed Mojtaba Hosseini Zeidabadi d2882fcbe0 Fix: misspellings 2021-07-11 13:25:38 +04:30
Vignesh J ecc62b4d1f Added Custom Text Messages Layout example 2021-05-01 21:38:20 +05:30
Mohannad Bakbouk 6b6532f79f mofifications 2021-04-02 14:49:22 +03:00
Mohannad Bakbouk a43228ebde change presenting way 2021-02-06 03:26:10 +03:00
Mohannad Bakbouk 413204156b Subclass InputBarView to allow picking images 2020-12-25 10:06:52 -08:00
Martin Púčik 696eb34dc2 Deprecated scrollToBottom() in favor of scrollToLastItem() (#1505)
* refactor: deprecated scrollToBottom() in favor of scrollToLastItem

* refactor: deprecated scrollToBottom() in favor of scrollToLastItem

Changelog
2020-12-03 19:09:21 +01:00
amir pirzad f08cdad1f4 Fix some issues 2020-09-02 22:28:24 +04:30
Kino c2e41ae804 Address code review 2020-07-24 12:29:31 -07:00
Kino e4405580d2 Address code review 2020-07-24 12:27:33 -07:00
Kino 8b848dfefe Don't attempt to build with 32 bit architectures
SwiftUI doesn't include symbols for 32-bit archs so xcodebuild fails, and there is no reason to build the example app for 32 bit archs
2020-07-18 21:56:58 -07:00
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 5bb16cbf03 Add MessagesView wrapping MessageViewController 2020-07-18 13:41:49 -07:00
Nathan Tannar 085f563a91 Crunch some bugs 2019-03-01 00:01:43 -08:00
Nathan Tannar d806da72e0 Update Example to Swift 4.2 2018-09-29 12:24:01 -07:00
Nathan Tannar 5de6481e96 All-New ChatExample App 2018-08-11 21:57:34 -07:00