Inherits from NSObject
Declared in IGSlideTabContentSize.h

Overview

The IGSlideTabContentSize is used to provide the tab item content view with an exact or dynamic sizing.

Tasks

Properties

height

Returns the height value of the tab item content view.

@property (nonatomic, assign) CGFloat height

Discussion

This view may also contain a percentage height when not using fixed values. Percent values are from 0.0 to 1.0.

Declared In

IGSlideTabContentSize.h

isPercentageHeight

Returns or sets whether or not the instance of IGSlideTabContentSize is using percentage height.

@property (nonatomic, assign) BOOL isPercentageHeight

Declared In

IGSlideTabContentSize.h

isPercentageWidth

Returns or sets whether or not the instance of IGSlideTabContentSize is using percentage width.

@property (nonatomic, assign) BOOL isPercentageWidth

Declared In

IGSlideTabContentSize.h

width

Returns the width value of the tab item content view.

@property (nonatomic, assign) CGFloat width

Discussion

This view may also contain a percentage width when not using fixed values. Percent values are from 0.0 to 1.0.

Declared In

IGSlideTabContentSize.h

Class Methods

sizeWithFixedWidth:percentageHeight:

Initializes the IGSlideTabContentSize with a fixed width and percentage height. Percent values are from 0.0 to 1.0.

+ (IGSlideTabContentSize *)sizeWithFixedWidth:(CGFloat)width percentageHeight:(CGFloat)percentageHeight

Parameters

width

The fixed width for the tab item content view.

percentageHeight

The percentage height for the tab item content view.

Return Value

The IGSlideTabContentSize instance.

Declared In

IGSlideTabContentSize.h

sizeWithPercentageWidth:fixedHeight:

Initializes the IGSlideTabContentSize with a percentage width and fixed height. Percent values are from 0.0 to 1.0.

+ (IGSlideTabContentSize *)sizeWithPercentageWidth:(CGFloat)percentageWidth fixedHeight:(CGFloat)fixedHeight

Parameters

percentageWidth

The percentage width for the tab item content view.

fixedHeight

The fixed height for the tab item content view.

Return Value

The IGSlideTabContentSize instance.

Declared In

IGSlideTabContentSize.h

sizeWithPercentageWidth:percentageHeight:

Initializes the IGSlideTabContentSize with a percentage width and percentage height. Percent values are from 0.0 to 1.0.

+ (IGSlideTabContentSize *)sizeWithPercentageWidth:(CGFloat)percentageWidth percentageHeight:(CGFloat)percentageHeight

Parameters

percentageWidth

The percentage width for the tab item content view.

percentageHeight

The percentage height for the tab item content view.

Return Value

The IGSlideTabContentSize instance.

Declared In

IGSlideTabContentSize.h

sizeWithWidth:height:

Initializes the IGSlideTabContentSize with a fixed height and width.

+ (IGSlideTabContentSize *)sizeWithWidth:(CGFloat)width height:(CGFloat)height

Parameters

width

The fixed width for the tab item content view.

height

The fixed height for the tab item content view.

Return Value

The IGSlideTabContentSize instance.

Declared In

IGSlideTabContentSize.h