Mac Developer Library

Developer

Foundation Framework Reference NSSecureCoding Protocol Reference

Options
Deployment Target:

On This Page
Language:

NSSecureCoding

Conforming to the NSSecureCoding protocol indicates that an object handles encoding and decoding instances of itself in a manner that is robust against object substitution attacks. More...

Inheritance


Not Applicable

Conforms To


Import Statement


import Foundation @import Foundation;

Availability


Available in OS X v10.8 and later.
  • Returns whether the class supports secure coding. (required)

    Declaration

    Swift

    class func supportsSecureCoding() -> Bool

    Objective-C

    + (BOOL)supportsSecureCoding

    Return Value

    Return YEStrue if your class supports secure coding, or NOfalse otherwise.

    Import Statement

    import Foundation

    Availability

    Available in OS X v10.8 and later.