Contents

index(forIdentifier:)

Returns the index for the given identifier.

Declaration

func index(forIdentifier identifier: String!) -> Int

Parameters

  • identifier:

    The identifier whose index will be returned.

Discussion

If the identifier is not found, returns NSNotFound.

See Also

Accessing identifiers