1
1
<div align = " center " >
2
- <img src =" Assets/Logo.png " width =" 700 " />
2
+ <img src =" Source/ Assets/Logo.png" width =" 700 " />
3
3
</div >
4
4
5
5
<p align =" center " >
@@ -28,15 +28,15 @@ Advanced usage of native UIAlertController with TextField, TextView, DatePicker,
28
28
- [x] Pure Swift 4.
29
29
30
30
<div align = " center " >
31
- <img src =" Assets/gifs/actionSheet-.gif " width =" 400 " />
32
- <img src =" Assets/gifs/alert-.gif " width =" 400 " />
31
+ <img src =" Source/ Assets/gifs/actionSheet-.gif" width =" 400 " />
32
+ <img src =" Source/ Assets/gifs/alert-.gif" width =" 400 " />
33
33
</div >
34
34
35
35
## Usage
36
36
37
37
<div align = " center " >
38
- <img src =" Assets/gifs/actionSheet-simple.gif " width =" 350 " />
39
- <img src =" Assets/gifs/alert-simple.gif " width =" 350 " />
38
+ <img src =" Source/ Assets/gifs/actionSheet-simple.gif" width =" 350 " />
39
+ <img src =" Source/ Assets/gifs/alert-simple.gif" width =" 350 " />
40
40
</div >
41
41
42
42
- New Alert
@@ -82,8 +82,8 @@ alert.show(animated: true, vibrate: true) {
82
82
}
83
83
```
84
84
<div align = " center " >
85
- <img src =" Assets/gifs/actionSheet-simple-image.gif " width =" 350 " />
86
- <img src =" Assets/gifs/alert-simple-image.gif " width =" 350 " />
85
+ <img src =" Source/ Assets/gifs/actionSheet-simple-image.gif" width =" 350 " />
86
+ <img src =" Source/ Assets/gifs/alert-simple-image.gif" width =" 350 " />
87
87
</div >
88
88
89
89
@@ -116,8 +116,8 @@ In native UIAlertController you can only add `UITextField` to `.alert` style wit
116
116
You can use both styles ` .alert ` and ` .actionSheet ` of ` UIAlertController ` .
117
117
118
118
<div align = " center " >
119
- <img src =" Assets/gifs/actionSheet-textField-1.gif " width =" 350 " />
120
- <img src =" Assets/gifs/alert-textField-1.gif " width =" 350 " />
119
+ <img src =" Source/ Assets/gifs/actionSheet-textField-1.gif" width =" 350 " />
120
+ <img src =" Source/ Assets/gifs/alert-textField-1.gif" width =" 350 " />
121
121
</div >
122
122
123
123
``` swift
@@ -150,8 +150,8 @@ alert.show()
150
150
You can use both styles ` .alert ` and ` .actionSheet ` of ` UIAlertController ` .
151
151
152
152
<div align = " center " >
153
- <img src =" Assets/gifs/actionSheet-textField-2.gif " width =" 350 " />
154
- <img src =" Assets/gifs/alert-textField-2.gif " width =" 350 " />
153
+ <img src =" Source/ Assets/gifs/actionSheet-textField-2.gif" width =" 350 " />
154
+ <img src =" Source/ Assets/gifs/alert-textField-2.gif" width =" 350 " />
155
155
</div >
156
156
157
157
``` swift
@@ -203,8 +203,8 @@ alert.show()
203
203
` UIDatePicker ` does not look very much in ` .alert ` style.
204
204
205
205
<div align = " center " >
206
- <img src =" Assets/gifs/actionSheet-datePicker.gif " width =" 350 " />
207
- <img src =" Assets/gifs/alert-datePicker.gif " width =" 350 " />
206
+ <img src =" Source/ Assets/gifs/actionSheet-datePicker.gif" width =" 350 " />
207
+ <img src =" Source/ Assets/gifs/alert-datePicker.gif" width =" 350 " />
208
208
</div >
209
209
210
210
``` swift
@@ -221,8 +221,8 @@ alert.show()
221
221
Example how to use ` UIPickerView ` as ` contentViewController ` and change height of the ` UIAlertController ` .
222
222
223
223
<div align = " center " >
224
- <img src =" Assets/gifs/actionSheet-pickerView.gif " width =" 350 " />
225
- <img src =" Assets/gifs/alert-pickerView.gif " width =" 350 " />
224
+ <img src =" Source/ Assets/gifs/actionSheet-pickerView.gif" width =" 350 " />
225
+ <img src =" Source/ Assets/gifs/alert-pickerView.gif" width =" 350 " />
226
226
</div >
227
227
228
228
``` swift
@@ -248,8 +248,8 @@ alert.show()
248
248
* #### Country Picker
249
249
250
250
<div align = " center " >
251
- <img src =" Assets/gifs/actionSheet-countryPicker.gif " width =" 350 " />
252
- <img src =" Assets/gifs/alert-countryPicker.gif " width =" 350 " />
251
+ <img src =" Source/ Assets/gifs/actionSheet-countryPicker.gif" width =" 350 " />
252
+ <img src =" Source/ Assets/gifs/alert-countryPicker.gif" width =" 350 " />
253
253
</div >
254
254
255
255
``` swift
@@ -264,8 +264,8 @@ alert.show()
264
264
* #### Phone Code Picker
265
265
266
266
<div align = " center " >
267
- <img src =" Assets/gifs/actionSheet-phoneCodePicker.gif " width =" 350 " />
268
- <img src =" Assets/gifs/alert-phoneCodePicker.gif " width =" 350 " />
267
+ <img src =" Source/ Assets/gifs/actionSheet-phoneCodePicker.gif" width =" 350 " />
268
+ <img src =" Source/ Assets/gifs/alert-phoneCodePicker.gif" width =" 350 " />
269
269
</div >
270
270
271
271
``` swift
@@ -280,8 +280,8 @@ alert.show()
280
280
* #### Currency Picker
281
281
282
282
<div align = " center " >
283
- <img src =" Assets/gifs/actionSheet-currencyPicker.gif " width =" 350 " />
284
- <img src =" Assets/gifs/alert-currencyPicker.gif " width =" 350 " />
283
+ <img src =" Source/ Assets/gifs/actionSheet-currencyPicker.gif" width =" 350 " />
284
+ <img src =" Source/ Assets/gifs/alert-currencyPicker.gif" width =" 350 " />
285
285
</div >
286
286
287
287
``` swift
@@ -298,8 +298,8 @@ alert.show()
298
298
## Image Picker
299
299
300
300
<div align = " center " >
301
- <img src =" Assets/gifs/actionSheet-imagePicker-h.gif " width =" 350 " />
302
- <img src =" Assets/gifs/actionSheet-imagePicker-v.gif " width =" 350 " />
301
+ <img src =" Source/ Assets/gifs/actionSheet-imagePicker-h.gif" width =" 350 " />
302
+ <img src =" Source/ Assets/gifs/actionSheet-imagePicker-v.gif" width =" 350 " />
303
303
</div >
304
304
305
305
* Horizontal Image Picker with paging and single selection:
@@ -338,7 +338,7 @@ alert.show()
338
338
## PhotoLibrary Picker
339
339
340
340
<div align = " center " >
341
- <img src =" Assets/gifs/actionSheet-photoLibraryPicker.gif " width =" 350 " />
341
+ <img src =" Source/ Assets/gifs/actionSheet-photoLibraryPicker.gif" width =" 350 " />
342
342
</div >
343
343
344
344
``` swift
@@ -358,8 +358,8 @@ alert.show()
358
358
Example how to use UIViewController instantiated from Storyboard with Autolayout as ` contentViewController ` in the ` UIAlertController ` .
359
359
360
360
<div align = " center " >
361
- <img src =" Assets/gifs/actionSheet-colorPicker.gif " width =" 350 " />
362
- <img src =" Assets/gifs/alert-colorPicker.gif " width =" 350 " />
361
+ <img src =" Source/ Assets/gifs/actionSheet-colorPicker.gif" width =" 350 " />
362
+ <img src =" Source/ Assets/gifs/alert-colorPicker.gif" width =" 350 " />
363
363
</div >
364
364
365
365
``` swift
@@ -374,8 +374,8 @@ alert.show()
374
374
## Contacts Picker
375
375
376
376
<div align = " center " >
377
- <img src =" Assets/gifs/actionSheet-contactsPicker.gif " width =" 350 " />
378
- <img src =" Assets/gifs/alert-contactsPicker.gif " width =" 350 " />
377
+ <img src =" Source/ Assets/gifs/actionSheet-contactsPicker.gif" width =" 350 " />
378
+ <img src =" Source/ Assets/gifs/alert-contactsPicker.gif" width =" 350 " />
379
379
</div >
380
380
381
381
``` swift
@@ -390,7 +390,7 @@ alert.show()
390
390
## Location Picker
391
391
392
392
<div align = " center " >
393
- <img src =" Assets/gifs/actionSheet-locationPicker.gif " width =" 350 " />
393
+ <img src =" Source/ Assets/gifs/actionSheet-locationPicker.gif" width =" 350 " />
394
394
</div >
395
395
396
396
``` swift
@@ -405,7 +405,7 @@ alert.show()
405
405
## Telegram Picker
406
406
407
407
<div align = " center " >
408
- <img src =" Assets/gifs/actionSheet-telegramPicker.gif " width =" 350 " />
408
+ <img src =" Source/ Assets/gifs/actionSheet-telegramPicker.gif" width =" 350 " />
409
409
</div >
410
410
411
411
``` swift
@@ -427,8 +427,8 @@ alert.show()
427
427
## TextViewer
428
428
429
429
<div align = " center " >
430
- <img src =" Assets/gifs/actionSheet-textViewer.gif " width =" 350 " />
431
- <img src =" Assets/gifs/alert-textViewer.gif " width =" 350 " />
430
+ <img src =" Source/ Assets/gifs/actionSheet-textViewer.gif" width =" 350 " />
431
+ <img src =" Source/ Assets/gifs/alert-textViewer.gif" width =" 350 " />
432
432
</div >
433
433
434
434
``` swift
0 commit comments