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
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to