Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 5da4c44624
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (20 sloc) 0.675 kB
//
// NGTabBarPosition.h
// NGTabBarController
//
// Created by Tretter Matthias on 24.04.12.
// Copyright (c) 2012 NOUS Wissensmanagement GmbH. All rights reserved.
//
typedef enum {
NGTabBarPositionTop = 0,
NGTabBarPositionRight,
NGTabBarPositionBottom,
NGTabBarPositionLeft,
} NGTabBarPosition;
#define kNGTabBarPositionDefault NGTabBarPositionLeft
NS_INLINE BOOL NGTabBarIsVertical(NGTabBarPosition position) {
return position == NGTabBarPositionLeft || position == NGTabBarPositionRight;
}
NS_INLINE BOOL NGTabBarIsHorizontal(NGTabBarPosition position) {
return position == NGTabBarPositionTop || position == NGTabBarPositionBottom;
}
Jump to Line
Something went wrong with that request. Please try again.