• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
unhandled property type encoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unhandled property type encoding


  • Subject: unhandled property type encoding
  • From: Stefan Hafeneger <email@hidden>
  • Date: Wed, 2 Apr 2008 23:50:49 +0200

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@hidden)

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:
This email sent to email@hidden


  • Prev by Date: Re: GCDrawKit programmatically create object
  • Next by Date: Re: Name of NSTableView
  • Previous by thread: Re: GCDrawKit programmatically create object
  • Next by thread: NSAssert and Unused Variable
  • Index(es):
    • Date
    • Thread