Skip to content

Commit

Permalink
- Updated pod spec to 1.0.3
Browse files Browse the repository at this point in the history
- Updated readme
  • Loading branch information
Flawion committed Apr 2, 2019
1 parent 4e96544 commit d59765b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion KOControls.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'KOControls'
s.version = '1.0.1'
s.version = '1.0.3'

s.summary = 'Package of useful controls: pickers, presenting queue, textfield thats supports showing the errors etc.'
s.homepage = 'https://github.com/Flawion/KOControls'
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@ passwordField.errorInfoView.markerColor = UIColor.white
<img src="https://raw.githubusercontent.com/Flawion/KOControls/1.0/ReadmeImages/passwordfield3.png" width="500">
</p>

You can replace ```errorInfoView``` completely by ```customErrorInfoView```, but new view need to implement ```KOTextFieldErrorInfoInterface```.
You can replace ```errorInfoView``` completely by ```customErrorInfoView```, but new view need to implement ```KOTextFieldErrorInfoProtocol```.

```swift
class UserNameErrorInfoView : UIView, KOTextFieldErrorInfoInterface{
class UserNameErrorInfoView : UIView, KOTextFieldErrorInfoProtocol{
func markerCenterXEqualTo(_ constraint: NSLayoutXAxisAnchor) -> NSLayoutConstraint? {
return nil
}
Expand Down

0 comments on commit d59765b

Please sign in to comment.