Contents

init(data:)

Creates a pass using the data you provide.

Declaration

init(data: Data) throws

Parameters

  • data:

    A signed pass.

Discussion

If there’s a problem encoding the data you supply, this method sets the error parameter based on the type of problem:

Check the console for more detailed information.