Skip to content

Commit

Permalink
Small changed
Browse files Browse the repository at this point in the history
  • Loading branch information
hryk224 committed Feb 27, 2017
1 parent 651c882 commit 487f75f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion PCLBlurEffectAlert.xcodeproj/PCLBlurEffectAlert_Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.0.0</string>
<string>2.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ alertController.show() // or present(alertController, animated: true, completion
```Swift
// Adds Actions
open func addAction(_ action: PCLBlurEffectAlertAction)
// Adds ImageView
open func addImageView(with image: UIImage, configurationHandler: ((UIImageView?) -> Void)? = nil)
// Adds TextFields
open func addTextField(with configurationHandler: ((UITextField?) -> Void)? = nil)
// Adds TextFields
open func addImageView(with image: UIImage, configurationHandler: ((UIImageView?) -> Void)? = nil)
// Presented
open func show()
```
Expand Down
4 changes: 2 additions & 2 deletions Sources/PCLBlurEffectAlert+Controller.swift
Original file line number Diff line number Diff line change
Expand Up @@ -288,14 +288,14 @@ extension PCLBlurEffectAlertController {
action.visualEffectView = UIVisualEffectView(effect: effect) as UIVisualEffectView
action.visualEffectView?.isUserInteractionEnabled = false
}
// Adds UITextFields
// Adds TextFields
open func addTextField(with configurationHandler: ((UITextField?) -> Void)? = nil) {
let textField = UITextField()
textField.backgroundColor = .clear
configurationHandler?(textField)
textFields.append(textField)
}
// Adds UITextFields
// Adds ImageView
open func addImageView(with image: UIImage, configurationHandler: ((UIImageView?) -> Void)? = nil) {
let imageView = UIImageView()
imageView.contentMode = .scaleAspectFill
Expand Down

0 comments on commit 487f75f

Please sign in to comment.