Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kofktu/uitextfield-textoffsetfix
- Owner: Kofktu
- License: mit
- Created: 2017-04-25T03:25:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-25T05:07:02.000Z (over 7 years ago)
- Last Synced: 2024-02-22T13:21:23.181Z (10 months ago)
- Topics: ios, ios10, uitextfield, uitextfield-bug
- Language: Objective-C
- Size: 1.46 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.