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 1004977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:13:05+00:00 2026-05-16T08:13:05+00:00

I know this is a silly doubt but I just want to make sure

  • 0

I know this is a silly doubt but I just want to make sure before I implement in this project. Please help….I have a NSDictionary with a string object in it. String is concatenated with 4fields. I am trying to display this string on the Detail View Controller in UITableView on iphone.

For example my String is formatted as follows:

MR. ZZZ XXX
TTT
RRR
HHH

Now when I am displaying the above string I want the first line to be in bold and the rest of the lines in Italic fonts. As this is a NSDictionary of strings I tried to use string method to get the index of the string but in my case the position keeps on changing as these values are coming from the database.

I will be waiting for ur replies..please..

  • 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-16T08:13:06+00:00Added an answer on May 16, 2026 at 8:13 am

    Couple ideas, since there is no single UIKit control that can display multiply-styled text natively:

    1. Stylize your string with HTML and load it into a UIWebView
    2. Use two different UILabel objects: the first one is bolded, and the second one is italicized.
    3. Write your own UIView subclass that uses the CoreText framework to draw the stylization yourself

    I recommend #2, followed by #1, with #3 being “do this if you’re a masochist”.

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

Sidebar

Related Questions

I know this question is silly but I just want to make sure. Does
Guys I know this question is silly but just to make sure: Having in
I know this very silly, but can anybody help me in understanding what does
i know this sounds silly, but can someone please post the arrays described by
I know this might sound silly but I have no idea how to do
I know this question has been asked so many times before. But I just
I know this sounds silly, but does anyone know how to implement CSS fallback
I know this is silly question, but i am just stuck with this: 1.I
i know this might seem silly, but i want to generate a random code
I know this is pretty silly but just wondered if anyone had a link

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.