Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Archiving QTMovie attributes



Has anyone else had a problem trying to encode the whole dictionary
returned by QTMovie movieAttributes: using encodeObject:forKey:? When
I try, I get the following exception:

[NSKeyedArchiver encodeValueOfObjCType:at:]: this archiver cannot encode structs

My guess is that the encoder for NSDictionary doesn't know what to do
with QTTime objects. I can't seem to think of a way around the problem
aside from encoding each attribute individually, which I'd really
rather not do.

Can anyone help?

Tim Schmitz
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.