• 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 (2)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inserting text in UITextView without scrolling animation (2)


  • Subject: Inserting text in UITextView without scrolling animation (2)
  • From: Ignacio Enriquez <email@hidden>
  • Date: Mon, 6 Apr 2009 14:58:03 +0900

Hi...
Last week I wrote the same question and there was no answer... I hope
this time there is a answer.

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.



--
_____________________________________________
Guillermo Ignacio Enriquez Gutierrez
_____________________________________________
_______________________________________________

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: Re: Need localization-proof method of transporting dates.
  • Next by Date: Re: Non-pageable app
  • Previous by thread: Re: "Word Wrap" and "Character Wrap" in NSTextField
  • Next by thread: Question re: [NSWindow setFrame:display:]
  • Index(es):
    • Date
    • Thread