Just wanted to say "thanks a lot!" everyone, especially Costique, this has been driving me absolutely nuts all night. I had a view attached to an UITableViewCell and I was setting its background to a certain color immediately after it was dequeued from the table view, but it would always revert to what was set in the xib. I tried to isolate the problem in a separate project, but it was working correctly and the backgroundColor setter was called only twice, while my original project setup caused it to be called 4 or 5 times.
After studying the stack trace for a while I noticed to traits reference which lead me to this thread, I never would have thought that using named colors would lead to this behavior.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: