Skip to content

Commit 170b4a1

Browse files
author
wuxingchen
committed
update version
1 parent a5a88b5 commit 170b4a1

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

PopupUI.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Pod::Spec.new do |s|
33

44
s.name = "PopupUI"
55

6-
s.version = "1.0.3"
6+
s.version = "1.0.4"
77

88
s.summary = "Easy to pop up any view by SwiftUI! SwiftUI 实现的弹窗控件,简单易用!"
99

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,14 +147,14 @@ Define all styles in App as several templates to simplify the popup code:
147147

148148
```swift
149149
extension PopupConfiguration { //PopupStyle
150-
static let center: PopupConfiguration {
150+
static var center: PopupConfiguration {
151151
PopupConfiguration()
152152
.from(.center)
153153
.to(.center, .easeOut)
154154
...
155155
}
156156

157-
static let bottom: PopupConfiguration {
157+
static var bottom: PopupConfiguration {
158158
PopupConfiguration()
159159
.from(.bottom)
160160
.isOpaque(false)

README_CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,14 @@ PopupConfiguration
146146

147147
```swift
148148
extension PopupConfiguration { //PopupStyle
149-
static let center: PopupConfiguration {
149+
static var center: PopupConfiguration {
150150
PopupConfiguration()
151151
.from(.center)
152152
.to(.center, .easeOut)
153153
...
154154
}
155155

156-
static let bottom: PopupConfiguration {
156+
static var bottom: PopupConfiguration {
157157
PopupConfiguration()
158158
.from(.bottom)
159159
.isOpaque(false)

README_JP.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,14 @@ App 中のすべてのスタイルをいくつかのテンプレートとして
146146

147147
```swift
148148
extension PopupConfiguration { //PopupStyle
149-
static let center: PopupConfiguration {
149+
static var center: PopupConfiguration {
150150
PopupConfiguration()
151151
.from(.center)
152152
.to(.center, .easeOut)
153153
...
154154
}
155155

156-
static let bottom: PopupConfiguration {
156+
static var bottom: PopupConfiguration {
157157
PopupConfiguration()
158158
.from(.bottom)
159159
.isOpaque(false)

0 commit comments

Comments
 (0)