Skip navigation.
 
mlunhandled property type encoding
FROM : Stefan Hafeneger
DATE : Wed Apr 02 23:50:49 2008

Hi,

I've made a subclass of CALayer (actually CAOpenGLLayer) and defined a 
struct property. In the init method the [super init] call produces a 
runtime message

unhandled property type encoding: `{_SHVector="x"f"y"f"z"f}'

The app doesn't crash, but I don't find a solution to avoid this 
message. I defined the struct via

typedef struct _SHVector {
   CGFloat x;
   CGFloat y;
   CGFloat z;
} SHVector;

The same property in a NSView subclass works fine.

With best wishes, Stefan

Related mailsAuthorDate
No related mails found.