• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Inserting text in UITextView without scrolling animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inserting text in UITextView without scrolling animation


  • Subject: Inserting text in UITextView without scrolling animation
  • From: Ignacio Enriquez <email@hidden>
  • Date: Fri, 3 Apr 2009 22:55:27 +0900

Hi
I hope this is the right place for this question.
I am trying to implement a customized Keyboard using UIView,
UIButtons, and UITextViewDelegate methods for getting the actual
location of the cursor inside of a UITextView object.

Everything goes great until the input text becomes so big that it has
to be scrolled.
The problem is that every time the hole text is actually replaced and
is scrolled (with animation) until the position it was before. And
when making several character inputs the text scrolls with such a
frecuency that is looks like it is trembling or is been shacked.
I think a solution would be to find a way to set the new text without
animation. or maybe not replacing he hole text, just inserting the new
character in the present text. Though I think the last one is
impossible since text property is "copy"

@property(nonatomic, copy) NSString *text


Is there any way I can achieve setting a new text without scrolling
animation? (just scroll would be great.)

Thanks in Advance.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: hung in read$UNIX2003
  • Next by Date: Re: How to animate the drawing of UIImages inside a drawRect: method of a UIView?
  • Previous by thread: Re: hung in read$UNIX2003
  • Next by thread: [Q] using a custom formatter via IB
  • Index(es):
    • Date
    • Thread