So I tracked a random bug to :
thanks
Ian
Code:
[self setCardColour:[UIColor colorWithRed:0.6 green:0.0 blue:0.0 alpha:1.0]];
// if I changed it to this:
[self setCardColour:[UIColor colorWithRed:0.6 green:0.0 blue:0.0 alpha:1.0]retain]];
//but I think it caused a memory leak.
// if I changed it to this:
[self setCardColour:[[UIColor alloc] initWithRed:0.6 green:0.0 blue:0.0 alpha:1.0]];
// would that be better worse or the same??
thanks
Ian