How do I send text to a UITextView?

Posted by Lee on Stack Overflow See other posts from Stack Overflow or by Lee
Published on 2010-05-12T20:00:45Z Indexed on 2010/05/12 20:04 UTC
Read the original article Hit count: 295

I'm new to iphone development. I'm a VB programmer who is trying to convert a VB application to an ipad app.

I need some help with sending text to a UITextView.

I want to first have a UIPickerView and then once the user hits a UIButton, a UITextView appears and the text is then generated by my source code code, line by line. The code would constantly be concatenating strings to the text.

It would sort of go like this--

1) User makes selections with UIPickerView. 2) User then hits UIButton. 3) UIPickerView is replaced on the screen with a UITextView. 4) The code does stuff. 5) The code adds the 1st line of text into the UITextView. 6) The code does more stuff. 7) The code then adds the 2nd line of text into the UITextView, retaining the 1st line that was already there. Steps 6 and 7 are repeated until the code is done.

Does anyone know of any examples of this that I could look at? I am mostly interested in finding something like a youtube video, a webpage that explains the code or even a good book that covers this particular topic. I am finding that the sample codes that Apple has on this site goes over my head.

In fact, I could probably benefit from a good book. But, I am looking for one that I would already know covers this particular topic, since it is so essential to the app that I am trying to build.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about uitextview