Giter Site home page Giter Site logo

adam-siton / auiautogrowingtextview Goto Github PK

View Code? Open in Web Editor NEW
88.0 88.0 15.0 116 KB

Auto growing UITextView Using Auto Layout

Home Page: http://corecocoa.wordpress.com/2013/11/09/auto-growing-uitextview-using-auto-layout/

License: MIT License

Objective-C 100.00%

auiautogrowingtextview's People

Contributors

adam-siton avatar adamsiton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

auiautogrowingtextview's Issues

awakeFromNib not calling super

Instead of

-(void) awakeFromNib
{
    [self commonInit];    
}

should use:

-(void) awakeFromNib
{
[super awakeFromNib];
    [self commonInit];    
}

OS X support

OS X support needed. Currently your framework does not compile under OS X.

Add CocoaPods support

For simpler linking and usage please add .podspec file and publish your library in CocoaPods.

Pasting large amounts of text disables scrolling

When a large amount of text is pasted in the textview, triggering the height constraint to change, I'm no longer able to scroll the textview. If I add a newline, then the scroll starts working.

This behavior is present in the demo. It only happens if you paste something that is large enough to trigger scrolling of the textview.

Animation on resize?

Is there any way to animate the layout changes in this control?

Great control, BTW. Just can't figure out how to make the growth of the textview a smooth transition.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.