Latest 0.1.2
Homepage https://github.com/markusschlegel/DejaTextView
License MIT
Platforms ios 8.0, requires ARC
Authors

DejaTextView is a UITextView subclass with improved text selection and cursor movement tools. Written in Swift.

DejaTextView demo loop

Installation

Add the following line to your Podfile:

pod 'DejaTextView'

You might also just fish out the source file at Pod/Classes/DejaTextView.swift.

Usage

DejaTextView is mostly a drop-in replacement for UITextView, so just use it everywhere you like as if it was a standard UITextView. There’s one exception though. If you want to add your own gesture recognizers, you have to use the method addGestureRecognizerForReal(gestureRecognizer: UIGestureRecognizer). This is unfortunate, but maybe I find a way to handle this better in the future.

Known issues

  • On the iPad, the copy/paste menu will not appear if the keyboard is undocked and or split.
  • The black grabbers may move beyond the bounds of the text view in vertical direction. Make sure there is enough space above and below the text view where the grabbers can move.

Author

Markus Schlegel, [email protected]

License

DejaTextView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "DejaTextView",
    "version": "0.1.2",
    "summary": "DejaTextView is a UITextView subclass with improved text selection and cursor movement tools.",
    "description": "                       Something meaningful that is longer than the summy which is really long and that is annoying but now Iu2019m done.n",
    "homepage": "https://github.com/markusschlegel/DejaTextView",
    "license": "MIT",
    "authors": {
        "Markus Schlegel": "[email protected]"
    },
    "source": {
        "git": "https://github.com/markusschlegel/DejaTextView.git",
        "tag": "0.1.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "DejaTextView": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This