Contents

serializedValue(forKey:)

A method implemented to override serialization.

Declaration

func serializedValue(forKey key: String!) -> Any!

Parameters

  • key:

    The key for the value to retrieve.

Return Value

Either nil or a value that’s compliant with property lists: NSString, NSNumber, NSDate, NSData, NSArray, or NSDictionary.

Discussion

Provides custom serialization for patch internal settings that do not comply to the NSCoding protocol.

Discussion

If your patch has internal settings that do not conform to the NSCoding protocol, you must implement this method.

See Also

Supporting Saving and Retrieving Internal Settings