File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Pod::Spec.new do |s|
3
3
4
4
s . name = "PopupUI"
5
5
6
- s . version = "1.0.3 "
6
+ s . version = "1.0.4 "
7
7
8
8
s . summary = "Easy to pop up any view by SwiftUI! SwiftUI 实现的弹窗控件,简单易用!"
9
9
Original file line number Diff line number Diff line change @@ -147,14 +147,14 @@ Define all styles in App as several templates to simplify the popup code:
147
147
148
148
``` swift
149
149
extension PopupConfiguration { // PopupStyle
150
- static let center: PopupConfiguration {
150
+ static var center: PopupConfiguration {
151
151
PopupConfiguration ()
152
152
.from (.center )
153
153
.to (.center , .easeOut )
154
154
...
155
155
}
156
156
157
- static let bottom: PopupConfiguration {
157
+ static var bottom: PopupConfiguration {
158
158
PopupConfiguration ()
159
159
.from (.bottom )
160
160
.isOpaque (false )
Original file line number Diff line number Diff line change @@ -146,14 +146,14 @@ PopupConfiguration
146
146
147
147
``` swift
148
148
extension PopupConfiguration { // PopupStyle
149
- static let center: PopupConfiguration {
149
+ static var center: PopupConfiguration {
150
150
PopupConfiguration ()
151
151
.from (.center )
152
152
.to (.center , .easeOut )
153
153
...
154
154
}
155
155
156
- static let bottom: PopupConfiguration {
156
+ static var bottom: PopupConfiguration {
157
157
PopupConfiguration ()
158
158
.from (.bottom )
159
159
.isOpaque (false )
Original file line number Diff line number Diff line change @@ -146,14 +146,14 @@ App 中のすべてのスタイルをいくつかのテンプレートとして
146
146
147
147
``` swift
148
148
extension PopupConfiguration { // PopupStyle
149
- static let center: PopupConfiguration {
149
+ static var center: PopupConfiguration {
150
150
PopupConfiguration ()
151
151
.from (.center )
152
152
.to (.center , .easeOut )
153
153
...
154
154
}
155
155
156
- static let bottom: PopupConfiguration {
156
+ static var bottom: PopupConfiguration {
157
157
PopupConfiguration ()
158
158
.from (.bottom )
159
159
.isOpaque (false )
You can’t perform that action at this time.
0 commit comments