Skip to content

Commit

Permalink
Fixed links displaying at migration guide.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Orlov committed Jun 20, 2019
1 parent caf9c7f commit 6d3f91c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/AnyFormatKit 1.0.0 MigrationGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public protocol TextFormatter {
### TextInputFormatterProtocol

- `TextInputFormatterProtocol` was renamed to `TextInputFormatter`
- now have only one method `formatInput(currentText:)`, how to use it look at [demo] (https://github.com/luximetr/AnyFormatKit/tree/master/Example) project
- now have only one method `formatInput(currentText:)`, how to use it look at [demo](https://github.com/luximetr/AnyFormatKit/tree/master/Example) project

```swift
protocol TextInputFormatter: TextFormatter {
Expand All @@ -33,7 +33,7 @@ protocol TextInputFormatter: TextFormatter {
### TextInputFormatter

- `TextInputFormatter` was renamed to `DefaultTextInputFormatter`
- `var allowedSymbolsRegex: String` was removed. Filter moved to separate pod (look at [Filter] (https://github.com/luximetr/TextInputFilter))
- `var allowedSymbolsRegex: String` was removed. Filter moved to separate pod (look at [Filter](https://github.com/luximetr/TextInputFilter))
- `shouldChangeTextIn(textInput:)` was removed (need to use `formatInput(currentText:)`)

### Removed classes
Expand Down

0 comments on commit 6d3f91c

Please sign in to comment.