• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSCell subclass text not changing attribute on selection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCell subclass text not changing attribute on selection?


  • Subject: Re: NSCell subclass text not changing attribute on selection?
  • From: Corbin Dunn <email@hidden>
  • Date: Fri, 17 Mar 2006 17:42:43 -0800



NSLog(@"found foo col cursor retain count %d", [cursor retainCount]);
[(YKKFooCell* )cell setRowValues: [cursor rowAtIndex: rowIndex] whiteText:w];
[(YKKFooCell* )cell setImage:[NSImage imageNamed:@"del"]];
}
}


any ideas why this isn't drawing white text?


Does your cell properly implement copyWithZone:? If not, that may be the problem.

--corbin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSCell subclass text not changing attribute on selection? (From: "Mike Hanna" <email@hidden>)

  • Prev by Date: Re: classes in frameworks
  • Next by Date: CGContextShowTextAtPoint upside down
  • Previous by thread: NSCell subclass text not changing attribute on selection?
  • Next by thread: Re:Navigating a TableView
  • Index(es):
    • Date
    • Thread