index(obj)

returns an index of the currently selected view (index in the array of views)

Parameters

  • obj - the view that method is assigned to (optional)
    • object

Returns

method doesn't return any data