Results 1 to 2 of 2
Discuss [NSCFType CGColor]: unrecognized selector sent to instance at the iPhone Developer Exchange -; When using the open toolchain header for SDK beta3 (OS 2.0) and setting the color ...
  1. #1
    Developer Array javacom's Avatar

    Join Date
    Mar 2008
    Post Thanks / Like
    Rep Power

    Default [NSCFType CGColor]: unrecognized selector sent to instance

    When using the open toolchain header for SDK beta3 (OS 2.0)
    and setting the color of UITextLabel
    I always get this error in runtime [problem now solved]
    [NSCFType CGColor]: unrecognized selector sent to instance
    const float kTextComponents[] = { .94, .94, .94, 1 };
    const float kTransparentComponents[] = { 0, 0, 1, 0 };
    CGColorSpaceRef rgbSpace = CGColorSpaceCreateDeviceRGB();
    CGColorRef textColorStatus = CGColorCreate(rgbSpace, kTextComponents);
    CGColorRef rgbTransparent = CGColorCreate(rgbSpace, kTransparentComponents);
    UITextLabel *label = [[UITextLabel alloc] initWithFrame: CGRectMake(0.0f, 0.0f, 100.0f, 50.0f)];
    [label setBackgroundColor: rgbTransparent];
    [label setColor:textColorStatus];
    [solved], please refer to post #9 of
    Last edited by javacom; 05-07-2008 at 10:08 AM. Reason: problem solved

  2. #2

    Default pilule pour hommes

    An impressive share, I just given this onto a colleague who was doing a little analysis on this. And he in fact bought me breakfast because I found it for him.. smile. So let me reword that: Thnx for the treat! But yeah Thnkx for spending the time to discuss this, I feel strongly about it and love reading more on this topic. If possible, as you become expertise, would you mind updating your forum with more details? It is highly helpful for me. Big thumb up for this forum post!
    Im a huge fan already, man. Youve done a brilliant job making sure that people understand where youre approaching from. And let me tell you, I get it. huge stuff and I cant wait to read more of your forums. What youve got to say is important and needs to be read.

    - - -
    cialis 20mg prix en pharmacie acheter cialis en suisse, viagra en belgique prix du viagra en pharmacie , viagra pour hommes



Similar Threads

  1. need to reinstall _only_ the boot selector
    By tpz1978 in forum Installation
    Replies: 7
    Last Post: 05-21-2010, 09:27 PM
  2. Replies: 0
    Last Post: 11-18-2008, 01:10 AM
  3. Replies: 0
    Last Post: 11-17-2008, 11:20 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012
All times are GMT +2. The time now is 08:35 AM.
twitter, follow us!