OK. I\'ll be looking for the answer, and may find it myself. I have a nasty habit of answering my own questions.
In any case, I have an app that is designed to be \"
The best way to initilise your shared colour is like this:
+ (UIColor *)color
{
static UIColor *color;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
color = [[UIColor alloc] init...];
});
return color;
}
It is thread safe and only initialises the colour once. That way there is no way that you can leak the colour.