-2

This is how my data looks like in my database:

Baseball cap by adidas Originals 
-   Made from cotton
-   Embroidered brand logo to the front
-   Five panel styling
-   Ventilation holes to the side

If I want to render this in a UITextView in my app. How can I do this? Is there a way that I can render this in UITextView and the spaces and indents of the text are still there?

Any help would be very much appreciated! Thanks in advance!

6
  • 1
    Please don't ask the same question twice, especially when you got some excellent answers the first time around. Commented Feb 12, 2013 at 14:00
  • @CodaFi It is not the same question. The first on I asked was about a data type. This one is about how I can render in my iPhone application. Please read my question clearly before judging. Commented Feb 12, 2013 at 14:13
  • 1
    //What data type do I need to use so when I want to use this data it still contain the spaces and indents?// and //Is there a way that I can render this in UITextView and the spaces and indents of the text are still there?// seem pretty darn close to me Commented Feb 12, 2013 at 23:06
  • @CodaFi Rendering it in xcode uses objective-c programming. data type is about mysql? Do you even know how to code? How is this similar? Commented Feb 13, 2013 at 6:31
  • 1
    No need to get offensive, mate. It's funny, I had an answer I was thinking about posting, which works, but I see I'm not wanted here. Commented Feb 13, 2013 at 14:48

1 Answer 1

0

Check out this page MWFeedParser

Source: Objective-C: How to replace HTML entities?

Sign up to request clarification or add additional context in comments.

1 Comment

@Ty Tan Lee If some answer helps you you should accept that by clicking on the tick mark next to answer.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.