CALayer valueForKey?

The whole Core Animation is actually backed by C++ code, the interface is just an Objective-C wrapper. Therefore, functions like valueForKey: has been reimplemented to go through the C++ core first. This is the difference from NSObject If your angle is just a method, not a declared property, the custom valueForKey: won't find it.

This is likely a bug. Try to make sure you declare a property angle property(assign) float angle.

The whole Core Animation is actually backed by C++ code, the interface is just an Objective-C wrapper. Therefore, functions like -valueForKey: has been reimplemented to go through the C++ core first. This is the difference from NSObject.

If your -angle is just a method, not a declared property, the custom -valueForKey: won't find it. This is likely a bug. Try to make sure you declare a property .angle.

@property(assign) float angle.

Excellent! Thanks for the prompt and insightful answer! Just out of curiosity, where do you get information like this?

Because I often find that Cocoa documents are not just enough. Do you work for Apple? ;) – Kay Jul 3 '10 at 3:00 I wanted to vote this up, but I don't have enough reputation.. – Kay Jul 3 '10 at 3:04 I've posted a further question in relation to this one.

Can you take a look if you have time? Thank you! Stackoverflow.Com/questions/3170723/… – Kay Jul 3 '10 at 7:49.

Therefore, functions like -valueForKey: has been reimplemented to go through the C++ core first. This is the difference from NSObject. If your -angle is just a method, not a declared property, the custom -valueForKey: won't find it.

This is likely a bug. Try to make sure you declare a property .angle.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions