Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 890181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:41:19+00:00 2026-05-15T13:41:19+00:00

I am a new objective-c/iPhone developer and am wondering if there is any way

  • 0

I am a new objective-c/iPhone developer and am wondering if there is any way to apply formatting to text within a string in a plist?

I have a plist that is an array of dictionaries. Each dictionary contains a few string objects, some of which I would like to contain lists and paragraphs of information. I am calling these strings and displaying them via labels in the UI.

Similar to using <li> and </li> or <b> and </b> in html, I would like to be able to specify parts of a string to be formatted when displayed as a bulleted list, bold, italic, etc.. How could this be accomplished?

With the help of some kind users on this site, I was able to embed the <li> and <b> tags within the xml plist file, however this just resulted in literally printing the tags on the screen.

Thanks in advance for your help!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T13:41:20+00:00Added an answer on May 15, 2026 at 1:41 pm

    It doesn’t sound like the fact that your strings are in a plist has much to do with the issue. You’ll be storing them that way regardless. But if you want to render HTML-like formatting inside your UI, you have two choices:

    1. Parse the data into an
      NSAttributedString, which is
      available starting in iOS 3.2. I
      believe you’ll have to figure out
      how to get from the HTML
      representation to the right
      attributes in the string.
    2. Use a UIWebView and render your HTML directly. This sounds heavyweight, esp for labels, and it probably would be, but you could try.

    (Gist here is that there isn’t a trivial answer to your question– the Cocoa frameworks don’t natively speak much HTML, and intra-string formatting isn’t something that’s necessarily easily done.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am a new objective-c/iPhone developer and am wondering if there is any way
I am new to Objective-C and iPhone I have to sort a NSDictionary using
I am new to the whole iPhone SDK and objective C, but have managed
I am an old developer but new to Objective-C and iPhone development. I am
I'm relatively new to objective-c...I'm using the iphone 3.0 SDK I have a UIView,
I'm a new iPhone/Objective-C developer and as I'm going through different tutorials and open
I am new in iPhone development and Objective-C. I have RootViewController and DetailViewController. I
Ok, I am new to Objective-C/iPhone programming, so there are some questions arising when
I'm pretty new to Objective C and iPhone development and have hit a problem
I am a new iPhone developer learning Objective-C, and trying to build an iPhone

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.