On Feb 12, 2012, at 1:28 AM, Kyle Sluder wrote:

> Hmm. The Foundation Release Notes for 10.5 indicate that KVC supports 
> arbitrary structs (see section titled "Support for Arbitrary Types in KVC and 
> KVO")

Yes I have read that several times. It seems to be at odds with the Core Data 
documentation. It is very confusing.

I have not been able to get custom structs to work properly with Core Data. So 
for now I would agree with the Core Data documentation that they are somehow 
not KVC compliant.

> But the blog you linked to indicates that manually-implemented accessors 
> aren't exactly the most efficient.

If you read all the way to the bottom of the blog, he was able to substantially 
improve the results with manually-implemented scalar accessors.

Another confusing thing is that Xcode 4.2 has a new undocumented checkbox 
called "Use scalar properties" in the class generation sheet. But this only 
works with iOS 5 and Mac OS X 10.7.

     http://subjectiveobserver.wordpress.com/

--Richard


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to