Beef Dev

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.
Posted by Beef at 4:30 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: iOS

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.
Posted by Beef at 3:58 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: iOS
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Labels

  • Dictionary (1)
  • iOS (10)
  • OpenGL (4)
  • OSG (4)
  • Qt (8)

Blog Archive

  • ►  2012 (12)
    • ►  March (2)
      • ►  Mar 21 (1)
      • ►  Mar 10 (1)
    • ►  February (4)
      • ►  Feb 25 (2)
      • ►  Feb 12 (1)
      • ►  Feb 05 (1)
    • ►  January (6)
      • ►  Jan 12 (2)
      • ►  Jan 03 (4)
  • ▼  2011 (11)
    • ►  December (1)
      • ►  Dec 12 (1)
    • ►  August (1)
      • ►  Aug 20 (1)
    • ►  July (2)
      • ►  Jul 27 (1)
      • ►  Jul 18 (1)
    • ►  June (1)
      • ►  Jun 06 (1)
    • ▼  March (2)
      • ▼  Mar 05 (2)
        • Don't retain UIColor, and don't release it
        • Objective-C's protocol's property cannot be inherited
    • ►  February (4)
      • ►  Feb 25 (1)
      • ►  Feb 21 (1)
      • ►  Feb 17 (2)
Picture Window theme. Powered by Blogger.