Skip to content

Commit 947c4e0

Browse files
authored
Update SwiftUI comments in README.md
1 parent 6c16e58 commit 947c4e0

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

README.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,22 @@
1212

1313
## Overview
1414

15-
SwiftMessages is a very flexible view and view controller presentation library for iOS.
15+
🔥🔥🔥 **NEW** SwiftUI support added!
1616

17-
Message views and view controllers can be displayed at the top, bottom, or center of the screen, or behind navigation bars and tab bars. There are interactive dismiss gestures including a fun, physics-based one. Multiple background dimming modes. And a lot more!
17+
SwiftMessages is a very flexible view and view controller presentation library for UIKit and SwiftUI.
1818

19-
🔥 Now supports displaying SwiftUI message views 🔥
19+
Message views and view controllers can be displayed at the top, bottom, or center of the screen, or behind navigation bars and tab bars. There are interactive dismiss gestures including a fun, physics-based one. Multiple background dimming modes. And a lot more!
2020

2121
In addition to the numerous configuration options, SwiftMessages provides several good-looking layouts and themes. But SwiftMessages is also designer-friendly, which means you can fully and easily customize the view:
2222

2323
* Copy one of the included nib files into your project and change it.
2424
* Subclass `MessageView` and add elements, etc.
25-
* Or just supply an arbitrary instance of `UIView`.
26-
27-
Try exploring [the demo app via appetize.io](http://goo.gl/KXw4nD) to get a feel for the extensive configurability of SwiftMessages.
25+
* Or just supply an arbitrary instance of `View` or `UIView`.
2826

2927
<p align="center">
3028
<img src="./Demo/demo.png" />
3129
</p>
3230

33-
<p align="center">
34-
<a href="http://goo.gl/KXw4nD"><img src="./Demo/appetize.png" /></a>
35-
</p>
36-
37-
3831
## Installation
3932

4033
### Swift Package Manager
@@ -185,7 +178,7 @@ And check out our blog post [Elegant Custom UIViewController Transitioning](http
185178
186179
Any of the built-in SwiftMessages views can be displayed by calling the SwiftMessages APIs from within observable object, a button action closure, etc. However, SwiftMessages can also display your custom SwiftUI views.
187180
188-
First, define a type that conforms to `MessageViewConvertible`. This will typically be a struct containing the message data:
181+
The first step is to define a type that conforms to `MessageViewConvertible`. This would typically be a struct containing the message data to display:
189182
190183
191184
````swift

0 commit comments

Comments
 (0)