Permalink
Browse files

Renamed from NGVerticalTabBar to NGTabBar

  • Loading branch information...
1 parent b707e37 commit 010b803bda2913f78dea1013bca70e1abe3a2c8e @myell0w myell0w committed Apr 16, 2012
Showing with 240 additions and 243 deletions.
  1. +29 −29 Demo/NGVerticalTabBarControllerDemo/NGVerticalTabBarControllerDemo.xcodeproj/project.pbxproj
  2. +3 −3 Demo/NGVerticalTabBarControllerDemo/NGVerticalTabBarControllerDemo/AppDelegate.h
  3. +11 −10 Demo/NGVerticalTabBarControllerDemo/NGVerticalTabBarControllerDemo/AppDelegate.m
  4. +1 −1 Demo/NGVerticalTabBarControllerDemo/NGVerticalTabBarControllerDemo/NGColoredViewController.h
  5. +1 −1 Demo/NGVerticalTabBarControllerDemo/NGVerticalTabBarControllerDemo/NGColoredViewController.m
  6. +1 −1 ...icalTabBarControllerDemo/NGVerticalTabBarControllerDemo/NGVerticalTabBarControllerDemo-Prefix.pch
  7. +1 −1 Demo/NGVerticalTabBarControllerDemo/NGVerticalTabBarControllerDemo/main.m
  8. +51 −55 {NGVerticalTabBarController.xcodeproj → NGTabBarController.xcodeproj}/project.pbxproj
  9. +3 −3 NGVerticalTabBarController/NGVerticalTabBar.h → NGTabBarController/NGTabBar.h
  10. +2 −2 NGVerticalTabBarController/NGVerticalTabBar.m → NGTabBarController/NGTabBar.m
  11. +14 −14 NGVerticalTabBarController/NGVerticalTabBarController.h → NGTabBarController/NGTabBarController.h
  12. +24 −24 NGVerticalTabBarController/NGVerticalTabBarController.m → NGTabBarController/NGTabBarController.m
  13. +18 −0 NGTabBarController/NGTabBarControllerAnimation.h
  14. +40 −0 NGTabBarController/NGTabBarControllerDelegate.h
  15. +16 −0 NGTabBarController/NGTabBarItem.h
  16. +17 −0 NGTabBarController/NGTabBarItem.m
  17. +8 −0 NGTabBarController/Prefix.pch
  18. +0 −16 NGVerticalTabBarController/NGVerticalTabBarCell.h
  19. +0 −17 NGVerticalTabBarController/NGVerticalTabBarCell.m
  20. +0 −18 NGVerticalTabBarController/NGVerticalTabBarControllerAnimation.h
  21. +0 −40 NGVerticalTabBarController/NGVerticalTabBarControllerDelegate.h
  22. +0 −8 NGVerticalTabBarController/Prefix.pch
@@ -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; };
@@ -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 */
@@ -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 */,
@@ -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 = (
@@ -85,7 +93,7 @@
9BEA2B5514ED1B4A00AEE977 /* Frameworks */ = {
isa = PBXGroup;
children = (
- 9BEA2B6D14ED1B5A00AEE977 /* NGVerticalTabBarController.xcodeproj */,
+ 9BA31567153C769C002E7628 /* NGTabBarController.xcodeproj */,
9BEA2B5614ED1B4A00AEE977 /* UIKit.framework */,
9BEA2B5814ED1B4A00AEE977 /* Foundation.framework */,
9BEA2B5A14ED1B4A00AEE977 /* CoreGraphics.framework */,
@@ -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 */
@@ -138,7 +138,7 @@
buildRules = (
);
dependencies = (
- 9BEA2B7E14ED1B8300AEE977 /* PBXTargetDependency */,
+ 9BA31573153C76C8002E7628 /* PBXTargetDependency */,
);
name = NGVerticalTabBarControllerDemo;
productName = NGVerticalTabBarControllerDemo;
@@ -166,8 +166,8 @@
projectDirPath = "";
projectReferences = (
{
- ProductGroup = 9BEA2B6E14ED1B5A00AEE977 /* Products */;
- ProjectRef = 9BEA2B6D14ED1B5A00AEE977 /* NGVerticalTabBarController.xcodeproj */;
+ ProductGroup = 9BA31568153C769C002E7628 /* Products */;
+ ProjectRef = 9BA31567153C769C002E7628 /* NGTabBarController.xcodeproj */;
},
);
projectRoot = "";
@@ -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 */
@@ -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 */
@@ -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";
@@ -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";
@@ -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;
@@ -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.
@@ -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;
@@ -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
@@ -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.
@@ -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.
@@ -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>
@@ -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.
Oops, something went wrong.

0 comments on commit 010b803

Please sign in to comment.