Inherits from NSObject
Declared in FRLayeredNavigationItem.h
FRLayeredNavigationItem.m

Overview

FRLayeredNavigationItem is used to configure one view controller layer. It is very similar to UINavigationItem .

Tasks

  •   initialViewPosition

    The view position when the layers are compacted maximally.

    property
  •   currentViewPosition

    The current view position.

    property
  •   title

    The navigation item’s title displayed in the center of the navigation bar.

    property
  •   titleView

    A custom view displayed in the center of the navigation bar.

    property
  •   width

    The layer’s width in points.

    property
  •   snappingDistance

    The maximum distance (when the child layer is being pulled out) to the next layer in points. If this value is unset, it defaults to the layer’s width.

    property
  •   nextItemDistance

    The minimal distance (when the child layer is as far on the left as possible) to the next layer in points.

    property
  •   hasChrome

    If the view controller should get decorated by some UI chrome: the navigation bar.

    property
  •   hasBorder

    If the view controller should get a small border.

    property
  •   displayShadow

    If the view should display a shadow

    property
  •   autosizeContent

    If the view should automatically size its content to the layer size

    property
  •   leftBarButtonItem

    A custom bar button item displayed on the left of the navigation bar.

    property
  •   rightBarButtonItem

    A custom bar button item displayed on the right of the navigation bar.

    property

Properties

autosizeContent

If the view should automatically size its content to the layer size

@property (nonatomic, readwrite) BOOL autosizeContent

Discussion

If the view should automatically size its content to the layer size

Declared In

FRLayeredNavigationItem.h

currentViewPosition

The current view position.

@property (nonatomic, readonly) CGPoint currentViewPosition

Discussion

The current view position.

Declared In

FRLayeredNavigationItem.h

displayShadow

If the view should display a shadow

@property (nonatomic, readwrite) BOOL displayShadow

Discussion

If the view should display a shadow

Declared In

FRLayeredNavigationItem.h

hasBorder

If the view controller should get a small border.

@property (nonatomic, readwrite) BOOL hasBorder

Discussion

If the view controller should get a small border.

Declared In

FRLayeredNavigationItem.h

hasChrome

If the view controller should get decorated by some UI chrome: the navigation bar.

@property (nonatomic, readwrite) BOOL hasChrome

Discussion

If the view controller should get decorated by some UI chrome: the navigation bar.

Declared In

FRLayeredNavigationItem.h

initialViewPosition

The view position when the layers are compacted maximally.

@property (nonatomic, readonly) CGPoint initialViewPosition

Discussion

The view position when the layers are compacted maximally.

Declared In

FRLayeredNavigationItem.h

leftBarButtonItem

A custom bar button item displayed on the left of the navigation bar.

@property (nonatomic, strong) UIBarButtonItem *leftBarButtonItem

Discussion

A custom bar button item displayed on the left of the navigation bar.

Declared In

FRLayeredNavigationItem.h

nextItemDistance

The minimal distance (when the child layer is as far on the left as possible) to the next layer in points.

@property (nonatomic, readwrite) CGFloat nextItemDistance

Discussion

The minimal distance (when the child layer is as far on the left as possible) to the next layer in points.

Declared In

FRLayeredNavigationItem.h

rightBarButtonItem

A custom bar button item displayed on the right of the navigation bar.

@property (nonatomic, strong) UIBarButtonItem *rightBarButtonItem

Discussion

A custom bar button item displayed on the right of the navigation bar.

Declared In

FRLayeredNavigationItem.h

snappingDistance

The maximum distance (when the child layer is being pulled out) to the next layer in points. If this value is unset, it defaults to the layer’s width.

@property (nonatomic, readwrite) CGFloat snappingDistance

Discussion

The maximum distance (when the child layer is being pulled out) to the next layer in points. If this value is unset, it defaults to the layer’s width.

Declared In

FRLayeredNavigationItem.h

title

The navigation item’s title displayed in the center of the navigation bar.

@property (nonatomic, readwrite, strong) NSString *title

Discussion

The navigation item’s title displayed in the center of the navigation bar.

Declared In

FRLayeredNavigationItem.h

titleView

A custom view displayed in the center of the navigation bar.

@property (nonatomic, readwrite, strong) UIView *titleView

Discussion

A custom view displayed in the center of the navigation bar.

Declared In

FRLayeredNavigationItem.h

width

The layer’s width in points.

@property (nonatomic, readwrite) CGFloat width

Discussion

The layer’s width in points.

Declared In

FRLayeredNavigationItem.h