Saturday, March 5, 2011
Don't retain UIColor, and don't release it
UIColor manages the lifetime of colors it returns. The caller is not supposed to retain it and release it.
Objective-C's protocol's property cannot be inherited
None of the Apple's Objective-C documents or programming guides that I have seen show an example of declaring a property in a protocol and the protocol is inherited. I declared a property in a protocol by Xcode fails to recognize the property.
Subscribe to:
Posts (Atom)