when I started to look at the Core Animation framework I recognized that the newer Cocoa classes work a lot with properties. Instead of getter and setter methods they just define a property which can be accessed via the dot operator (as we do in Obj B). To handle these properties from within ObjB I have to declare the setter and getter instead of just declaring the property.
I am thinking of:
- Code: Select all
Declare Property "CABasicAnimation" (double)duration
You have already reserved the Property keyword and I think that this would be a good use of it