Conforms to NSObject
Declared in SEssentialsTabHeaderViewProtocol.h
Availability
Related samples

Overview

The header view for a SEssentialsTab must adopt this protocol.

In addition to this protocol the implementation should also handle ‘touch’ actions that should call activateTab on the SEssentialsTabbedView and also handle touches on the ‘delete’ section of the tab that should call removeTab.

Tasks

  •   tab

    Reference to the SEssentialsTab that holds the reference to this view

    property required method
  •   active

    The header view must render in two states active/inactive. When set this should update the rendered view to reflect the state in the tab area.

    property required method
  •   removable

    Defines whether the tab header view will display some kind of control to allow the user to remove the tab. The default implementation, SEssentialsTabHeaderView, has a ‘remove’ button that can be shown or hidden by setting this property.

    property required method
  • – updateView

    When a property has changed on the SEssentialsTab, the header view is updated via this method.

    required method
  • – destinationMarker

    Get an image which represents a placeholder for this tab when it is being dragged. This will commonly be a translucent snapshot of the tab header view.

    required method

Properties

active

The header view must render in two states active/inactive. When set this should update the rendered view to reflect the state in the tab area.

@property (nonatomic, assign) BOOL active

Declared In

SEssentialsTabHeaderViewProtocol.h

removable

Defines whether the tab header view will display some kind of control to allow the user to remove the tab. The default implementation, SEssentialsTabHeaderView, has a ‘remove’ button that can be shown or hidden by setting this property.

@property (nonatomic, assign) BOOL removable

Declared In

SEssentialsTabHeaderViewProtocol.h

tab

Reference to the SEssentialsTab that holds the reference to this view

@property (assign, nonatomic) SEssentialsTab *tab

Declared In

SEssentialsTabHeaderViewProtocol.h

Instance Methods

destinationMarker

Get an image which represents a placeholder for this tab when it is being dragged. This will commonly be a translucent snapshot of the tab header view.

- (UIImage *)destinationMarker

Declared In

SEssentialsTabHeaderViewProtocol.h

updateView

When a property has changed on the SEssentialsTab, the header view is updated via this method.

- (void)updateView

Declared In

SEssentialsTabHeaderViewProtocol.h