Contents

class(forCustomParameterID:)

Returns the class of the object contained in the custom parameter with the given ID.

Declaration

optional func `class`(forCustomParameterID parameterID: UInt32) -> AnyClass

Parameters

  • parameterID:

    The parameter ID of the class to be determined.

Mentioned in

Return Value

An Objective-C class of the specified parameterID.

Discussion

When you make custom parameters and the host stores them for you, it needs to know the class of the parameters to unarchive them from disk. This method returns the Objective-C class of which they are members.

See Also

Adding and setting parameters