Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kofktu/uitextfield-textoffsetfix

UITextField character moves down when editing bug fix in iOS10
https://github.com/kofktu/uitextfield-textoffsetfix

ios ios10 uitextfield uitextfield-bug

Last synced: 2 months ago
JSON representation

UITextField character moves down when editing bug fix in iOS10

Awesome Lists containing this project

README

        

# UITextField+TextOffsetFix

- UITextField character moves down when editing bug fix in iOS10

#### Bug in iOS10
![alt tag](Screenshot/bug.gif)

#### Fix
![alt tag](Screenshot/fix.gif)

## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.

## Installation

#### CocoaPods
Sniffer is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "UITextField+TextOffsetFix"
```

## Usage

#### Objective-C
```objc
@import UITextField_TextOffsetFix;
```

#### Swift
```swift
import UITextField_TextOffsetFix
```

## Questions

#### Why did you write the library in Objective-C, not Swift?
```
Method 'initialize()' defines Objective-C class method 'initialize', which is not guaranteed to be invoked by Swift and will be disallowed in future versions
```

## Authors

Taeun Kim (kofktu),

## License

UITextField+TextOffsetFix is available under the ```MIT``` license. See the ```LICENSE``` file for more info.