tags:

views:

63

answers:

1
+1  Q: 

TextView length.

I need to know one thing - is there is a limit for the charecters in the textview? Actually in my application when I am entering the text continuously at some point it doesn't taking any characters.

Anyone's help will be appreciated.

Thank you.

+1  A: 

Why not just try it?

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification 
{
    unsigned long long counter;
    @try{
        while(1)
        {
            [textView insertText:@"X"];
            counter++;
        }
    }
    @catch(NSException* e)
    {
        NSLog(@"The text view can store %qu characters",counter);
    }
}

Have fun :-)

Rob Keniger