Contents

tag(forSegment:)

Returns the tag of the specified segment.

Declaration

func tag(forSegment segment: Int) -> Int

Parameters

  • segment:

    The index of the segment whose tool tag you want to get. This method raises an exception (Rangeexception) if the index is out of bounds.

Return Value

The tag of the segment.

See Also

Configuring Individual Segments