Giter VIP home page Giter VIP logo

inputtoolbar's Introduction

Messages style input toolbar for iOS

An free version of an expandable input toolbar in the style of the native iPhone messages app

InputToolbar screenshot InputToolbar screenshot 2

inputtoolbar's People

Contributors

brandonhamilton avatar iovortex avatar jay-zhu avatar mgrebenets avatar segiddins 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

inputtoolbar's Issues

Properly align text field when using on iPad

When view is used on iPad, the position of input field (UIExpandingTextView) is misaligned after autorotation.
It looks like it can be fixed with code like this

    self.textView.autoresizingMask = UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleWidth;

when setting up toolbar.
I didn't look further though to find a way to make input field wider when used on iPad screen.
It can be surely done by detecting device in runtime.

Bouncing send button

Hello,

Great work! is there a way to fix the send button to the bottom of the toolbar?

inputtoolbar keyboard becomefirstresponder not working in ios7

calling the [self.inputToolbar.textView becomeFirstResponder]; is not showing the keyboad automatically when the view is appeared so i wrote the code in
the place where the textview is allocated
[internalTextView becomeFirstResponder];
it works file in ios6 but not i ios7.

can any one please help me in solving the issue

inputButtonPressed default actions should be optional

-(void)inputButtonPressed
{
    if ([delegate respondsToSelector:@selector(inputButtonPressed:)]) 
    {
        [delegate inputButtonPressed:self.textView.text];
    }

    /* Remove the keyboard and clear the text */
    [self.textView resignFirstResponder]; // should be optional
    [self.textView clearText]; // should be optional
}

Copy Paste?

Anyone know how to enable copy paste within this UITextView?
Can't seem to come up with the solution, editable, userInteractionEnabled, responder chain...
Am probably missing something simple but would appreciate a hand.
Cheers
Nik

ios7 bug

Maximum line high error ??

Is it usable on iPad?

Hi, thanks for a great work!
I am trying to use input toolbar in universal app. It works fine on iPhone (both simulator and device), but on iPad I can't manage the same approach to work.
I simply add UIInputToolbar as a subview to my custom view, but on iPad it's displayed black and I can see some parts of "Send" text on the right. But then more comes, if I try to resize the view (by setting frame), that contains UIInputToolbar in its hierarchy, I got a crash like this:

'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan 17.5]

This crash occurs only in simulator (iOS 5.1) but not on device, though on device I still have some black area instead of toolbar.

Text in internalTextView (when at max line) scrolls "beyond" textViewBackgroundImage

When enough text has been entered to cause the internalTextView to start scrolling, it's scroll area is larger than the textViewBackgroundImage

i.e.the appearance is that, the text is scrolling outside it's pseudo entry box. I assume it can be fixed by adjusting the contentSize property of the area

NB You can, probably should, set the scrollIndicatorInsets so they to appear within the "entry area" also

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.