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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:51:19+00:00 2026-06-17T13:51:19+00:00

I want to implement custom text fields. Here is a screenshot of what I

  • 0

I want to implement custom text fields. Here is a screenshot of what I want to implement:

enter image description here

So I have a UITableView with cells, and in each cell I have several text fields: one for date, one for name, one for theme, and one for text. But the UI requires theme and text to be next to each other (as can you see in the picture). I wanted to implement this as a single UITextField, but as far as I know, UITextField supports only one type of font. So maybe someone will give me a piece of advice how to implement the design shown in the screenshot — do I have to draw custom text fields, or are there simpler solutions? Any code samples or propositions would be helpful.

  • 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-06-17T13:51:20+00:00Added an answer on June 17, 2026 at 1:51 pm

    For iOS 6:

    You can set a UITextField‘s attributed string:

    @property(nonatomic,copy) NSAttributedString *attributedText;
    

    I suggest to use a NSMutableAttributedString and to exploit polymorphism.

    A mutable attributed string can hold vary attributes for each piece of the string. So you can add an attribute only for a certain range of the string with this method:

    - (void)setAttributes:(NSDictionary *)attributes range:(NSRange)aRange;
    

    For iOS 5:

    Use directly this UITextField‘s property:

    - (void)setAttributes:(NSDictionary *)attributes range:(NSRange)aRange;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a UITableView with custom cells in it. This custom cell looks like
I have a custom exception class which contains some additional fields. I want these
I want to implement custom JSP list tag, but have problem with accessing properties
I have extended org.eclipse.ui.editors.text.TextEditor to implement a custom editor. For this editor, I have
I want to implement a custom trace listener like follows: public class TraceListener :
I want to implement setSingleChoiceItems inside a custom Dialog but unable to do it.
I want to implement a method that will find stuff in my custom class.
im trying to implement a custom error page, what i want to be able
i starter in jqgrid, i want implement inline edit in jqgrid i have this
I'm wanting to implement a custom text interface, with touch+drag selecting text and the

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.