From 1573781ec787a25bc9675fea9f1d98af8f53525e Mon Sep 17 00:00:00 2001 From: mo khan Date: Tue, 21 May 2013 20:24:46 -0600 Subject: complete the tab bar example --- .../AlertActionSheets.xcodeproj/project.pbxproj | 305 ++++++++++++++++++ .../AlertActionSheets/AlertActionSheets-Info.plist | 38 +++ .../AlertActionSheets/AlertActionSheets-Prefix.pch | 14 + AlertActionSheets/AlertActionSheets/AppDelegate.h | 19 ++ AlertActionSheets/AlertActionSheets/AppDelegate.m | 52 ++++ .../AlertActionSheets/Default-568h@2x.png | Bin 0 -> 18594 bytes AlertActionSheets/AlertActionSheets/Default.png | Bin 0 -> 6540 bytes AlertActionSheets/AlertActionSheets/Default@2x.png | Bin 0 -> 16107 bytes .../AlertActionSheets/ViewController.h | 13 + .../AlertActionSheets/ViewController.m | 29 ++ .../AlertActionSheets/en.lproj/InfoPlist.strings | 2 + .../AlertActionSheets/en.lproj/ViewController.xib | 138 +++++++++ AlertActionSheets/AlertActionSheets/main.m | 18 ++ Controls/Controls.xcodeproj/project.pbxproj | 305 ++++++++++++++++++ Controls/Controls/AppDelegate.h | 19 ++ Controls/Controls/AppDelegate.m | 52 ++++ Controls/Controls/Controls-Info.plist | 38 +++ Controls/Controls/Controls-Prefix.pch | 14 + Controls/Controls/Default-568h@2x.png | Bin 0 -> 18594 bytes Controls/Controls/Default.png | Bin 0 -> 6540 bytes Controls/Controls/Default@2x.png | Bin 0 -> 16107 bytes Controls/Controls/ViewController.h | 13 + Controls/Controls/ViewController.m | 29 ++ Controls/Controls/en.lproj/InfoPlist.strings | 2 + Controls/Controls/en.lproj/ViewController.xib | 138 +++++++++ Controls/Controls/main.m | 18 ++ MultiViewXIBNav/FirstViewController.h | 13 + MultiViewXIBNav/FirstViewController.m | 38 +++ MultiViewXIBNav/FirstViewController.xib | 137 +++++++++ .../MultiViewXIBNav.xcodeproj/project.pbxproj | 287 +++++++++++++++++ MultiViewXIBNav/MultiViewXIBNav/AppDelegate.h | 15 + MultiViewXIBNav/MultiViewXIBNav/AppDelegate.m | 49 +++ .../MultiViewXIBNav/Default-568h@2x.png | Bin 0 -> 18594 bytes MultiViewXIBNav/MultiViewXIBNav/Default.png | Bin 0 -> 6540 bytes MultiViewXIBNav/MultiViewXIBNav/Default@2x.png | Bin 0 -> 16107 bytes .../MultiViewXIBNav/MultiViewXIBNav-Info.plist | 38 +++ .../MultiViewXIBNav/MultiViewXIBNav-Prefix.pch | 14 + .../MultiViewXIBNav/SecondViewController.h | 13 + .../MultiViewXIBNav/SecondViewController.m | 38 +++ .../MultiViewXIBNav/SecondViewController.xib | 137 +++++++++ .../MultiViewXIBNav/en.lproj/InfoPlist.strings | 2 + MultiViewXIBNav/MultiViewXIBNav/main.m | 18 ++ MultiViewXIBTabBar/FirstViewController.h | 13 + MultiViewXIBTabBar/FirstViewController.m | 40 +++ MultiViewXIBTabBar/FirstViewController.xib | 133 ++++++++ .../MultiViewXIBTabBar.xcodeproj/project.pbxproj | 341 +++++++++++++++++++++ .../project.xcworkspace/contents.xcworkspacedata | 7 + .../mo.xcuserdatad/UserInterfaceState.xcuserstate | Bin 0 -> 15813 bytes .../xcschemes/MultiViewXIBTabBar.xcscheme | 86 ++++++ .../xcschemes/xcschememanagement.plist | 22 ++ .../MultiViewXIBTabBar/AppDelegate.h | 16 + .../MultiViewXIBTabBar/AppDelegate.m | 58 ++++ .../MultiViewXIBTabBar/Default-568h@2x.png | Bin 0 -> 18594 bytes MultiViewXIBTabBar/MultiViewXIBTabBar/Default.png | Bin 0 -> 6540 bytes .../MultiViewXIBTabBar/Default@2x.png | Bin 0 -> 16107 bytes .../MultiViewXIBTabBar-Info.plist | 38 +++ .../MultiViewXIBTabBar-Prefix.pch | 14 + .../MultiViewXIBTabBar/SecondViewController.h | 13 + .../MultiViewXIBTabBar/SecondViewController.m | 40 +++ .../MultiViewXIBTabBar/SecondViewController.xib | 133 ++++++++ .../MultiViewXIBTabBar/ThirdViewController.h | 13 + .../MultiViewXIBTabBar/ThirdViewController.m | 40 +++ .../MultiViewXIBTabBar/ThirdViewController.xib | 133 ++++++++ .../MultiViewXIBTabBar/en.lproj/InfoPlist.strings | 2 + MultiViewXIBTabBar/MultiViewXIBTabBar/first.png | Bin 0 -> 253 bytes MultiViewXIBTabBar/MultiViewXIBTabBar/first@2x.png | Bin 0 -> 402 bytes MultiViewXIBTabBar/MultiViewXIBTabBar/main.m | 18 ++ MultiViewXIBTabBar/MultiViewXIBTabBar/second.png | Bin 0 -> 128 bytes .../MultiViewXIBTabBar/second@2x.png | Bin 0 -> 130 bytes 69 files changed, 3215 insertions(+) create mode 100644 AlertActionSheets/AlertActionSheets.xcodeproj/project.pbxproj create mode 100644 AlertActionSheets/AlertActionSheets/AlertActionSheets-Info.plist create mode 100644 AlertActionSheets/AlertActionSheets/AlertActionSheets-Prefix.pch create mode 100644 AlertActionSheets/AlertActionSheets/AppDelegate.h create mode 100644 AlertActionSheets/AlertActionSheets/AppDelegate.m create mode 100644 AlertActionSheets/AlertActionSheets/Default-568h@2x.png create mode 100644 AlertActionSheets/AlertActionSheets/Default.png create mode 100644 AlertActionSheets/AlertActionSheets/Default@2x.png create mode 100644 AlertActionSheets/AlertActionSheets/ViewController.h create mode 100644 AlertActionSheets/AlertActionSheets/ViewController.m create mode 100644 AlertActionSheets/AlertActionSheets/en.lproj/InfoPlist.strings create mode 100644 AlertActionSheets/AlertActionSheets/en.lproj/ViewController.xib create mode 100644 AlertActionSheets/AlertActionSheets/main.m create mode 100644 Controls/Controls.xcodeproj/project.pbxproj create mode 100644 Controls/Controls/AppDelegate.h create mode 100644 Controls/Controls/AppDelegate.m create mode 100644 Controls/Controls/Controls-Info.plist create mode 100644 Controls/Controls/Controls-Prefix.pch create mode 100644 Controls/Controls/Default-568h@2x.png create mode 100644 Controls/Controls/Default.png create mode 100644 Controls/Controls/Default@2x.png create mode 100644 Controls/Controls/ViewController.h create mode 100644 Controls/Controls/ViewController.m create mode 100644 Controls/Controls/en.lproj/InfoPlist.strings create mode 100644 Controls/Controls/en.lproj/ViewController.xib create mode 100644 Controls/Controls/main.m create mode 100644 MultiViewXIBNav/FirstViewController.h create mode 100644 MultiViewXIBNav/FirstViewController.m create mode 100644 MultiViewXIBNav/FirstViewController.xib create mode 100644 MultiViewXIBNav/MultiViewXIBNav.xcodeproj/project.pbxproj create mode 100644 MultiViewXIBNav/MultiViewXIBNav/AppDelegate.h create mode 100644 MultiViewXIBNav/MultiViewXIBNav/AppDelegate.m create mode 100644 MultiViewXIBNav/MultiViewXIBNav/Default-568h@2x.png create mode 100644 MultiViewXIBNav/MultiViewXIBNav/Default.png create mode 100644 MultiViewXIBNav/MultiViewXIBNav/Default@2x.png create mode 100644 MultiViewXIBNav/MultiViewXIBNav/MultiViewXIBNav-Info.plist create mode 100644 MultiViewXIBNav/MultiViewXIBNav/MultiViewXIBNav-Prefix.pch create mode 100644 MultiViewXIBNav/MultiViewXIBNav/SecondViewController.h create mode 100644 MultiViewXIBNav/MultiViewXIBNav/SecondViewController.m create mode 100644 MultiViewXIBNav/MultiViewXIBNav/SecondViewController.xib create mode 100644 MultiViewXIBNav/MultiViewXIBNav/en.lproj/InfoPlist.strings create mode 100644 MultiViewXIBNav/MultiViewXIBNav/main.m create mode 100644 MultiViewXIBTabBar/FirstViewController.h create mode 100644 MultiViewXIBTabBar/FirstViewController.m create mode 100644 MultiViewXIBTabBar/FirstViewController.xib create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/project.pbxproj create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/project.xcworkspace/xcuserdata/mo.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/xcuserdata/mo.xcuserdatad/xcschemes/MultiViewXIBTabBar.xcscheme create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/xcuserdata/mo.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/AppDelegate.h create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/AppDelegate.m create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/Default-568h@2x.png create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/Default.png create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/Default@2x.png create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/MultiViewXIBTabBar-Info.plist create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/MultiViewXIBTabBar-Prefix.pch create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/SecondViewController.h create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/SecondViewController.m create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/SecondViewController.xib create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/ThirdViewController.h create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/ThirdViewController.m create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/ThirdViewController.xib create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/en.lproj/InfoPlist.strings create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/first.png create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/first@2x.png create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/main.m create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/second.png create mode 100644 MultiViewXIBTabBar/MultiViewXIBTabBar/second@2x.png diff --git a/AlertActionSheets/AlertActionSheets.xcodeproj/project.pbxproj b/AlertActionSheets/AlertActionSheets.xcodeproj/project.pbxproj new file mode 100644 index 0000000..dc70808 --- /dev/null +++ b/AlertActionSheets/AlertActionSheets.xcodeproj/project.pbxproj @@ -0,0 +1,305 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + CDE0C252174C4707009ED558 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDE0C251174C4707009ED558 /* UIKit.framework */; }; + CDE0C254174C4707009ED558 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDE0C253174C4707009ED558 /* Foundation.framework */; }; + CDE0C256174C4707009ED558 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDE0C255174C4707009ED558 /* CoreGraphics.framework */; }; + CDE0C25C174C4707009ED558 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C25A174C4707009ED558 /* InfoPlist.strings */; }; + CDE0C25E174C4707009ED558 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = CDE0C25D174C4707009ED558 /* main.m */; }; + CDE0C262174C4707009ED558 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = CDE0C261174C4707009ED558 /* AppDelegate.m */; }; + CDE0C264174C4707009ED558 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C263174C4707009ED558 /* Default.png */; }; + CDE0C266174C4707009ED558 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C265174C4707009ED558 /* Default@2x.png */; }; + CDE0C268174C4707009ED558 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C267174C4707009ED558 /* Default-568h@2x.png */; }; + CDE0C26B174C4707009ED558 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CDE0C26A174C4707009ED558 /* ViewController.m */; }; + CDE0C26E174C4707009ED558 /* ViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C26C174C4707009ED558 /* ViewController.xib */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + CDE0C24E174C4707009ED558 /* AlertActionSheets.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AlertActionSheets.app; sourceTree = BUILT_PRODUCTS_DIR; }; + CDE0C251174C4707009ED558 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + CDE0C253174C4707009ED558 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + CDE0C255174C4707009ED558 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + CDE0C259174C4707009ED558 /* AlertActionSheets-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "AlertActionSheets-Info.plist"; sourceTree = ""; }; + CDE0C25B174C4707009ED558 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + CDE0C25D174C4707009ED558 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + CDE0C25F174C4707009ED558 /* AlertActionSheets-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "AlertActionSheets-Prefix.pch"; sourceTree = ""; }; + CDE0C260174C4707009ED558 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + CDE0C261174C4707009ED558 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + CDE0C263174C4707009ED558 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; + CDE0C265174C4707009ED558 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; + CDE0C267174C4707009ED558 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; + CDE0C269174C4707009ED558 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; + CDE0C26A174C4707009ED558 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; + CDE0C26D174C4707009ED558 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/ViewController.xib; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + CDE0C24B174C4707009ED558 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + CDE0C252174C4707009ED558 /* UIKit.framework in Frameworks */, + CDE0C254174C4707009ED558 /* Foundation.framework in Frameworks */, + CDE0C256174C4707009ED558 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + CDE0C245174C4707009ED558 = { + isa = PBXGroup; + children = ( + CDE0C257174C4707009ED558 /* AlertActionSheets */, + CDE0C250174C4707009ED558 /* Frameworks */, + CDE0C24F174C4707009ED558 /* Products */, + ); + sourceTree = ""; + }; + CDE0C24F174C4707009ED558 /* Products */ = { + isa = PBXGroup; + children = ( + CDE0C24E174C4707009ED558 /* AlertActionSheets.app */, + ); + name = Products; + sourceTree = ""; + }; + CDE0C250174C4707009ED558 /* Frameworks */ = { + isa = PBXGroup; + children = ( + CDE0C251174C4707009ED558 /* UIKit.framework */, + CDE0C253174C4707009ED558 /* Foundation.framework */, + CDE0C255174C4707009ED558 /* CoreGraphics.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + CDE0C257174C4707009ED558 /* AlertActionSheets */ = { + isa = PBXGroup; + children = ( + CDE0C260174C4707009ED558 /* AppDelegate.h */, + CDE0C261174C4707009ED558 /* AppDelegate.m */, + CDE0C269174C4707009ED558 /* ViewController.h */, + CDE0C26A174C4707009ED558 /* ViewController.m */, + CDE0C26C174C4707009ED558 /* ViewController.xib */, + CDE0C258174C4707009ED558 /* Supporting Files */, + ); + path = AlertActionSheets; + sourceTree = ""; + }; + CDE0C258174C4707009ED558 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + CDE0C259174C4707009ED558 /* AlertActionSheets-Info.plist */, + CDE0C25A174C4707009ED558 /* InfoPlist.strings */, + CDE0C25D174C4707009ED558 /* main.m */, + CDE0C25F174C4707009ED558 /* AlertActionSheets-Prefix.pch */, + CDE0C263174C4707009ED558 /* Default.png */, + CDE0C265174C4707009ED558 /* Default@2x.png */, + CDE0C267174C4707009ED558 /* Default-568h@2x.png */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + CDE0C24D174C4707009ED558 /* AlertActionSheets */ = { + isa = PBXNativeTarget; + buildConfigurationList = CDE0C271174C4707009ED558 /* Build configuration list for PBXNativeTarget "AlertActionSheets" */; + buildPhases = ( + CDE0C24A174C4707009ED558 /* Sources */, + CDE0C24B174C4707009ED558 /* Frameworks */, + CDE0C24C174C4707009ED558 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = AlertActionSheets; + productName = AlertActionSheets; + productReference = CDE0C24E174C4707009ED558 /* AlertActionSheets.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + CDE0C246174C4707009ED558 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "mo khan"; + }; + buildConfigurationList = CDE0C249174C4707009ED558 /* Build configuration list for PBXProject "AlertActionSheets" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = CDE0C245174C4707009ED558; + productRefGroup = CDE0C24F174C4707009ED558 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + CDE0C24D174C4707009ED558 /* AlertActionSheets */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + CDE0C24C174C4707009ED558 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CDE0C25C174C4707009ED558 /* InfoPlist.strings in Resources */, + CDE0C264174C4707009ED558 /* Default.png in Resources */, + CDE0C266174C4707009ED558 /* Default@2x.png in Resources */, + CDE0C268174C4707009ED558 /* Default-568h@2x.png in Resources */, + CDE0C26E174C4707009ED558 /* ViewController.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + CDE0C24A174C4707009ED558 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CDE0C25E174C4707009ED558 /* main.m in Sources */, + CDE0C262174C4707009ED558 /* AppDelegate.m in Sources */, + CDE0C26B174C4707009ED558 /* ViewController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + CDE0C25A174C4707009ED558 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + CDE0C25B174C4707009ED558 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + CDE0C26C174C4707009ED558 /* ViewController.xib */ = { + isa = PBXVariantGroup; + children = ( + CDE0C26D174C4707009ED558 /* en */, + ); + name = ViewController.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + CDE0C26F174C4707009ED558 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.1; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + CDE0C270174C4707009ED558 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.1; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + CDE0C272174C4707009ED558 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "AlertActionSheets/AlertActionSheets-Prefix.pch"; + INFOPLIST_FILE = "AlertActionSheets/AlertActionSheets-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + CDE0C273174C4707009ED558 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "AlertActionSheets/AlertActionSheets-Prefix.pch"; + INFOPLIST_FILE = "AlertActionSheets/AlertActionSheets-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + CDE0C249174C4707009ED558 /* Build configuration list for PBXProject "AlertActionSheets" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CDE0C26F174C4707009ED558 /* Debug */, + CDE0C270174C4707009ED558 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CDE0C271174C4707009ED558 /* Build configuration list for PBXNativeTarget "AlertActionSheets" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CDE0C272174C4707009ED558 /* Debug */, + CDE0C273174C4707009ED558 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = CDE0C246174C4707009ED558 /* Project object */; +} diff --git a/AlertActionSheets/AlertActionSheets/AlertActionSheets-Info.plist b/AlertActionSheets/AlertActionSheets/AlertActionSheets-Info.plist new file mode 100644 index 0000000..72d55a8 --- /dev/null +++ b/AlertActionSheets/AlertActionSheets/AlertActionSheets-Info.plist @@ -0,0 +1,38 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + mokhan.ca.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/AlertActionSheets/AlertActionSheets/AlertActionSheets-Prefix.pch b/AlertActionSheets/AlertActionSheets/AlertActionSheets-Prefix.pch new file mode 100644 index 0000000..7e1ef06 --- /dev/null +++ b/AlertActionSheets/AlertActionSheets/AlertActionSheets-Prefix.pch @@ -0,0 +1,14 @@ +// +// Prefix header for all source files of the 'AlertActionSheets' target in the 'AlertActionSheets' project +// + +#import + +#ifndef __IPHONE_4_0 +#warning "This project uses features only available in iOS SDK 4.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/AlertActionSheets/AlertActionSheets/AppDelegate.h b/AlertActionSheets/AlertActionSheets/AppDelegate.h new file mode 100644 index 0000000..3d8ecf9 --- /dev/null +++ b/AlertActionSheets/AlertActionSheets/AppDelegate.h @@ -0,0 +1,19 @@ +// +// AppDelegate.h +// AlertActionSheets +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import + +@class ViewController; + +@interface AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@property (strong, nonatomic) ViewController *viewController; + +@end diff --git a/AlertActionSheets/AlertActionSheets/AppDelegate.m b/AlertActionSheets/AlertActionSheets/AppDelegate.m new file mode 100644 index 0000000..a164def --- /dev/null +++ b/AlertActionSheets/AlertActionSheets/AppDelegate.m @@ -0,0 +1,52 @@ +// +// AppDelegate.m +// AlertActionSheets +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import "AppDelegate.h" + +#import "ViewController.h" + +@implementation AppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; + // Override point for customization after application launch. + self.viewController = [[ViewController alloc] initWithNibName:@"ViewController" bundle:nil]; + self.window.rootViewController = self.viewController; + [self.window makeKeyAndVisible]; + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application +{ + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application +{ + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application +{ + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. +} + +- (void)applicationDidBecomeActive:(UIApplication *)application +{ + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. +} + +- (void)applicationWillTerminate:(UIApplication *)application +{ + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + +@end diff --git a/AlertActionSheets/AlertActionSheets/Default-568h@2x.png b/AlertActionSheets/AlertActionSheets/Default-568h@2x.png new file mode 100644 index 0000000..0891b7a Binary files /dev/null and b/AlertActionSheets/AlertActionSheets/Default-568h@2x.png differ diff --git a/AlertActionSheets/AlertActionSheets/Default.png b/AlertActionSheets/AlertActionSheets/Default.png new file mode 100644 index 0000000..4c8ca6f Binary files /dev/null and b/AlertActionSheets/AlertActionSheets/Default.png differ diff --git a/AlertActionSheets/AlertActionSheets/Default@2x.png b/AlertActionSheets/AlertActionSheets/Default@2x.png new file mode 100644 index 0000000..35b84cf Binary files /dev/null and b/AlertActionSheets/AlertActionSheets/Default@2x.png differ diff --git a/AlertActionSheets/AlertActionSheets/ViewController.h b/AlertActionSheets/AlertActionSheets/ViewController.h new file mode 100644 index 0000000..ca02840 --- /dev/null +++ b/AlertActionSheets/AlertActionSheets/ViewController.h @@ -0,0 +1,13 @@ +// +// ViewController.h +// AlertActionSheets +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import + +@interface ViewController : UIViewController + +@end diff --git a/AlertActionSheets/AlertActionSheets/ViewController.m b/AlertActionSheets/AlertActionSheets/ViewController.m new file mode 100644 index 0000000..e4485d6 --- /dev/null +++ b/AlertActionSheets/AlertActionSheets/ViewController.m @@ -0,0 +1,29 @@ +// +// ViewController.m +// AlertActionSheets +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import "ViewController.h" + +@interface ViewController () + +@end + +@implementation ViewController + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view, typically from a nib. +} + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +@end diff --git a/AlertActionSheets/AlertActionSheets/en.lproj/InfoPlist.strings b/AlertActionSheets/AlertActionSheets/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/AlertActionSheets/AlertActionSheets/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/AlertActionSheets/AlertActionSheets/en.lproj/ViewController.xib b/AlertActionSheets/AlertActionSheets/en.lproj/ViewController.xib new file mode 100644 index 0000000..18825b5 --- /dev/null +++ b/AlertActionSheets/AlertActionSheets/en.lproj/ViewController.xib @@ -0,0 +1,138 @@ + + + + 1536 + 12A269 + 2835 + 1187 + 624.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 1919 + + + IBProxyObject + IBUIView + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + {{0, 20}, {320, 548}} + + + + + 3 + MC43NQA + + 2 + + + NO + + + IBUIScreenMetrics + + YES + + + + + + {320, 568} + {568, 320} + + + IBCocoaTouchFramework + Retina 4 Full Screen + 2 + + IBCocoaTouchFramework + + + + + + + view + + + + 7 + + + + + + 0 + + + + + + -1 + + + File's Owner + + + -2 + + + + + 6 + + + + + + + ViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + 7 + + + + + ViewController + UIViewController + + IBProjectSource + ./Classes/ViewController.h + + + + + 0 + IBCocoaTouchFramework + YES + 3 + YES + 1919 + + diff --git a/AlertActionSheets/AlertActionSheets/main.m b/AlertActionSheets/AlertActionSheets/main.m new file mode 100644 index 0000000..d04b79d --- /dev/null +++ b/AlertActionSheets/AlertActionSheets/main.m @@ -0,0 +1,18 @@ +// +// main.m +// AlertActionSheets +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import + +#import "AppDelegate.h" + +int main(int argc, char *argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +} diff --git a/Controls/Controls.xcodeproj/project.pbxproj b/Controls/Controls.xcodeproj/project.pbxproj new file mode 100644 index 0000000..3863455 --- /dev/null +++ b/Controls/Controls.xcodeproj/project.pbxproj @@ -0,0 +1,305 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + CDD4CA6B174321A70096B316 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDD4CA6A174321A70096B316 /* UIKit.framework */; }; + CDD4CA6D174321A70096B316 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDD4CA6C174321A70096B316 /* Foundation.framework */; }; + CDD4CA6F174321A70096B316 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDD4CA6E174321A70096B316 /* CoreGraphics.framework */; }; + CDD4CA75174321A70096B316 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = CDD4CA73174321A70096B316 /* InfoPlist.strings */; }; + CDD4CA77174321A70096B316 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = CDD4CA76174321A70096B316 /* main.m */; }; + CDD4CA7B174321A70096B316 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = CDD4CA7A174321A70096B316 /* AppDelegate.m */; }; + CDD4CA7D174321A70096B316 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = CDD4CA7C174321A70096B316 /* Default.png */; }; + CDD4CA7F174321A70096B316 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = CDD4CA7E174321A70096B316 /* Default@2x.png */; }; + CDD4CA81174321A70096B316 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = CDD4CA80174321A70096B316 /* Default-568h@2x.png */; }; + CDD4CA84174321A70096B316 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CDD4CA83174321A70096B316 /* ViewController.m */; }; + CDD4CA87174321A70096B316 /* ViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = CDD4CA85174321A70096B316 /* ViewController.xib */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + CDD4CA67174321A70096B316 /* Controls.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Controls.app; sourceTree = BUILT_PRODUCTS_DIR; }; + CDD4CA6A174321A70096B316 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + CDD4CA6C174321A70096B316 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + CDD4CA6E174321A70096B316 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + CDD4CA72174321A70096B316 /* Controls-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Controls-Info.plist"; sourceTree = ""; }; + CDD4CA74174321A70096B316 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + CDD4CA76174321A70096B316 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + CDD4CA78174321A70096B316 /* Controls-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Controls-Prefix.pch"; sourceTree = ""; }; + CDD4CA79174321A70096B316 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + CDD4CA7A174321A70096B316 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + CDD4CA7C174321A70096B316 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; + CDD4CA7E174321A70096B316 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; + CDD4CA80174321A70096B316 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; + CDD4CA82174321A70096B316 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; + CDD4CA83174321A70096B316 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; + CDD4CA86174321A70096B316 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/ViewController.xib; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + CDD4CA64174321A70096B316 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + CDD4CA6B174321A70096B316 /* UIKit.framework in Frameworks */, + CDD4CA6D174321A70096B316 /* Foundation.framework in Frameworks */, + CDD4CA6F174321A70096B316 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + CDD4CA5E174321A70096B316 = { + isa = PBXGroup; + children = ( + CDD4CA70174321A70096B316 /* Controls */, + CDD4CA69174321A70096B316 /* Frameworks */, + CDD4CA68174321A70096B316 /* Products */, + ); + sourceTree = ""; + }; + CDD4CA68174321A70096B316 /* Products */ = { + isa = PBXGroup; + children = ( + CDD4CA67174321A70096B316 /* Controls.app */, + ); + name = Products; + sourceTree = ""; + }; + CDD4CA69174321A70096B316 /* Frameworks */ = { + isa = PBXGroup; + children = ( + CDD4CA6A174321A70096B316 /* UIKit.framework */, + CDD4CA6C174321A70096B316 /* Foundation.framework */, + CDD4CA6E174321A70096B316 /* CoreGraphics.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + CDD4CA70174321A70096B316 /* Controls */ = { + isa = PBXGroup; + children = ( + CDD4CA79174321A70096B316 /* AppDelegate.h */, + CDD4CA7A174321A70096B316 /* AppDelegate.m */, + CDD4CA82174321A70096B316 /* ViewController.h */, + CDD4CA83174321A70096B316 /* ViewController.m */, + CDD4CA85174321A70096B316 /* ViewController.xib */, + CDD4CA71174321A70096B316 /* Supporting Files */, + ); + path = Controls; + sourceTree = ""; + }; + CDD4CA71174321A70096B316 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + CDD4CA72174321A70096B316 /* Controls-Info.plist */, + CDD4CA73174321A70096B316 /* InfoPlist.strings */, + CDD4CA76174321A70096B316 /* main.m */, + CDD4CA78174321A70096B316 /* Controls-Prefix.pch */, + CDD4CA7C174321A70096B316 /* Default.png */, + CDD4CA7E174321A70096B316 /* Default@2x.png */, + CDD4CA80174321A70096B316 /* Default-568h@2x.png */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + CDD4CA66174321A70096B316 /* Controls */ = { + isa = PBXNativeTarget; + buildConfigurationList = CDD4CA8A174321A70096B316 /* Build configuration list for PBXNativeTarget "Controls" */; + buildPhases = ( + CDD4CA63174321A70096B316 /* Sources */, + CDD4CA64174321A70096B316 /* Frameworks */, + CDD4CA65174321A70096B316 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Controls; + productName = Controls; + productReference = CDD4CA67174321A70096B316 /* Controls.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + CDD4CA5F174321A70096B316 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "mo khan"; + }; + buildConfigurationList = CDD4CA62174321A70096B316 /* Build configuration list for PBXProject "Controls" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = CDD4CA5E174321A70096B316; + productRefGroup = CDD4CA68174321A70096B316 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + CDD4CA66174321A70096B316 /* Controls */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + CDD4CA65174321A70096B316 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CDD4CA75174321A70096B316 /* InfoPlist.strings in Resources */, + CDD4CA7D174321A70096B316 /* Default.png in Resources */, + CDD4CA7F174321A70096B316 /* Default@2x.png in Resources */, + CDD4CA81174321A70096B316 /* Default-568h@2x.png in Resources */, + CDD4CA87174321A70096B316 /* ViewController.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + CDD4CA63174321A70096B316 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CDD4CA77174321A70096B316 /* main.m in Sources */, + CDD4CA7B174321A70096B316 /* AppDelegate.m in Sources */, + CDD4CA84174321A70096B316 /* ViewController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + CDD4CA73174321A70096B316 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + CDD4CA74174321A70096B316 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + CDD4CA85174321A70096B316 /* ViewController.xib */ = { + isa = PBXVariantGroup; + children = ( + CDD4CA86174321A70096B316 /* en */, + ); + name = ViewController.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + CDD4CA88174321A70096B316 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.1; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + CDD4CA89174321A70096B316 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.1; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + CDD4CA8B174321A70096B316 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Controls/Controls-Prefix.pch"; + INFOPLIST_FILE = "Controls/Controls-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + CDD4CA8C174321A70096B316 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Controls/Controls-Prefix.pch"; + INFOPLIST_FILE = "Controls/Controls-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + CDD4CA62174321A70096B316 /* Build configuration list for PBXProject "Controls" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CDD4CA88174321A70096B316 /* Debug */, + CDD4CA89174321A70096B316 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CDD4CA8A174321A70096B316 /* Build configuration list for PBXNativeTarget "Controls" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CDD4CA8B174321A70096B316 /* Debug */, + CDD4CA8C174321A70096B316 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = CDD4CA5F174321A70096B316 /* Project object */; +} diff --git a/Controls/Controls/AppDelegate.h b/Controls/Controls/AppDelegate.h new file mode 100644 index 0000000..cd411ee --- /dev/null +++ b/Controls/Controls/AppDelegate.h @@ -0,0 +1,19 @@ +// +// AppDelegate.h +// Controls +// +// Created by mo khan on 2013-05-14. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import + +@class ViewController; + +@interface AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@property (strong, nonatomic) ViewController *viewController; + +@end diff --git a/Controls/Controls/AppDelegate.m b/Controls/Controls/AppDelegate.m new file mode 100644 index 0000000..413d2df --- /dev/null +++ b/Controls/Controls/AppDelegate.m @@ -0,0 +1,52 @@ +// +// AppDelegate.m +// Controls +// +// Created by mo khan on 2013-05-14. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import "AppDelegate.h" + +#import "ViewController.h" + +@implementation AppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; + // Override point for customization after application launch. + self.viewController = [[ViewController alloc] initWithNibName:@"ViewController" bundle:nil]; + self.window.rootViewController = self.viewController; + [self.window makeKeyAndVisible]; + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application +{ + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application +{ + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application +{ + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. +} + +- (void)applicationDidBecomeActive:(UIApplication *)application +{ + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. +} + +- (void)applicationWillTerminate:(UIApplication *)application +{ + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + +@end diff --git a/Controls/Controls/Controls-Info.plist b/Controls/Controls/Controls-Info.plist new file mode 100644 index 0000000..72d55a8 --- /dev/null +++ b/Controls/Controls/Controls-Info.plist @@ -0,0 +1,38 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + mokhan.ca.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Controls/Controls/Controls-Prefix.pch b/Controls/Controls/Controls-Prefix.pch new file mode 100644 index 0000000..dd94ed4 --- /dev/null +++ b/Controls/Controls/Controls-Prefix.pch @@ -0,0 +1,14 @@ +// +// Prefix header for all source files of the 'Controls' target in the 'Controls' project +// + +#import + +#ifndef __IPHONE_4_0 +#warning "This project uses features only available in iOS SDK 4.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/Controls/Controls/Default-568h@2x.png b/Controls/Controls/Default-568h@2x.png new file mode 100644 index 0000000..0891b7a Binary files /dev/null and b/Controls/Controls/Default-568h@2x.png differ diff --git a/Controls/Controls/Default.png b/Controls/Controls/Default.png new file mode 100644 index 0000000..4c8ca6f Binary files /dev/null and b/Controls/Controls/Default.png differ diff --git a/Controls/Controls/Default@2x.png b/Controls/Controls/Default@2x.png new file mode 100644 index 0000000..35b84cf Binary files /dev/null and b/Controls/Controls/Default@2x.png differ diff --git a/Controls/Controls/ViewController.h b/Controls/Controls/ViewController.h new file mode 100644 index 0000000..06aa70b --- /dev/null +++ b/Controls/Controls/ViewController.h @@ -0,0 +1,13 @@ +// +// ViewController.h +// Controls +// +// Created by mo khan on 2013-05-14. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import + +@interface ViewController : UIViewController + +@end diff --git a/Controls/Controls/ViewController.m b/Controls/Controls/ViewController.m new file mode 100644 index 0000000..b1034f0 --- /dev/null +++ b/Controls/Controls/ViewController.m @@ -0,0 +1,29 @@ +// +// ViewController.m +// Controls +// +// Created by mo khan on 2013-05-14. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import "ViewController.h" + +@interface ViewController () + +@end + +@implementation ViewController + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view, typically from a nib. +} + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +@end diff --git a/Controls/Controls/en.lproj/InfoPlist.strings b/Controls/Controls/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Controls/Controls/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Controls/Controls/en.lproj/ViewController.xib b/Controls/Controls/en.lproj/ViewController.xib new file mode 100644 index 0000000..18825b5 --- /dev/null +++ b/Controls/Controls/en.lproj/ViewController.xib @@ -0,0 +1,138 @@ + + + + 1536 + 12A269 + 2835 + 1187 + 624.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 1919 + + + IBProxyObject + IBUIView + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + {{0, 20}, {320, 548}} + + + + + 3 + MC43NQA + + 2 + + + NO + + + IBUIScreenMetrics + + YES + + + + + + {320, 568} + {568, 320} + + + IBCocoaTouchFramework + Retina 4 Full Screen + 2 + + IBCocoaTouchFramework + + + + + + + view + + + + 7 + + + + + + 0 + + + + + + -1 + + + File's Owner + + + -2 + + + + + 6 + + + + + + + ViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + 7 + + + + + ViewController + UIViewController + + IBProjectSource + ./Classes/ViewController.h + + + + + 0 + IBCocoaTouchFramework + YES + 3 + YES + 1919 + + diff --git a/Controls/Controls/main.m b/Controls/Controls/main.m new file mode 100644 index 0000000..7dee76d --- /dev/null +++ b/Controls/Controls/main.m @@ -0,0 +1,18 @@ +// +// main.m +// Controls +// +// Created by mo khan on 2013-05-14. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import + +#import "AppDelegate.h" + +int main(int argc, char *argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +} diff --git a/MultiViewXIBNav/FirstViewController.h b/MultiViewXIBNav/FirstViewController.h new file mode 100644 index 0000000..9524f6a --- /dev/null +++ b/MultiViewXIBNav/FirstViewController.h @@ -0,0 +1,13 @@ +// +// FirstViewController.h +// MultiViewXIBNav +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import + +@interface FirstViewController : UIViewController + +@end diff --git a/MultiViewXIBNav/FirstViewController.m b/MultiViewXIBNav/FirstViewController.m new file mode 100644 index 0000000..db62c08 --- /dev/null +++ b/MultiViewXIBNav/FirstViewController.m @@ -0,0 +1,38 @@ +// +// FirstViewController.m +// MultiViewXIBNav +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import "FirstViewController.h" + +@interface FirstViewController () + +@end + +@implementation FirstViewController + +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil +{ + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; + if (self) { + // Custom initialization + } + return self; +} + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view from its nib. +} + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +@end diff --git a/MultiViewXIBNav/FirstViewController.xib b/MultiViewXIBNav/FirstViewController.xib new file mode 100644 index 0000000..fdb3f1e --- /dev/null +++ b/MultiViewXIBNav/FirstViewController.xib @@ -0,0 +1,137 @@ + + + + 1536 + 12A269 + 2835 + 1187 + 624.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 1919 + + + IBProxyObject + IBUIView + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + {{0, 20}, {320, 548}} + + + + + 3 + MQA + + 2 + + + + + IBUIScreenMetrics + + YES + + + + + + {320, 568} + {568, 320} + + + IBCocoaTouchFramework + Retina 4 Full Screen + 2 + + IBCocoaTouchFramework + + + + + + + view + + + + 3 + + + + + + 0 + + + + + + 1 + + + + + -1 + + + File's Owner + + + -2 + + + + + + + FirstViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + 3 + + + + + FirstViewController + UIViewController + + IBProjectSource + ./Classes/FirstViewController.h + + + + + 0 + IBCocoaTouchFramework + YES + 3 + YES + 1919 + + diff --git a/MultiViewXIBNav/MultiViewXIBNav.xcodeproj/project.pbxproj b/MultiViewXIBNav/MultiViewXIBNav.xcodeproj/project.pbxproj new file mode 100644 index 0000000..e0f9cea --- /dev/null +++ b/MultiViewXIBNav/MultiViewXIBNav.xcodeproj/project.pbxproj @@ -0,0 +1,287 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + CDE0C281174C4C0F009ED558 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDE0C280174C4C0F009ED558 /* UIKit.framework */; }; + CDE0C283174C4C0F009ED558 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDE0C282174C4C0F009ED558 /* Foundation.framework */; }; + CDE0C285174C4C0F009ED558 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDE0C284174C4C0F009ED558 /* CoreGraphics.framework */; }; + CDE0C28B174C4C0F009ED558 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C289174C4C0F009ED558 /* InfoPlist.strings */; }; + CDE0C28D174C4C0F009ED558 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = CDE0C28C174C4C0F009ED558 /* main.m */; }; + CDE0C291174C4C0F009ED558 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = CDE0C290174C4C0F009ED558 /* AppDelegate.m */; }; + CDE0C293174C4C0F009ED558 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C292174C4C0F009ED558 /* Default.png */; }; + CDE0C295174C4C0F009ED558 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C294174C4C0F009ED558 /* Default@2x.png */; }; + CDE0C297174C4C0F009ED558 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C296174C4C0F009ED558 /* Default-568h@2x.png */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + CDE0C27D174C4C0F009ED558 /* MultiViewXIBNav.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MultiViewXIBNav.app; sourceTree = BUILT_PRODUCTS_DIR; }; + CDE0C280174C4C0F009ED558 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + CDE0C282174C4C0F009ED558 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + CDE0C284174C4C0F009ED558 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + CDE0C288174C4C0F009ED558 /* MultiViewXIBNav-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MultiViewXIBNav-Info.plist"; sourceTree = ""; }; + CDE0C28A174C4C0F009ED558 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + CDE0C28C174C4C0F009ED558 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + CDE0C28E174C4C0F009ED558 /* MultiViewXIBNav-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "MultiViewXIBNav-Prefix.pch"; sourceTree = ""; }; + CDE0C28F174C4C0F009ED558 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + CDE0C290174C4C0F009ED558 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + CDE0C292174C4C0F009ED558 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; + CDE0C294174C4C0F009ED558 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; + CDE0C296174C4C0F009ED558 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + CDE0C27A174C4C0F009ED558 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + CDE0C281174C4C0F009ED558 /* UIKit.framework in Frameworks */, + CDE0C283174C4C0F009ED558 /* Foundation.framework in Frameworks */, + CDE0C285174C4C0F009ED558 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + CDE0C274174C4C0E009ED558 = { + isa = PBXGroup; + children = ( + CDE0C286174C4C0F009ED558 /* MultiViewXIBNav */, + CDE0C27F174C4C0F009ED558 /* Frameworks */, + CDE0C27E174C4C0F009ED558 /* Products */, + ); + sourceTree = ""; + }; + CDE0C27E174C4C0F009ED558 /* Products */ = { + isa = PBXGroup; + children = ( + CDE0C27D174C4C0F009ED558 /* MultiViewXIBNav.app */, + ); + name = Products; + sourceTree = ""; + }; + CDE0C27F174C4C0F009ED558 /* Frameworks */ = { + isa = PBXGroup; + children = ( + CDE0C280174C4C0F009ED558 /* UIKit.framework */, + CDE0C282174C4C0F009ED558 /* Foundation.framework */, + CDE0C284174C4C0F009ED558 /* CoreGraphics.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + CDE0C286174C4C0F009ED558 /* MultiViewXIBNav */ = { + isa = PBXGroup; + children = ( + CDE0C28F174C4C0F009ED558 /* AppDelegate.h */, + CDE0C290174C4C0F009ED558 /* AppDelegate.m */, + CDE0C287174C4C0F009ED558 /* Supporting Files */, + ); + path = MultiViewXIBNav; + sourceTree = ""; + }; + CDE0C287174C4C0F009ED558 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + CDE0C288174C4C0F009ED558 /* MultiViewXIBNav-Info.plist */, + CDE0C289174C4C0F009ED558 /* InfoPlist.strings */, + CDE0C28C174C4C0F009ED558 /* main.m */, + CDE0C28E174C4C0F009ED558 /* MultiViewXIBNav-Prefix.pch */, + CDE0C292174C4C0F009ED558 /* Default.png */, + CDE0C294174C4C0F009ED558 /* Default@2x.png */, + CDE0C296174C4C0F009ED558 /* Default-568h@2x.png */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + CDE0C27C174C4C0F009ED558 /* MultiViewXIBNav */ = { + isa = PBXNativeTarget; + buildConfigurationList = CDE0C29A174C4C0F009ED558 /* Build configuration list for PBXNativeTarget "MultiViewXIBNav" */; + buildPhases = ( + CDE0C279174C4C0F009ED558 /* Sources */, + CDE0C27A174C4C0F009ED558 /* Frameworks */, + CDE0C27B174C4C0F009ED558 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = MultiViewXIBNav; + productName = MultiViewXIBNav; + productReference = CDE0C27D174C4C0F009ED558 /* MultiViewXIBNav.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + CDE0C275174C4C0E009ED558 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "mo khan"; + }; + buildConfigurationList = CDE0C278174C4C0E009ED558 /* Build configuration list for PBXProject "MultiViewXIBNav" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = CDE0C274174C4C0E009ED558; + productRefGroup = CDE0C27E174C4C0F009ED558 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + CDE0C27C174C4C0F009ED558 /* MultiViewXIBNav */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + CDE0C27B174C4C0F009ED558 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CDE0C28B174C4C0F009ED558 /* InfoPlist.strings in Resources */, + CDE0C293174C4C0F009ED558 /* Default.png in Resources */, + CDE0C295174C4C0F009ED558 /* Default@2x.png in Resources */, + CDE0C297174C4C0F009ED558 /* Default-568h@2x.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + CDE0C279174C4C0F009ED558 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CDE0C28D174C4C0F009ED558 /* main.m in Sources */, + CDE0C291174C4C0F009ED558 /* AppDelegate.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + CDE0C289174C4C0F009ED558 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + CDE0C28A174C4C0F009ED558 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + CDE0C298174C4C0F009ED558 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.1; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + CDE0C299174C4C0F009ED558 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.1; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + CDE0C29B174C4C0F009ED558 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "MultiViewXIBNav/MultiViewXIBNav-Prefix.pch"; + INFOPLIST_FILE = "MultiViewXIBNav/MultiViewXIBNav-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + CDE0C29C174C4C0F009ED558 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "MultiViewXIBNav/MultiViewXIBNav-Prefix.pch"; + INFOPLIST_FILE = "MultiViewXIBNav/MultiViewXIBNav-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + CDE0C278174C4C0E009ED558 /* Build configuration list for PBXProject "MultiViewXIBNav" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CDE0C298174C4C0F009ED558 /* Debug */, + CDE0C299174C4C0F009ED558 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CDE0C29A174C4C0F009ED558 /* Build configuration list for PBXNativeTarget "MultiViewXIBNav" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CDE0C29B174C4C0F009ED558 /* Debug */, + CDE0C29C174C4C0F009ED558 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = CDE0C275174C4C0E009ED558 /* Project object */; +} diff --git a/MultiViewXIBNav/MultiViewXIBNav/AppDelegate.h b/MultiViewXIBNav/MultiViewXIBNav/AppDelegate.h new file mode 100644 index 0000000..4d8c91f --- /dev/null +++ b/MultiViewXIBNav/MultiViewXIBNav/AppDelegate.h @@ -0,0 +1,15 @@ +// +// AppDelegate.h +// MultiViewXIBNav +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import + +@interface AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@end diff --git a/MultiViewXIBNav/MultiViewXIBNav/AppDelegate.m b/MultiViewXIBNav/MultiViewXIBNav/AppDelegate.m new file mode 100644 index 0000000..6cacfff --- /dev/null +++ b/MultiViewXIBNav/MultiViewXIBNav/AppDelegate.m @@ -0,0 +1,49 @@ +// +// AppDelegate.m +// MultiViewXIBNav +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import "AppDelegate.h" + +@implementation AppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; + // Override point for customization after application launch. + self.window.backgroundColor = [UIColor whiteColor]; + [self.window makeKeyAndVisible]; + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application +{ + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application +{ + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application +{ + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. +} + +- (void)applicationDidBecomeActive:(UIApplication *)application +{ + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. +} + +- (void)applicationWillTerminate:(UIApplication *)application +{ + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + +@end diff --git a/MultiViewXIBNav/MultiViewXIBNav/Default-568h@2x.png b/MultiViewXIBNav/MultiViewXIBNav/Default-568h@2x.png new file mode 100644 index 0000000..0891b7a Binary files /dev/null and b/MultiViewXIBNav/MultiViewXIBNav/Default-568h@2x.png differ diff --git a/MultiViewXIBNav/MultiViewXIBNav/Default.png b/MultiViewXIBNav/MultiViewXIBNav/Default.png new file mode 100644 index 0000000..4c8ca6f Binary files /dev/null and b/MultiViewXIBNav/MultiViewXIBNav/Default.png differ diff --git a/MultiViewXIBNav/MultiViewXIBNav/Default@2x.png b/MultiViewXIBNav/MultiViewXIBNav/Default@2x.png new file mode 100644 index 0000000..35b84cf Binary files /dev/null and b/MultiViewXIBNav/MultiViewXIBNav/Default@2x.png differ diff --git a/MultiViewXIBNav/MultiViewXIBNav/MultiViewXIBNav-Info.plist b/MultiViewXIBNav/MultiViewXIBNav/MultiViewXIBNav-Info.plist new file mode 100644 index 0000000..72d55a8 --- /dev/null +++ b/MultiViewXIBNav/MultiViewXIBNav/MultiViewXIBNav-Info.plist @@ -0,0 +1,38 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + mokhan.ca.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/MultiViewXIBNav/MultiViewXIBNav/MultiViewXIBNav-Prefix.pch b/MultiViewXIBNav/MultiViewXIBNav/MultiViewXIBNav-Prefix.pch new file mode 100644 index 0000000..09bcb14 --- /dev/null +++ b/MultiViewXIBNav/MultiViewXIBNav/MultiViewXIBNav-Prefix.pch @@ -0,0 +1,14 @@ +// +// Prefix header for all source files of the 'MultiViewXIBNav' target in the 'MultiViewXIBNav' project +// + +#import + +#ifndef __IPHONE_3_0 +#warning "This project uses features only available in iOS SDK 3.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/MultiViewXIBNav/MultiViewXIBNav/SecondViewController.h b/MultiViewXIBNav/MultiViewXIBNav/SecondViewController.h new file mode 100644 index 0000000..66218e4 --- /dev/null +++ b/MultiViewXIBNav/MultiViewXIBNav/SecondViewController.h @@ -0,0 +1,13 @@ +// +// SecondViewController.h +// MultiViewXIBNav +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import + +@interface SecondViewController : UIViewController + +@end diff --git a/MultiViewXIBNav/MultiViewXIBNav/SecondViewController.m b/MultiViewXIBNav/MultiViewXIBNav/SecondViewController.m new file mode 100644 index 0000000..36c372a --- /dev/null +++ b/MultiViewXIBNav/MultiViewXIBNav/SecondViewController.m @@ -0,0 +1,38 @@ +// +// SecondViewController.m +// MultiViewXIBNav +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import "SecondViewController.h" + +@interface SecondViewController () + +@end + +@implementation SecondViewController + +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil +{ + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; + if (self) { + // Custom initialization + } + return self; +} + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view from its nib. +} + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +@end diff --git a/MultiViewXIBNav/MultiViewXIBNav/SecondViewController.xib b/MultiViewXIBNav/MultiViewXIBNav/SecondViewController.xib new file mode 100644 index 0000000..13b6c5e --- /dev/null +++ b/MultiViewXIBNav/MultiViewXIBNav/SecondViewController.xib @@ -0,0 +1,137 @@ + + + + 1536 + 12A269 + 2835 + 1187 + 624.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 1919 + + + IBProxyObject + IBUIView + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + {{0, 20}, {320, 548}} + + + + + 3 + MQA + + 2 + + + + + IBUIScreenMetrics + + YES + + + + + + {320, 568} + {568, 320} + + + IBCocoaTouchFramework + Retina 4 Full Screen + 2 + + IBCocoaTouchFramework + + + + + + + view + + + + 3 + + + + + + 0 + + + + + + 1 + + + + + -1 + + + File's Owner + + + -2 + + + + + + + SecondViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + 3 + + + + + SecondViewController + UIViewController + + IBProjectSource + ./Classes/SecondViewController.h + + + + + 0 + IBCocoaTouchFramework + YES + 3 + YES + 1919 + + diff --git a/MultiViewXIBNav/MultiViewXIBNav/en.lproj/InfoPlist.strings b/MultiViewXIBNav/MultiViewXIBNav/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/MultiViewXIBNav/MultiViewXIBNav/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/MultiViewXIBNav/MultiViewXIBNav/main.m b/MultiViewXIBNav/MultiViewXIBNav/main.m new file mode 100644 index 0000000..f5cabe7 --- /dev/null +++ b/MultiViewXIBNav/MultiViewXIBNav/main.m @@ -0,0 +1,18 @@ +// +// main.m +// MultiViewXIBNav +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import + +#import "AppDelegate.h" + +int main(int argc, char *argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +} diff --git a/MultiViewXIBTabBar/FirstViewController.h b/MultiViewXIBTabBar/FirstViewController.h new file mode 100644 index 0000000..733b0e5 --- /dev/null +++ b/MultiViewXIBTabBar/FirstViewController.h @@ -0,0 +1,13 @@ +// +// FirstViewController.h +// MultiViewXIBTabBar +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import + +@interface FirstViewController : UIViewController + +@end diff --git a/MultiViewXIBTabBar/FirstViewController.m b/MultiViewXIBTabBar/FirstViewController.m new file mode 100644 index 0000000..2970e97 --- /dev/null +++ b/MultiViewXIBTabBar/FirstViewController.m @@ -0,0 +1,40 @@ +// +// FirstViewController.m +// MultiViewXIBTabBar +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import "FirstViewController.h" + +@interface FirstViewController () + +@end + +@implementation FirstViewController + +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil +{ + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; + if (self) { + // Custom initialization + self.title = @"First"; + self.tabBarItem.image = [UIImage imageNamed:@"first.png"]; + } + return self; +} + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view from its nib. +} + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +@end diff --git a/MultiViewXIBTabBar/FirstViewController.xib b/MultiViewXIBTabBar/FirstViewController.xib new file mode 100644 index 0000000..1f58f9d --- /dev/null +++ b/MultiViewXIBTabBar/FirstViewController.xib @@ -0,0 +1,133 @@ + + + + 1552 + 12D78 + 3084 + 1187.37 + 626.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 2083 + + + IBProxyObject + IBUIView + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + {{0, 20}, {320, 548}} + + + + 1 + MSAwIDAuMDExNzg4NjU2MTQAA + + + + IBUIScreenMetrics + + YES + + + + + + {320, 568} + {568, 320} + + + IBCocoaTouchFramework + Retina 4 Full Screen + 2 + + IBCocoaTouchFramework + + + + + + + view + + + + 3 + + + + + + 0 + + + + + + 1 + + + + + -1 + + + File's Owner + + + -2 + + + + + + + FirstViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + 3 + + + + + FirstViewController + UIViewController + + IBProjectSource + ./Classes/FirstViewController.h + + + + + 0 + IBCocoaTouchFramework + YES + 3 + YES + 2083 + + diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/project.pbxproj b/MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/project.pbxproj new file mode 100644 index 0000000..1c79981 --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/project.pbxproj @@ -0,0 +1,341 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + CDE0C2B4174C5D48009ED558 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDE0C2B3174C5D48009ED558 /* UIKit.framework */; }; + CDE0C2B6174C5D48009ED558 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDE0C2B5174C5D48009ED558 /* Foundation.framework */; }; + CDE0C2B8174C5D48009ED558 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDE0C2B7174C5D48009ED558 /* CoreGraphics.framework */; }; + CDE0C2BE174C5D48009ED558 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C2BC174C5D48009ED558 /* InfoPlist.strings */; }; + CDE0C2C0174C5D48009ED558 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = CDE0C2BF174C5D48009ED558 /* main.m */; }; + CDE0C2C4174C5D48009ED558 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = CDE0C2C3174C5D48009ED558 /* AppDelegate.m */; }; + CDE0C2C6174C5D48009ED558 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C2C5174C5D48009ED558 /* Default.png */; }; + CDE0C2C8174C5D48009ED558 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C2C7174C5D48009ED558 /* Default@2x.png */; }; + CDE0C2CA174C5D48009ED558 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C2C9174C5D48009ED558 /* Default-568h@2x.png */; }; + CDE0C2D3174C5D5F009ED558 /* FirstViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CDE0C2D1174C5D5F009ED558 /* FirstViewController.m */; }; + CDE0C2D4174C5D5F009ED558 /* FirstViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C2D2174C5D5F009ED558 /* FirstViewController.xib */; }; + CDE0C2D8174C5D72009ED558 /* SecondViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CDE0C2D6174C5D72009ED558 /* SecondViewController.m */; }; + CDE0C2D9174C5D72009ED558 /* SecondViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C2D7174C5D72009ED558 /* SecondViewController.xib */; }; + CDE0C2DD174C5D7D009ED558 /* ThirdViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CDE0C2DB174C5D7D009ED558 /* ThirdViewController.m */; }; + CDE0C2DE174C5D7D009ED558 /* ThirdViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C2DC174C5D7D009ED558 /* ThirdViewController.xib */; }; + CDE0C2E4174C6046009ED558 /* first.png in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C2E0174C6046009ED558 /* first.png */; }; + CDE0C2E5174C6046009ED558 /* first@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C2E1174C6046009ED558 /* first@2x.png */; }; + CDE0C2E6174C6046009ED558 /* second.png in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C2E2174C6046009ED558 /* second.png */; }; + CDE0C2E7174C6046009ED558 /* second@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = CDE0C2E3174C6046009ED558 /* second@2x.png */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + CDE0C2B0174C5D48009ED558 /* MultiViewXIBTabBar.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MultiViewXIBTabBar.app; sourceTree = BUILT_PRODUCTS_DIR; }; + CDE0C2B3174C5D48009ED558 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + CDE0C2B5174C5D48009ED558 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + CDE0C2B7174C5D48009ED558 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + CDE0C2BB174C5D48009ED558 /* MultiViewXIBTabBar-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MultiViewXIBTabBar-Info.plist"; sourceTree = ""; }; + CDE0C2BD174C5D48009ED558 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + CDE0C2BF174C5D48009ED558 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + CDE0C2C1174C5D48009ED558 /* MultiViewXIBTabBar-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "MultiViewXIBTabBar-Prefix.pch"; sourceTree = ""; }; + CDE0C2C2174C5D48009ED558 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + CDE0C2C3174C5D48009ED558 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + CDE0C2C5174C5D48009ED558 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; + CDE0C2C7174C5D48009ED558 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; + CDE0C2C9174C5D48009ED558 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; + CDE0C2D0174C5D5F009ED558 /* FirstViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FirstViewController.h; path = ../FirstViewController.h; sourceTree = ""; }; + CDE0C2D1174C5D5F009ED558 /* FirstViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FirstViewController.m; path = ../FirstViewController.m; sourceTree = ""; }; + CDE0C2D2174C5D5F009ED558 /* FirstViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = FirstViewController.xib; path = ../FirstViewController.xib; sourceTree = ""; }; + CDE0C2D5174C5D72009ED558 /* SecondViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SecondViewController.h; sourceTree = ""; }; + CDE0C2D6174C5D72009ED558 /* SecondViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SecondViewController.m; sourceTree = ""; }; + CDE0C2D7174C5D72009ED558 /* SecondViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SecondViewController.xib; sourceTree = ""; }; + CDE0C2DA174C5D7D009ED558 /* ThirdViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThirdViewController.h; sourceTree = ""; }; + CDE0C2DB174C5D7D009ED558 /* ThirdViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ThirdViewController.m; sourceTree = ""; }; + CDE0C2DC174C5D7D009ED558 /* ThirdViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ThirdViewController.xib; sourceTree = ""; }; + CDE0C2E0174C6046009ED558 /* first.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = first.png; sourceTree = ""; }; + CDE0C2E1174C6046009ED558 /* first@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "first@2x.png"; sourceTree = ""; }; + CDE0C2E2174C6046009ED558 /* second.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = second.png; sourceTree = ""; }; + CDE0C2E3174C6046009ED558 /* second@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "second@2x.png"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + CDE0C2AD174C5D48009ED558 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + CDE0C2B4174C5D48009ED558 /* UIKit.framework in Frameworks */, + CDE0C2B6174C5D48009ED558 /* Foundation.framework in Frameworks */, + CDE0C2B8174C5D48009ED558 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + CDE0C2A7174C5D48009ED558 = { + isa = PBXGroup; + children = ( + CDE0C2B9174C5D48009ED558 /* MultiViewXIBTabBar */, + CDE0C2B2174C5D48009ED558 /* Frameworks */, + CDE0C2B1174C5D48009ED558 /* Products */, + ); + sourceTree = ""; + }; + CDE0C2B1174C5D48009ED558 /* Products */ = { + isa = PBXGroup; + children = ( + CDE0C2B0174C5D48009ED558 /* MultiViewXIBTabBar.app */, + ); + name = Products; + sourceTree = ""; + }; + CDE0C2B2174C5D48009ED558 /* Frameworks */ = { + isa = PBXGroup; + children = ( + CDE0C2B3174C5D48009ED558 /* UIKit.framework */, + CDE0C2B5174C5D48009ED558 /* Foundation.framework */, + CDE0C2B7174C5D48009ED558 /* CoreGraphics.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + CDE0C2B9174C5D48009ED558 /* MultiViewXIBTabBar */ = { + isa = PBXGroup; + children = ( + CDE0C2DF174C6017009ED558 /* assets */, + CDE0C2D0174C5D5F009ED558 /* FirstViewController.h */, + CDE0C2D1174C5D5F009ED558 /* FirstViewController.m */, + CDE0C2D2174C5D5F009ED558 /* FirstViewController.xib */, + CDE0C2C2174C5D48009ED558 /* AppDelegate.h */, + CDE0C2C3174C5D48009ED558 /* AppDelegate.m */, + CDE0C2BA174C5D48009ED558 /* Supporting Files */, + CDE0C2D5174C5D72009ED558 /* SecondViewController.h */, + CDE0C2D6174C5D72009ED558 /* SecondViewController.m */, + CDE0C2D7174C5D72009ED558 /* SecondViewController.xib */, + CDE0C2DA174C5D7D009ED558 /* ThirdViewController.h */, + CDE0C2DB174C5D7D009ED558 /* ThirdViewController.m */, + CDE0C2DC174C5D7D009ED558 /* ThirdViewController.xib */, + ); + path = MultiViewXIBTabBar; + sourceTree = ""; + }; + CDE0C2BA174C5D48009ED558 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + CDE0C2BB174C5D48009ED558 /* MultiViewXIBTabBar-Info.plist */, + CDE0C2BC174C5D48009ED558 /* InfoPlist.strings */, + CDE0C2BF174C5D48009ED558 /* main.m */, + CDE0C2C1174C5D48009ED558 /* MultiViewXIBTabBar-Prefix.pch */, + CDE0C2C5174C5D48009ED558 /* Default.png */, + CDE0C2C7174C5D48009ED558 /* Default@2x.png */, + CDE0C2C9174C5D48009ED558 /* Default-568h@2x.png */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + CDE0C2DF174C6017009ED558 /* assets */ = { + isa = PBXGroup; + children = ( + CDE0C2E0174C6046009ED558 /* first.png */, + CDE0C2E1174C6046009ED558 /* first@2x.png */, + CDE0C2E2174C6046009ED558 /* second.png */, + CDE0C2E3174C6046009ED558 /* second@2x.png */, + ); + name = assets; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + CDE0C2AF174C5D48009ED558 /* MultiViewXIBTabBar */ = { + isa = PBXNativeTarget; + buildConfigurationList = CDE0C2CD174C5D48009ED558 /* Build configuration list for PBXNativeTarget "MultiViewXIBTabBar" */; + buildPhases = ( + CDE0C2AC174C5D48009ED558 /* Sources */, + CDE0C2AD174C5D48009ED558 /* Frameworks */, + CDE0C2AE174C5D48009ED558 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = MultiViewXIBTabBar; + productName = MultiViewXIBTabBar; + productReference = CDE0C2B0174C5D48009ED558 /* MultiViewXIBTabBar.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + CDE0C2A8174C5D48009ED558 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "mo khan"; + }; + buildConfigurationList = CDE0C2AB174C5D48009ED558 /* Build configuration list for PBXProject "MultiViewXIBTabBar" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = CDE0C2A7174C5D48009ED558; + productRefGroup = CDE0C2B1174C5D48009ED558 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + CDE0C2AF174C5D48009ED558 /* MultiViewXIBTabBar */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + CDE0C2AE174C5D48009ED558 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CDE0C2BE174C5D48009ED558 /* InfoPlist.strings in Resources */, + CDE0C2C6174C5D48009ED558 /* Default.png in Resources */, + CDE0C2C8174C5D48009ED558 /* Default@2x.png in Resources */, + CDE0C2CA174C5D48009ED558 /* Default-568h@2x.png in Resources */, + CDE0C2D4174C5D5F009ED558 /* FirstViewController.xib in Resources */, + CDE0C2D9174C5D72009ED558 /* SecondViewController.xib in Resources */, + CDE0C2DE174C5D7D009ED558 /* ThirdViewController.xib in Resources */, + CDE0C2E4174C6046009ED558 /* first.png in Resources */, + CDE0C2E5174C6046009ED558 /* first@2x.png in Resources */, + CDE0C2E6174C6046009ED558 /* second.png in Resources */, + CDE0C2E7174C6046009ED558 /* second@2x.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + CDE0C2AC174C5D48009ED558 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CDE0C2C0174C5D48009ED558 /* main.m in Sources */, + CDE0C2C4174C5D48009ED558 /* AppDelegate.m in Sources */, + CDE0C2D3174C5D5F009ED558 /* FirstViewController.m in Sources */, + CDE0C2D8174C5D72009ED558 /* SecondViewController.m in Sources */, + CDE0C2DD174C5D7D009ED558 /* ThirdViewController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + CDE0C2BC174C5D48009ED558 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + CDE0C2BD174C5D48009ED558 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + CDE0C2CB174C5D48009ED558 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.1; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + CDE0C2CC174C5D48009ED558 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 6.1; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + CDE0C2CE174C5D48009ED558 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "MultiViewXIBTabBar/MultiViewXIBTabBar-Prefix.pch"; + INFOPLIST_FILE = "MultiViewXIBTabBar/MultiViewXIBTabBar-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + CDE0C2CF174C5D48009ED558 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "MultiViewXIBTabBar/MultiViewXIBTabBar-Prefix.pch"; + INFOPLIST_FILE = "MultiViewXIBTabBar/MultiViewXIBTabBar-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + CDE0C2AB174C5D48009ED558 /* Build configuration list for PBXProject "MultiViewXIBTabBar" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CDE0C2CB174C5D48009ED558 /* Debug */, + CDE0C2CC174C5D48009ED558 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CDE0C2CD174C5D48009ED558 /* Build configuration list for PBXNativeTarget "MultiViewXIBTabBar" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CDE0C2CE174C5D48009ED558 /* Debug */, + CDE0C2CF174C5D48009ED558 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = CDE0C2A8174C5D48009ED558 /* Project object */; +} diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..6ba64f5 --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/project.xcworkspace/xcuserdata/mo.xcuserdatad/UserInterfaceState.xcuserstate b/MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/project.xcworkspace/xcuserdata/mo.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..f8b4612 Binary files /dev/null and b/MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/project.xcworkspace/xcuserdata/mo.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/xcuserdata/mo.xcuserdatad/xcschemes/MultiViewXIBTabBar.xcscheme b/MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/xcuserdata/mo.xcuserdatad/xcschemes/MultiViewXIBTabBar.xcscheme new file mode 100644 index 0000000..ff8007c --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/xcuserdata/mo.xcuserdatad/xcschemes/MultiViewXIBTabBar.xcscheme @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/xcuserdata/mo.xcuserdatad/xcschemes/xcschememanagement.plist b/MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/xcuserdata/mo.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..d1bd67b --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar.xcodeproj/xcuserdata/mo.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,22 @@ + + + + + SchemeUserState + + MultiViewXIBTabBar.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + CDE0C2AF174C5D48009ED558 + + primary + + + + + diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/AppDelegate.h b/MultiViewXIBTabBar/MultiViewXIBTabBar/AppDelegate.h new file mode 100644 index 0000000..16429a0 --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar/AppDelegate.h @@ -0,0 +1,16 @@ +// +// AppDelegate.h +// MultiViewXIBTabBar +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import + +@interface AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; +@property (strong, nonatomic) UITabBarController * myTabBarController; + +@end diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/AppDelegate.m b/MultiViewXIBTabBar/MultiViewXIBTabBar/AppDelegate.m new file mode 100644 index 0000000..2decc52 --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar/AppDelegate.m @@ -0,0 +1,58 @@ +// +// AppDelegate.m +// MultiViewXIBTabBar +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import "AppDelegate.h" +#import "FirstViewController.h" +#import "SecondViewController.h" +#import"ThirdViewController.h" + +@implementation AppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; + // Override point for customization after application launch. + FirstViewController * first = [[FirstViewController alloc] initWithNibName:@"FirstViewController" bundle:nil]; + FirstViewController * second = [[SecondViewController alloc] initWithNibName:@"SecondViewController" bundle:nil]; + FirstViewController * third = [[ThirdViewController alloc] initWithNibName:@"ThirdViewController" bundle:nil]; + self.myTabBarController = [[UITabBarController alloc] init]; + self.myTabBarController.viewControllers = [[NSArray alloc] initWithObjects:first, second, third, nil]; + self.window.rootViewController = self.myTabBarController; + self.window.backgroundColor = [UIColor whiteColor]; + [self.window makeKeyAndVisible]; + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application +{ + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application +{ + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application +{ + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. +} + +- (void)applicationDidBecomeActive:(UIApplication *)application +{ + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. +} + +- (void)applicationWillTerminate:(UIApplication *)application +{ + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + +@end diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/Default-568h@2x.png b/MultiViewXIBTabBar/MultiViewXIBTabBar/Default-568h@2x.png new file mode 100644 index 0000000..0891b7a Binary files /dev/null and b/MultiViewXIBTabBar/MultiViewXIBTabBar/Default-568h@2x.png differ diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/Default.png b/MultiViewXIBTabBar/MultiViewXIBTabBar/Default.png new file mode 100644 index 0000000..4c8ca6f Binary files /dev/null and b/MultiViewXIBTabBar/MultiViewXIBTabBar/Default.png differ diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/Default@2x.png b/MultiViewXIBTabBar/MultiViewXIBTabBar/Default@2x.png new file mode 100644 index 0000000..35b84cf Binary files /dev/null and b/MultiViewXIBTabBar/MultiViewXIBTabBar/Default@2x.png differ diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/MultiViewXIBTabBar-Info.plist b/MultiViewXIBTabBar/MultiViewXIBTabBar/MultiViewXIBTabBar-Info.plist new file mode 100644 index 0000000..72d55a8 --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar/MultiViewXIBTabBar-Info.plist @@ -0,0 +1,38 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + mokhan.ca.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/MultiViewXIBTabBar-Prefix.pch b/MultiViewXIBTabBar/MultiViewXIBTabBar/MultiViewXIBTabBar-Prefix.pch new file mode 100644 index 0000000..451db19 --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar/MultiViewXIBTabBar-Prefix.pch @@ -0,0 +1,14 @@ +// +// Prefix header for all source files of the 'MultiViewXIBTabBar' target in the 'MultiViewXIBTabBar' project +// + +#import + +#ifndef __IPHONE_3_0 +#warning "This project uses features only available in iOS SDK 3.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/SecondViewController.h b/MultiViewXIBTabBar/MultiViewXIBTabBar/SecondViewController.h new file mode 100644 index 0000000..c356957 --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar/SecondViewController.h @@ -0,0 +1,13 @@ +// +// SecondViewController.h +// MultiViewXIBTabBar +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import + +@interface SecondViewController : UIViewController + +@end diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/SecondViewController.m b/MultiViewXIBTabBar/MultiViewXIBTabBar/SecondViewController.m new file mode 100644 index 0000000..290daa9 --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar/SecondViewController.m @@ -0,0 +1,40 @@ +// +// SecondViewController.m +// MultiViewXIBTabBar +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import "SecondViewController.h" + +@interface SecondViewController () + +@end + +@implementation SecondViewController + +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil +{ + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; + if (self) { + // Custom initialization + self.title = @"Second"; + self.tabBarItem.image = [UIImage imageNamed:@"second.png"]; + } + return self; +} + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view from its nib. +} + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +@end diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/SecondViewController.xib b/MultiViewXIBTabBar/MultiViewXIBTabBar/SecondViewController.xib new file mode 100644 index 0000000..e46dba6 --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar/SecondViewController.xib @@ -0,0 +1,133 @@ + + + + 1552 + 12D78 + 3084 + 1187.37 + 626.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 2083 + + + IBProxyObject + IBUIView + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + {{0, 20}, {320, 548}} + + + + 1 + MCAxIDAuMDU4MjUzMDc3OQA + + + + IBUIScreenMetrics + + YES + + + + + + {320, 568} + {568, 320} + + + IBCocoaTouchFramework + Retina 4 Full Screen + 2 + + IBCocoaTouchFramework + + + + + + + view + + + + 3 + + + + + + 0 + + + + + + 1 + + + + + -1 + + + File's Owner + + + -2 + + + + + + + SecondViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + 3 + + + + + SecondViewController + UIViewController + + IBProjectSource + ./Classes/SecondViewController.h + + + + + 0 + IBCocoaTouchFramework + YES + 3 + YES + 2083 + + diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/ThirdViewController.h b/MultiViewXIBTabBar/MultiViewXIBTabBar/ThirdViewController.h new file mode 100644 index 0000000..349df5c --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar/ThirdViewController.h @@ -0,0 +1,13 @@ +// +// ThirdViewController.h +// MultiViewXIBTabBar +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import + +@interface ThirdViewController : UIViewController + +@end diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/ThirdViewController.m b/MultiViewXIBTabBar/MultiViewXIBTabBar/ThirdViewController.m new file mode 100644 index 0000000..be54b54 --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar/ThirdViewController.m @@ -0,0 +1,40 @@ +// +// ThirdViewController.m +// MultiViewXIBTabBar +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import "ThirdViewController.h" + +@interface ThirdViewController () + +@end + +@implementation ThirdViewController + +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil +{ + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; + if (self) { + // Custom initialization + self.title = @"Third"; + self.tabBarItem.image = [UIImage imageNamed:@"third.png"]; + } + return self; +} + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view from its nib. +} + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +@end diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/ThirdViewController.xib b/MultiViewXIBTabBar/MultiViewXIBTabBar/ThirdViewController.xib new file mode 100644 index 0000000..48ea933 --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar/ThirdViewController.xib @@ -0,0 +1,133 @@ + + + + 1552 + 12D78 + 3084 + 1187.37 + 626.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 2083 + + + IBProxyObject + IBUIView + + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + PluginDependencyRecalculationVersion + + + + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + {{0, 20}, {320, 548}} + + + + 1 + MCAwLjA5MDkyNDU3MzkxIDEAA + + + + IBUIScreenMetrics + + YES + + + + + + {320, 568} + {568, 320} + + + IBCocoaTouchFramework + Retina 4 Full Screen + 2 + + IBCocoaTouchFramework + + + + + + + view + + + + 3 + + + + + + 0 + + + + + + 1 + + + + + -1 + + + File's Owner + + + -2 + + + + + + + ThirdViewController + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + UIResponder + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + + + 3 + + + + + ThirdViewController + UIViewController + + IBProjectSource + ./Classes/ThirdViewController.h + + + + + 0 + IBCocoaTouchFramework + YES + 3 + YES + 2083 + + diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/en.lproj/InfoPlist.strings b/MultiViewXIBTabBar/MultiViewXIBTabBar/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/first.png b/MultiViewXIBTabBar/MultiViewXIBTabBar/first.png new file mode 100644 index 0000000..9300ee2 Binary files /dev/null and b/MultiViewXIBTabBar/MultiViewXIBTabBar/first.png differ diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/first@2x.png b/MultiViewXIBTabBar/MultiViewXIBTabBar/first@2x.png new file mode 100644 index 0000000..374d78e Binary files /dev/null and b/MultiViewXIBTabBar/MultiViewXIBTabBar/first@2x.png differ diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/main.m b/MultiViewXIBTabBar/MultiViewXIBTabBar/main.m new file mode 100644 index 0000000..b2ce5c5 --- /dev/null +++ b/MultiViewXIBTabBar/MultiViewXIBTabBar/main.m @@ -0,0 +1,18 @@ +// +// main.m +// MultiViewXIBTabBar +// +// Created by mo khan on 2013-05-21. +// Copyright (c) 2013 mo khan. All rights reserved. +// + +#import + +#import "AppDelegate.h" + +int main(int argc, char *argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +} diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/second.png b/MultiViewXIBTabBar/MultiViewXIBTabBar/second.png new file mode 100644 index 0000000..1100b48 Binary files /dev/null and b/MultiViewXIBTabBar/MultiViewXIBTabBar/second.png differ diff --git a/MultiViewXIBTabBar/MultiViewXIBTabBar/second@2x.png b/MultiViewXIBTabBar/MultiViewXIBTabBar/second@2x.png new file mode 100644 index 0000000..368d38f Binary files /dev/null and b/MultiViewXIBTabBar/MultiViewXIBTabBar/second@2x.png differ -- cgit v1.2.3