Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
artsimonyan23 committed Nov 11, 2019
1 parent 6650866 commit a2a969c
Show file tree
Hide file tree
Showing 187 changed files with 36 additions and 58 deletions.
8 changes: 4 additions & 4 deletions AlertsAndPickers.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
67EF7EDC2379BCF000A46B4B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 67EF7EDB2379BCF000A46B4B /* Assets.xcassets */; };
67EF7EDE2379CA4E00A46B4B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 67EF7EDD2379CA4E00A46B4B /* Assets.xcassets */; };
FA005E922015D769001EA8C6 /* Contacts.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA005E912015D769001EA8C6 /* Contacts.swift */; };
FA005E942015E490001EA8C6 /* UISearchBar+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA005E932015E490001EA8C6 /* UISearchBar+Extensions.swift */; };
FA005E9620162BB5001EA8C6 /* Assets.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA005E9520162BB5001EA8C6 /* Assets.swift */; };
Expand Down Expand Up @@ -72,7 +72,7 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
67EF7EDB2379BCF000A46B4B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
67EF7EDD2379CA4E00A46B4B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
FA005E912015D769001EA8C6 /* Contacts.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Contacts.swift; sourceTree = "<group>"; };
FA005E932015E490001EA8C6 /* UISearchBar+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UISearchBar+Extensions.swift"; sourceTree = "<group>"; };
FA005E9520162BB5001EA8C6 /* Assets.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Assets.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -171,6 +171,7 @@
FA3BB28A2008B46500E06F8F /* Resources */ = {
isa = PBXGroup;
children = (
67EF7EDD2379CA4E00A46B4B /* Assets.xcassets */,
FA3BB28C2008B46500E06F8F /* LaunchScreen.storyboard */,
FABFAA65200C961500961895 /* Main.storyboard */,
FA3BB2822008B41B00E06F8F /* Info.plist */,
Expand Down Expand Up @@ -246,7 +247,6 @@
FA3BB2CB2008B87A00E06F8F /* Source */ = {
isa = PBXGroup;
children = (
67EF7EDB2379BCF000A46B4B /* Assets.xcassets */,
FA826F83200E8B6200ECC926 /* Viewers */,
FA3BB2932008B46600E06F8F /* Extensions */,
FA3BB2A12008B46800E06F8F /* Pickers */,
Expand Down Expand Up @@ -546,7 +546,7 @@
FA3BB2CF2008B9FA00E06F8F /* LICENSE in Resources */,
FA3BB2BF2008B46900E06F8F /* Countries.bundle in Resources */,
FA3BB2AD2008B46800E06F8F /* LaunchScreen.storyboard in Resources */,
67EF7EDC2379BCF000A46B4B /* Assets.xcassets in Resources */,
67EF7EDE2379CA4E00A46B4B /* Assets.xcassets in Resources */,
FA3BB2892008B45600E06F8F /* README.md in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
64 changes: 32 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div align = "center">
<img src="Source/Assets/Logo.png" width="700" />
<img src="Assets/Logo.png" width="700" />
</div>

<p align="center">
Expand Down Expand Up @@ -28,15 +28,15 @@ Advanced usage of native UIAlertController with TextField, TextView, DatePicker,
- [x] Pure Swift 4.

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-.gif" width="400" />
<img src="Source/Assets/gifs/alert-.gif" width="400" />
<img src="Assets/gifs/actionSheet-.gif" width="400" />
<img src="Assets/gifs/alert-.gif" width="400" />
</div>

## Usage

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-simple.gif" width="350" />
<img src="Source/Assets/gifs/alert-simple.gif" width="350" />
<img src="Assets/gifs/actionSheet-simple.gif" width="350" />
<img src="Assets/gifs/alert-simple.gif" width="350" />
</div>

- New Alert
Expand Down Expand Up @@ -82,8 +82,8 @@ alert.show(animated: true, vibrate: true) {
}
```
<div align = "center">
<img src="Source/Assets/gifs/actionSheet-simple-image.gif" width="350" />
<img src="Source/Assets/gifs/alert-simple-image.gif" width="350" />
<img src="Assets/gifs/actionSheet-simple-image.gif" width="350" />
<img src="Assets/gifs/alert-simple-image.gif" width="350" />
</div>


Expand Down Expand Up @@ -116,8 +116,8 @@ In native UIAlertController you can only add `UITextField` to `.alert` style wit
You can use both styles `.alert` and `.actionSheet` of `UIAlertController`.

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-textField-1.gif" width="350" />
<img src="Source/Assets/gifs/alert-textField-1.gif" width="350" />
<img src="Assets/gifs/actionSheet-textField-1.gif" width="350" />
<img src="Assets/gifs/alert-textField-1.gif" width="350" />
</div>

```swift
Expand Down Expand Up @@ -150,8 +150,8 @@ alert.show()
You can use both styles `.alert` and `.actionSheet` of `UIAlertController`.

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-textField-2.gif" width="350" />
<img src="Source/Assets/gifs/alert-textField-2.gif" width="350" />
<img src="Assets/gifs/actionSheet-textField-2.gif" width="350" />
<img src="Assets/gifs/alert-textField-2.gif" width="350" />
</div>

```swift
Expand Down Expand Up @@ -203,8 +203,8 @@ alert.show()
`UIDatePicker` does not look very much in `.alert` style.

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-datePicker.gif" width="350" />
<img src="Source/Assets/gifs/alert-datePicker.gif" width="350" />
<img src="Assets/gifs/actionSheet-datePicker.gif" width="350" />
<img src="Assets/gifs/alert-datePicker.gif" width="350" />
</div>

```swift
Expand All @@ -221,8 +221,8 @@ alert.show()
Example how to use `UIPickerView` as `contentViewController` and change height of the `UIAlertController`.

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-pickerView.gif" width="350" />
<img src="Source/Assets/gifs/alert-pickerView.gif" width="350" />
<img src="Assets/gifs/actionSheet-pickerView.gif" width="350" />
<img src="Assets/gifs/alert-pickerView.gif" width="350" />
</div>

```swift
Expand All @@ -248,8 +248,8 @@ alert.show()
* #### Country Picker

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-countryPicker.gif" width="350" />
<img src="Source/Assets/gifs/alert-countryPicker.gif" width="350" />
<img src="Assets/gifs/actionSheet-countryPicker.gif" width="350" />
<img src="Assets/gifs/alert-countryPicker.gif" width="350" />
</div>

```swift
Expand All @@ -264,8 +264,8 @@ alert.show()
* #### Phone Code Picker

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-phoneCodePicker.gif" width="350" />
<img src="Source/Assets/gifs/alert-phoneCodePicker.gif" width="350" />
<img src="Assets/gifs/actionSheet-phoneCodePicker.gif" width="350" />
<img src="Assets/gifs/alert-phoneCodePicker.gif" width="350" />
</div>

```swift
Expand All @@ -280,8 +280,8 @@ alert.show()
* #### Currency Picker

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-currencyPicker.gif" width="350" />
<img src="Source/Assets/gifs/alert-currencyPicker.gif" width="350" />
<img src="Assets/gifs/actionSheet-currencyPicker.gif" width="350" />
<img src="Assets/gifs/alert-currencyPicker.gif" width="350" />
</div>

```swift
Expand All @@ -298,8 +298,8 @@ alert.show()
## Image Picker

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-imagePicker-h.gif" width="350" />
<img src="Source/Assets/gifs/actionSheet-imagePicker-v.gif" width="350" />
<img src="Assets/gifs/actionSheet-imagePicker-h.gif" width="350" />
<img src="Assets/gifs/actionSheet-imagePicker-v.gif" width="350" />
</div>

* Horizontal Image Picker with paging and single selection:
Expand Down Expand Up @@ -338,7 +338,7 @@ alert.show()
## PhotoLibrary Picker

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-photoLibraryPicker.gif" width="350" />
<img src="Assets/gifs/actionSheet-photoLibraryPicker.gif" width="350" />
</div>

```swift
Expand All @@ -358,8 +358,8 @@ alert.show()
Example how to use UIViewController instantiated from Storyboard with Autolayout as `contentViewController` in the `UIAlertController`.

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-colorPicker.gif" width="350" />
<img src="Source/Assets/gifs/alert-colorPicker.gif" width="350" />
<img src="Assets/gifs/actionSheet-colorPicker.gif" width="350" />
<img src="Assets/gifs/alert-colorPicker.gif" width="350" />
</div>

```swift
Expand All @@ -374,8 +374,8 @@ alert.show()
## Contacts Picker

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-contactsPicker.gif" width="350" />
<img src="Source/Assets/gifs/alert-contactsPicker.gif" width="350" />
<img src="Assets/gifs/actionSheet-contactsPicker.gif" width="350" />
<img src="Assets/gifs/alert-contactsPicker.gif" width="350" />
</div>

```swift
Expand All @@ -390,7 +390,7 @@ alert.show()
## Location Picker

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-locationPicker.gif" width="350" />
<img src="Assets/gifs/actionSheet-locationPicker.gif" width="350" />
</div>

```swift
Expand All @@ -405,7 +405,7 @@ alert.show()
## Telegram Picker

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-telegramPicker.gif" width="350" />
<img src="Assets/gifs/actionSheet-telegramPicker.gif" width="350" />
</div>

```swift
Expand All @@ -427,8 +427,8 @@ alert.show()
## TextViewer

<div align = "center">
<img src="Source/Assets/gifs/actionSheet-textViewer.gif" width="350" />
<img src="Source/Assets/gifs/alert-textViewer.gif" width="350" />
<img src="Assets/gifs/actionSheet-textViewer.gif" width="350" />
<img src="Assets/gifs/alert-textViewer.gif" width="350" />
</div>

```swift
Expand Down
22 changes: 0 additions & 22 deletions Source/Info.plist

This file was deleted.

0 comments on commit a2a969c

Please sign in to comment.