Declared in NSCoder+KoboldKit.h

Overview

Adds encode/decode convenience methods for common structs not supported natively (or cross-platform) by NSCoder.

Instance Methods

decodeCGPointForKey:

Decodes a CGPoint using the same method defined by UIGeometry.h on iOS.

- (CGPoint)decodeCGPointForKey:(NSString *)key

Parameters

key

The archive key.

Return Value

The decoded point.

Declared In

NSCoder+KoboldKit.h

decodePointForKey:

Decodes a CGPoint

- (CGPoint)decodePointForKey:(NSString *)key

Parameters

key

The archive key.

Return Value

The decoded point.

Declared In

NSCoder+KoboldKit.h

encodeCGPoint:forKey:

Encodes a CGPoint using the same method defined by UIGeometry.h on iOS.

- (void)encodeCGPoint:(CGPoint)point forKey:(NSString *)key

Parameters

point

The point to encode.

key

The archive key.

Declared In

NSCoder+KoboldKit.h

encodePoint:forKey:

Encodes a CGPoint.

- (void)encodePoint:(CGPoint)point forKey:(NSString *)key

Parameters

point

The point to encode.

key

The archive key.

Declared In

NSCoder+KoboldKit.h