Skip to content

Commit

Permalink
Renamed from NGVerticalTabBar to NGTabBar
Browse files Browse the repository at this point in the history
  • Loading branch information
myell0w committed Apr 16, 2012
1 parent b707e37 commit 010b803
Show file tree
Hide file tree
Showing 22 changed files with 240 additions and 243 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,35 @@
objects = {

/* Begin PBXBuildFile section */
9BA31574153C76CE002E7628 /* libNGTabBarController.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9BA3156F153C769C002E7628 /* libNGTabBarController.a */; };
9BEA2B5714ED1B4A00AEE977 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9BEA2B5614ED1B4A00AEE977 /* UIKit.framework */; };
9BEA2B5914ED1B4A00AEE977 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9BEA2B5814ED1B4A00AEE977 /* Foundation.framework */; };
9BEA2B5B14ED1B4A00AEE977 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9BEA2B5A14ED1B4A00AEE977 /* CoreGraphics.framework */; };
9BEA2B6114ED1B4A00AEE977 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 9BEA2B5F14ED1B4A00AEE977 /* InfoPlist.strings */; };
9BEA2B6314ED1B4A00AEE977 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9BEA2B6214ED1B4A00AEE977 /* main.m */; };
9BEA2B6714ED1B4A00AEE977 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9BEA2B6614ED1B4A00AEE977 /* AppDelegate.m */; };
9BEA2B7F14ED1B8900AEE977 /* libNGVerticalTabBarController.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9BEA2B7214ED1B5A00AEE977 /* libNGVerticalTabBarController.a */; };
9BEA2B8214ED1BC300AEE977 /* NGColoredViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9BEA2B8114ED1BC300AEE977 /* NGColoredViewController.m */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
9BEA2B7114ED1B5A00AEE977 /* PBXContainerItemProxy */ = {
9BA3156E153C769C002E7628 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 9BEA2B6D14ED1B5A00AEE977 /* NGVerticalTabBarController.xcodeproj */;
containerPortal = 9BA31567153C769C002E7628 /* NGTabBarController.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 9B80B52D14EA8F7100B83FA0;
remoteInfo = NGVerticalTabBarController;
remoteInfo = NGTabBarController;
};
9BEA2B7D14ED1B8300AEE977 /* PBXContainerItemProxy */ = {
9BA31572153C76C8002E7628 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 9BEA2B6D14ED1B5A00AEE977 /* NGVerticalTabBarController.xcodeproj */;
containerPortal = 9BA31567153C769C002E7628 /* NGTabBarController.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = 9B80B52C14EA8F7100B83FA0;
remoteInfo = NGVerticalTabBarController;
remoteInfo = NGTabBarController;
};
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
9BA31567153C769C002E7628 /* NGTabBarController.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = NGTabBarController.xcodeproj; path = ../../NGTabBarController.xcodeproj; sourceTree = "<group>"; };
9BEA2B5214ED1B4A00AEE977 /* NGVerticalTabBarControllerDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NGVerticalTabBarControllerDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
9BEA2B5614ED1B4A00AEE977 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
9BEA2B5814ED1B4A00AEE977 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
Expand All @@ -45,7 +46,6 @@
9BEA2B6414ED1B4A00AEE977 /* NGVerticalTabBarControllerDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NGVerticalTabBarControllerDemo-Prefix.pch"; sourceTree = "<group>"; };
9BEA2B6514ED1B4A00AEE977 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
9BEA2B6614ED1B4A00AEE977 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
9BEA2B6D14ED1B5A00AEE977 /* NGVerticalTabBarController.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = NGVerticalTabBarController.xcodeproj; path = ../../NGVerticalTabBarController.xcodeproj; sourceTree = "<group>"; };
9BEA2B8014ED1BC300AEE977 /* NGColoredViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NGColoredViewController.h; sourceTree = "<group>"; };
9BEA2B8114ED1BC300AEE977 /* NGColoredViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NGColoredViewController.m; sourceTree = "<group>"; };
/* End PBXFileReference section */
Expand All @@ -55,7 +55,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
9BEA2B7F14ED1B8900AEE977 /* libNGVerticalTabBarController.a in Frameworks */,
9BA31574153C76CE002E7628 /* libNGTabBarController.a in Frameworks */,
9BEA2B5714ED1B4A00AEE977 /* UIKit.framework in Frameworks */,
9BEA2B5914ED1B4A00AEE977 /* Foundation.framework in Frameworks */,
9BEA2B5B14ED1B4A00AEE977 /* CoreGraphics.framework in Frameworks */,
Expand All @@ -65,6 +65,14 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
9BA31568153C769C002E7628 /* Products */ = {
isa = PBXGroup;
children = (
9BA3156F153C769C002E7628 /* libNGTabBarController.a */,
);
name = Products;
sourceTree = "<group>";
};
9BEA2B4714ED1B4A00AEE977 = {
isa = PBXGroup;
children = (
Expand All @@ -85,7 +93,7 @@
9BEA2B5514ED1B4A00AEE977 /* Frameworks */ = {
isa = PBXGroup;
children = (
9BEA2B6D14ED1B5A00AEE977 /* NGVerticalTabBarController.xcodeproj */,
9BA31567153C769C002E7628 /* NGTabBarController.xcodeproj */,
9BEA2B5614ED1B4A00AEE977 /* UIKit.framework */,
9BEA2B5814ED1B4A00AEE977 /* Foundation.framework */,
9BEA2B5A14ED1B4A00AEE977 /* CoreGraphics.framework */,
Expand Down Expand Up @@ -116,14 +124,6 @@
name = "Supporting Files";
sourceTree = "<group>";
};
9BEA2B6E14ED1B5A00AEE977 /* Products */ = {
isa = PBXGroup;
children = (
9BEA2B7214ED1B5A00AEE977 /* libNGVerticalTabBarController.a */,
);
name = Products;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand All @@ -138,7 +138,7 @@
buildRules = (
);
dependencies = (
9BEA2B7E14ED1B8300AEE977 /* PBXTargetDependency */,
9BA31573153C76C8002E7628 /* PBXTargetDependency */,
);
name = NGVerticalTabBarControllerDemo;
productName = NGVerticalTabBarControllerDemo;
Expand Down Expand Up @@ -166,8 +166,8 @@
projectDirPath = "";
projectReferences = (
{
ProductGroup = 9BEA2B6E14ED1B5A00AEE977 /* Products */;
ProjectRef = 9BEA2B6D14ED1B5A00AEE977 /* NGVerticalTabBarController.xcodeproj */;
ProductGroup = 9BA31568153C769C002E7628 /* Products */;
ProjectRef = 9BA31567153C769C002E7628 /* NGTabBarController.xcodeproj */;
},
);
projectRoot = "";
Expand All @@ -178,11 +178,11 @@
/* End PBXProject section */

/* Begin PBXReferenceProxy section */
9BEA2B7214ED1B5A00AEE977 /* libNGVerticalTabBarController.a */ = {
9BA3156F153C769C002E7628 /* libNGTabBarController.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libNGVerticalTabBarController.a;
remoteRef = 9BEA2B7114ED1B5A00AEE977 /* PBXContainerItemProxy */;
path = libNGTabBarController.a;
remoteRef = 9BA3156E153C769C002E7628 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */
Expand Down Expand Up @@ -212,10 +212,10 @@
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
9BEA2B7E14ED1B8300AEE977 /* PBXTargetDependency */ = {
9BA31573153C76C8002E7628 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = NGVerticalTabBarController;
targetProxy = 9BEA2B7D14ED1B8300AEE977 /* PBXContainerItemProxy */;
name = NGTabBarController;
targetProxy = 9BA31572153C76C8002E7628 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

Expand Down Expand Up @@ -285,7 +285,7 @@
buildSettings = {
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "NGVerticalTabBarControllerDemo/NGVerticalTabBarControllerDemo-Prefix.pch";
HEADER_SEARCH_PATHS = "../../NGVerticalTabBarController/**";
HEADER_SEARCH_PATHS = "../../NGTabBarController/**";
INFOPLIST_FILE = "NGVerticalTabBarControllerDemo/NGVerticalTabBarControllerDemo-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = "-fobjc-arc";
Expand All @@ -299,7 +299,7 @@
buildSettings = {
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "NGVerticalTabBarControllerDemo/NGVerticalTabBarControllerDemo-Prefix.pch";
HEADER_SEARCH_PATHS = "../../NGVerticalTabBarController/**";
HEADER_SEARCH_PATHS = "../../NGTabBarController/**";
INFOPLIST_FILE = "NGVerticalTabBarControllerDemo/NGVerticalTabBarControllerDemo-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = "-fobjc-arc";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
//
// AppDelegate.h
// NGVerticalTabBarControllerDemo
// NGTabBarControllerDemo
//
// Created by Tretter Matthias on 16.02.12.
// Copyright (c) 2012 NOUS Wissensmanagement GmbH. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NGVerticalTabBarController.h"
#import "NGTabBarController.h"

@interface AppDelegate : UIResponder <UIApplicationDelegate, NGVerticalTabBarControllerDelegate>
@interface AppDelegate : UIResponder <UIApplicationDelegate, NGTabBarControllerDelegate>

@property (strong, nonatomic) UIWindow *window;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// AppDelegate.m
// NGVerticalTabBarControllerDemo
// NGTabBarControllerDemo
//
// Created by Tretter Matthias on 16.02.12.
// Copyright (c) 2012 NOUS Wissensmanagement GmbH. All rights reserved.
Expand All @@ -24,9 +24,9 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
[[NGColoredViewController alloc] initWithNibName:nil bundle:nil],
[[NGColoredViewController alloc] initWithNibName:nil bundle:nil],nil];

NGVerticalTabBarController *tabBarController = [[NGVerticalTabBarController alloc] initWithDelegate:self];
NGTabBarController *tabBarController = [[NGTabBarController alloc] initWithDelegate:self];

tabBarController.animation = NGVerticalTabBarControllerAnimationMoveAndScale;
tabBarController.animation = NGTabBarControllerAnimationMoveAndScale;
tabBarController.viewControllers = viewController;
self.window.rootViewController = tabBarController;

Expand All @@ -36,15 +36,16 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
}

////////////////////////////////////////////////////////////////////////
#pragma mark - NGVerticalTabBarControllerDelegate
#pragma mark - NGTabBarControllerDelegate
////////////////////////////////////////////////////////////////////////

- (NGVerticalTabBarCell *)verticalTabBarController:(NGVerticalTabBarController *)tabBarController
customizedCell:(NGVerticalTabBarCell *)cell
forViewController:(UIViewController *)viewController
atIndex:(NSUInteger)index {
cell.textLabel.text = [NSString stringWithFormat:@"%d", index];
return cell;
- (NGTabBarItem *)verticalTabBarController:(NGTabBarController *)tabBarController
customizedItem:(NGTabBarItem *)item
forViewController:(UIViewController *)viewController
atIndex:(NSUInteger)index {
item.textLabel.text = [NSString stringWithFormat:@"%d", index];

return item;
}

@end
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// NGColoredViewController.h
// NGVerticalTabBarControllerDemo
// NGTabBarControllerDemo
//
// Created by Tretter Matthias on 16.02.12.
// Copyright (c) 2012 NOUS Wissensmanagement GmbH. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// NGColoredViewController.m
// NGVerticalTabBarControllerDemo
// NGTabBarControllerDemo
//
// Created by Tretter Matthias on 16.02.12.
// Copyright (c) 2012 NOUS Wissensmanagement GmbH. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Prefix header for all source files of the 'NGVerticalTabBarControllerDemo' target in the 'NGVerticalTabBarControllerDemo' project
// Prefix header for all source files of the 'NGTabBarControllerDemo' target in the 'NGTabBarControllerDemo' project
//

#import <Availability.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// main.m
// NGVerticalTabBarControllerDemo
// NGTabBarControllerDemo
//
// Created by Tretter Matthias on 16.02.12.
// Copyright (c) 2012 NOUS Wissensmanagement GmbH. All rights reserved.
Expand Down
Loading

0 comments on commit 010b803

Please sign in to comment.