inputtoolbar icon indicating copy to clipboard operation
inputtoolbar copied to clipboard

inputButtonPressed default actions should be optional

Open n-studio opened this issue 12 years ago • 1 comments

-(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
}

n-studio avatar Dec 29 '12 06:12 n-studio

I also think so.

junewong avatar Jan 31 '13 14:01 junewong