@@ -128,9 +128,9 @@ import Rye
128
128
...
129
129
let ryeConfiguration: RyeConfiguration = [Rye.Configuration .Key .text : " Message for the user" ]
130
130
let rye = RyeViewController (
131
- viewType : .standard (configuration : ryeConfiguration),
132
- at : .bottom (inset : 16 )
133
- )
131
+ viewType : .standard (configuration : ryeConfiguration),
132
+ at : .bottom (inset : 16 )
133
+ )
134
134
rye.show ()
135
135
```
136
136
@@ -145,10 +145,10 @@ import Rye
145
145
...
146
146
let ryeConfiguration: RyeConfiguration = [Rye.Configuration .Key .text : " Message for the user" ]
147
147
let rye = RyeViewController (
148
- dismissMode : .gesture ,
149
- viewType : .standard (configuration : ryeConfiguration),
150
- at : .bottom (inset : 16 )
151
- )
148
+ dismissMode : .gesture ,
149
+ viewType : .standard (configuration : ryeConfiguration),
150
+ at : .bottom (inset : 16 )
151
+ )
152
152
rye.show ()
153
153
```
154
154
@@ -168,9 +168,9 @@ let ryeConfiguration: RyeConfiguration = [
168
168
]
169
169
170
170
let rye = RyeViewController (
171
- viewType : .standard (configuration : ryeConfiguration),
172
- at : .bottom (inset : 16 )
173
- )
171
+ viewType : .standard (configuration : ryeConfiguration),
172
+ at : .bottom (inset : 16 )
173
+ )
174
174
rye.show ()
175
175
```
176
176
@@ -196,9 +196,9 @@ import Rye
196
196
...
197
197
let ryeConfiguration: RyeConfiguration = [Rye.Configuration .Key .text : " Message for the user" ]
198
198
let rye = RyeViewController (
199
- viewType : .standard (configuration : ryeConfiguration),
200
- at : .bottom (inset : 16 )
201
- )
199
+ viewType : .standard (configuration : ryeConfiguration),
200
+ at : .bottom (inset : 16 )
201
+ )
202
202
203
203
rye.show (withDismissCompletion : {
204
204
print (" Goodbye from Rye, time to dy..die" )
@@ -216,10 +216,10 @@ var rye: RyeViewController?
216
216
217
217
let ryeConfiguration: RyeConfiguration = [Rye.Configuration .Key .text : " Message for the user" ]
218
218
rye = RyeViewController (
219
- dismissMode : .nonDismissable ,
220
- viewType : .standard (configuration : ryeConfiguration),
221
- at : .bottom (inset : 16 )
222
- )
219
+ dismissMode : .nonDismissable ,
220
+ viewType : .standard (configuration : ryeConfiguration),
221
+ at : .bottom (inset : 16 )
222
+ )
223
223
224
224
rye? .show ()
225
225
0 commit comments