Open scrouchman opened 12 years ago
Removed dealloc Removed autorelease Fixed Bad Access by using UIColor* rather than CGColorRef. The compiler sets the original UIColor to be released too early so converting it to a CGColorRef later gets around this
Hi, I've added preprocessor macros to allow DCRoundSwitch to compile with or without ARC. I also converted the DCRoundSwitchDemo project to use ARC.
Removed dealloc Removed autorelease Fixed Bad Access by using UIColor* rather than CGColorRef. The compiler sets the original UIColor to be released too early so converting it to a CGColorRef later gets around this