Also since you are crossing the boundaries of the framework to UIKit you could
also use the
NSStringFromCGRect/CGPoint and CGRect/CGPointFromNSString and encoding strings.
Again you will have an extras step to go back and forth.
--Waqar
On Dec 24, 2009, at 12:47 PM, Quincey Morris wrote:
> On D
On Dec 24, 2009, at 09:59, Henry McGilton (Boulevardier) wrote:
> I bashed into a problem with NSKeyedArchiver trying to encode
> NSValue objects.
>
> I am using NSValue to wrap up CGPoint and CGSize structures, then
> doing an encodeObject: forKey: to encode the NSValue.
>
> I get this
I bashed into a problem with NSKeyedArchiver trying to encode
NSValue objects.
I am using NSValue to wrap up CGPoint and CGSize structures, then
doing an encodeObject: forKey: to encode the NSValue.
I get this message:
[NSKeyedArchiver encodeValueOfObjCType:at:]: this archiver canno