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

  • Home
  • SEARCH
  • 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 5992711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:34:18+00:00 2026-05-22T23:34:18+00:00

I am new to I-Phone application development.I am facing an problem. I like to

  • 0

I am new to I-Phone application development.I am facing an problem.

I like to change the colour of text at run time.

I have an button I like to retrieve all the colour option as an TableView.After choosing the colour from the table the colour of text should change automatically..

How to retrieve the colour list to enter the Colour Option in an Array for implementation.

  • 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-22T23:34:19+00:00Added an answer on May 22, 2026 at 11:34 pm

    I’m pretty sure there isn’t a way to get the list of colors automatically. You need to make an NSArray and fill it yourself with whichever colors you want. If you want to attach each color a name, either create a class (let’s call this NamedColor) with UIColor *color; NSString *name; and add the class components into the array, or use NSDictionary (there are more options on doing this).

    //somewhere in the init/viewDidLoad method
    colors = [[NSArray alloc] init];
    [colors addObject:[[[NamedColor alloc] initWithColor:[UIColor redColor] name:@"Red"] autorelease]];
    //...
    
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
        textColor = ((NamedColor *)[colors objectAtIndex:indexPath.row]).color;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to iphone development, i have created sms application using Text Links(sms:)
I am new to Windows Phone 7 application development. Can we create different views
I have an android application with a lot of communication. I'd like to run
I am new to Windows Phone 7 application development. I am trying to call
I am new to J2ME application development. Normally I have developed j2me apps for
i am new to windows phone 7 development , i wish to like to
i would like to buy a new cell phone that runs Android. From what
I have this code on my Android phone. URI uri = new URI(url); HttpPost
I'm new to Android development and working on an Android application that requires the
I have a multi page windows phone application. I have a main page and

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.