From a688c1566fe6a4eccc4ad5c5aaf5fadd79efef18 Mon Sep 17 00:00:00 2001 From: Eddie Ehlin Date: Mon, 31 Dec 2012 00:08:03 +0100 Subject: Moved XCode project iBean to iBean.old --- iBean.old/iBean.xcodeproj/project.pbxproj | 356 +++++++++++++++++++++ .../project.xcworkspace/contents.xcworkspacedata | 7 + .../UserInterfaceState.xcuserstate | Bin 0 -> 24786 bytes .../xcdebugger/Breakpoints.xcbkptlist | 5 + .../eddiex.xcuserdatad/xcschemes/iBean.xcscheme | 86 +++++ .../xcschemes/xcschememanagement.plist | 22 ++ iBean.old/iBean/AppDelegate.h | 15 + iBean.old/iBean/AppDelegate.m | 46 +++ iBean.old/iBean/Default-568h@2x.png | Bin 0 -> 18594 bytes iBean.old/iBean/Default.png | Bin 0 -> 6540 bytes iBean.old/iBean/Default@2x.png | Bin 0 -> 16107 bytes iBean.old/iBean/FirstViewController.h | 13 + iBean.old/iBean/FirstViewController.m | 29 ++ iBean.old/iBean/InstaBeanViewController.h | 32 ++ iBean.old/iBean/InstaBeanViewController.m | 108 +++++++ iBean.old/iBean/en.lproj/InfoPlist.strings | 2 + .../iBean/en.lproj/MainStoryboard_iPad.storyboard | 138 ++++++++ .../en.lproj/MainStoryboard_iPhone.storyboard | 158 +++++++++ iBean.old/iBean/first.png | Bin 0 -> 253 bytes iBean.old/iBean/first@2x.png | Bin 0 -> 402 bytes iBean.old/iBean/iBean-Info.plist | 59 ++++ iBean.old/iBean/iBean-Prefix.pch | 15 + iBean.old/iBean/main.m | 18 ++ iBean.old/iBean/second.png | Bin 0 -> 128 bytes iBean.old/iBean/second@2x.png | Bin 0 -> 130 bytes 25 files changed, 1109 insertions(+) create mode 100644 iBean.old/iBean.xcodeproj/project.pbxproj create mode 100644 iBean.old/iBean.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 iBean.old/iBean.xcodeproj/project.xcworkspace/xcuserdata/eddiex.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 iBean.old/iBean.xcodeproj/xcuserdata/eddiex.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist create mode 100644 iBean.old/iBean.xcodeproj/xcuserdata/eddiex.xcuserdatad/xcschemes/iBean.xcscheme create mode 100644 iBean.old/iBean.xcodeproj/xcuserdata/eddiex.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 iBean.old/iBean/AppDelegate.h create mode 100644 iBean.old/iBean/AppDelegate.m create mode 100644 iBean.old/iBean/Default-568h@2x.png create mode 100644 iBean.old/iBean/Default.png create mode 100644 iBean.old/iBean/Default@2x.png create mode 100644 iBean.old/iBean/FirstViewController.h create mode 100644 iBean.old/iBean/FirstViewController.m create mode 100644 iBean.old/iBean/InstaBeanViewController.h create mode 100644 iBean.old/iBean/InstaBeanViewController.m create mode 100644 iBean.old/iBean/en.lproj/InfoPlist.strings create mode 100644 iBean.old/iBean/en.lproj/MainStoryboard_iPad.storyboard create mode 100644 iBean.old/iBean/en.lproj/MainStoryboard_iPhone.storyboard create mode 100644 iBean.old/iBean/first.png create mode 100644 iBean.old/iBean/first@2x.png create mode 100644 iBean.old/iBean/iBean-Info.plist create mode 100644 iBean.old/iBean/iBean-Prefix.pch create mode 100644 iBean.old/iBean/main.m create mode 100644 iBean.old/iBean/second.png create mode 100644 iBean.old/iBean/second@2x.png (limited to 'iBean.old') diff --git a/iBean.old/iBean.xcodeproj/project.pbxproj b/iBean.old/iBean.xcodeproj/project.pbxproj new file mode 100644 index 0000000..f6c5b47 --- /dev/null +++ b/iBean.old/iBean.xcodeproj/project.pbxproj @@ -0,0 +1,356 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 020C5530168E1F5200D8224C /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 020C552F168E1F5200D8224C /* UIKit.framework */; }; + 020C5532168E1F5200D8224C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 020C5531168E1F5200D8224C /* Foundation.framework */; }; + 020C5534168E1F5200D8224C /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 020C5533168E1F5200D8224C /* CoreGraphics.framework */; }; + 020C553A168E1F5200D8224C /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 020C5538168E1F5200D8224C /* InfoPlist.strings */; }; + 020C553C168E1F5200D8224C /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 020C553B168E1F5200D8224C /* main.m */; }; + 020C5540168E1F5200D8224C /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 020C553F168E1F5200D8224C /* AppDelegate.m */; }; + 020C5542168E1F5200D8224C /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 020C5541168E1F5200D8224C /* Default.png */; }; + 020C5544168E1F5200D8224C /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 020C5543168E1F5200D8224C /* Default@2x.png */; }; + 020C5546168E1F5200D8224C /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 020C5545168E1F5200D8224C /* Default-568h@2x.png */; }; + 020C5549168E1F5200D8224C /* MainStoryboard_iPhone.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 020C5547168E1F5200D8224C /* MainStoryboard_iPhone.storyboard */; }; + 020C554C168E1F5200D8224C /* MainStoryboard_iPad.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 020C554A168E1F5200D8224C /* MainStoryboard_iPad.storyboard */; }; + 020C554F168E1F5200D8224C /* FirstViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 020C554E168E1F5200D8224C /* FirstViewController.m */; }; + 020C5551168E1F5200D8224C /* first.png in Resources */ = {isa = PBXBuildFile; fileRef = 020C5550168E1F5200D8224C /* first.png */; }; + 020C5553168E1F5300D8224C /* first@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 020C5552168E1F5200D8224C /* first@2x.png */; }; + 020C5558168E1F5300D8224C /* second.png in Resources */ = {isa = PBXBuildFile; fileRef = 020C5557168E1F5300D8224C /* second.png */; }; + 020C555A168E1F5300D8224C /* second@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 020C5559168E1F5300D8224C /* second@2x.png */; }; + 020C556A168E205900D8224C /* InstaBeanViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 020C5569168E205900D8224C /* InstaBeanViewController.m */; }; + 020C557B168F702100D8224C /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 020C557A168F702100D8224C /* CoreData.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 020C552B168E1F5200D8224C /* iBean.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = iBean.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 020C552F168E1F5200D8224C /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 020C5531168E1F5200D8224C /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 020C5533168E1F5200D8224C /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + 020C5537168E1F5200D8224C /* iBean-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iBean-Info.plist"; sourceTree = ""; }; + 020C5539168E1F5200D8224C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 020C553B168E1F5200D8224C /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 020C553D168E1F5200D8224C /* iBean-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "iBean-Prefix.pch"; sourceTree = ""; }; + 020C553E168E1F5200D8224C /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 020C553F168E1F5200D8224C /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 020C5541168E1F5200D8224C /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; + 020C5543168E1F5200D8224C /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; + 020C5545168E1F5200D8224C /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; + 020C5548168E1F5200D8224C /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard_iPhone.storyboard; sourceTree = ""; }; + 020C554B168E1F5200D8224C /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard_iPad.storyboard; sourceTree = ""; }; + 020C554D168E1F5200D8224C /* FirstViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FirstViewController.h; sourceTree = ""; }; + 020C554E168E1F5200D8224C /* FirstViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FirstViewController.m; sourceTree = ""; }; + 020C5550168E1F5200D8224C /* first.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = first.png; sourceTree = ""; }; + 020C5552168E1F5200D8224C /* first@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "first@2x.png"; sourceTree = ""; }; + 020C5557168E1F5300D8224C /* second.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = second.png; sourceTree = ""; }; + 020C5559168E1F5300D8224C /* second@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "second@2x.png"; sourceTree = ""; }; + 020C5568168E205900D8224C /* InstaBeanViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InstaBeanViewController.h; sourceTree = ""; }; + 020C5569168E205900D8224C /* InstaBeanViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = InstaBeanViewController.m; sourceTree = ""; }; + 020C557A168F702100D8224C /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 020C5528168E1F5200D8224C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 020C557B168F702100D8224C /* CoreData.framework in Frameworks */, + 020C5530168E1F5200D8224C /* UIKit.framework in Frameworks */, + 020C5532168E1F5200D8224C /* Foundation.framework in Frameworks */, + 020C5534168E1F5200D8224C /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 020C5520168E1F5200D8224C = { + isa = PBXGroup; + children = ( + 020C5535168E1F5200D8224C /* iBean */, + 020C552E168E1F5200D8224C /* Frameworks */, + 020C552C168E1F5200D8224C /* Products */, + ); + sourceTree = ""; + }; + 020C552C168E1F5200D8224C /* Products */ = { + isa = PBXGroup; + children = ( + 020C552B168E1F5200D8224C /* iBean.app */, + ); + name = Products; + sourceTree = ""; + }; + 020C552E168E1F5200D8224C /* Frameworks */ = { + isa = PBXGroup; + children = ( + 020C557A168F702100D8224C /* CoreData.framework */, + 020C552F168E1F5200D8224C /* UIKit.framework */, + 020C5531168E1F5200D8224C /* Foundation.framework */, + 020C5533168E1F5200D8224C /* CoreGraphics.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 020C5535168E1F5200D8224C /* iBean */ = { + isa = PBXGroup; + children = ( + 020C5578168F6AB400D8224C /* Graphics */, + 020C556B168E214C00D8224C /* InstaBean */, + 020C553E168E1F5200D8224C /* AppDelegate.h */, + 020C553F168E1F5200D8224C /* AppDelegate.m */, + 020C5547168E1F5200D8224C /* MainStoryboard_iPhone.storyboard */, + 020C554A168E1F5200D8224C /* MainStoryboard_iPad.storyboard */, + 020C554D168E1F5200D8224C /* FirstViewController.h */, + 020C554E168E1F5200D8224C /* FirstViewController.m */, + 020C5536168E1F5200D8224C /* Supporting Files */, + ); + path = iBean; + sourceTree = ""; + }; + 020C5536168E1F5200D8224C /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 020C5537168E1F5200D8224C /* iBean-Info.plist */, + 020C5538168E1F5200D8224C /* InfoPlist.strings */, + 020C553B168E1F5200D8224C /* main.m */, + 020C553D168E1F5200D8224C /* iBean-Prefix.pch */, + 020C5541168E1F5200D8224C /* Default.png */, + 020C5543168E1F5200D8224C /* Default@2x.png */, + 020C5545168E1F5200D8224C /* Default-568h@2x.png */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 020C556B168E214C00D8224C /* InstaBean */ = { + isa = PBXGroup; + children = ( + 020C5568168E205900D8224C /* InstaBeanViewController.h */, + 020C5569168E205900D8224C /* InstaBeanViewController.m */, + ); + name = InstaBean; + sourceTree = ""; + }; + 020C5578168F6AB400D8224C /* Graphics */ = { + isa = PBXGroup; + children = ( + 020C5550168E1F5200D8224C /* first.png */, + 020C5552168E1F5200D8224C /* first@2x.png */, + 020C5557168E1F5300D8224C /* second.png */, + 020C5559168E1F5300D8224C /* second@2x.png */, + ); + name = Graphics; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 020C552A168E1F5200D8224C /* iBean */ = { + isa = PBXNativeTarget; + buildConfigurationList = 020C555D168E1F5300D8224C /* Build configuration list for PBXNativeTarget "iBean" */; + buildPhases = ( + 020C5527168E1F5200D8224C /* Sources */, + 020C5528168E1F5200D8224C /* Frameworks */, + 020C5529168E1F5200D8224C /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = iBean; + productName = iBean; + productReference = 020C552B168E1F5200D8224C /* iBean.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 020C5522168E1F5200D8224C /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0450; + ORGANIZATIONNAME = "Eddie Ehlin"; + }; + buildConfigurationList = 020C5525168E1F5200D8224C /* Build configuration list for PBXProject "iBean" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 020C5520168E1F5200D8224C; + productRefGroup = 020C552C168E1F5200D8224C /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 020C552A168E1F5200D8224C /* iBean */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 020C5529168E1F5200D8224C /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 020C553A168E1F5200D8224C /* InfoPlist.strings in Resources */, + 020C5542168E1F5200D8224C /* Default.png in Resources */, + 020C5544168E1F5200D8224C /* Default@2x.png in Resources */, + 020C5546168E1F5200D8224C /* Default-568h@2x.png in Resources */, + 020C5549168E1F5200D8224C /* MainStoryboard_iPhone.storyboard in Resources */, + 020C554C168E1F5200D8224C /* MainStoryboard_iPad.storyboard in Resources */, + 020C5551168E1F5200D8224C /* first.png in Resources */, + 020C5553168E1F5300D8224C /* first@2x.png in Resources */, + 020C5558168E1F5300D8224C /* second.png in Resources */, + 020C555A168E1F5300D8224C /* second@2x.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 020C5527168E1F5200D8224C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 020C553C168E1F5200D8224C /* main.m in Sources */, + 020C5540168E1F5200D8224C /* AppDelegate.m in Sources */, + 020C554F168E1F5200D8224C /* FirstViewController.m in Sources */, + 020C556A168E205900D8224C /* InstaBeanViewController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 020C5538168E1F5200D8224C /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 020C5539168E1F5200D8224C /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 020C5547168E1F5200D8224C /* MainStoryboard_iPhone.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 020C5548168E1F5200D8224C /* en */, + ); + name = MainStoryboard_iPhone.storyboard; + sourceTree = ""; + }; + 020C554A168E1F5200D8224C /* MainStoryboard_iPad.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 020C554B168E1F5200D8224C /* en */, + ); + name = MainStoryboard_iPad.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 020C555B168E1F5300D8224C /* 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_EMPTY_BODY = 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.0; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 020C555C168E1F5300D8224C /* 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_EMPTY_BODY = 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.0; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 020C555E168E1F5300D8224C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iBean/iBean-Prefix.pch"; + INFOPLIST_FILE = "iBean/iBean-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 020C555F168E1F5300D8224C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iBean/iBean-Prefix.pch"; + INFOPLIST_FILE = "iBean/iBean-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 020C5525168E1F5200D8224C /* Build configuration list for PBXProject "iBean" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 020C555B168E1F5300D8224C /* Debug */, + 020C555C168E1F5300D8224C /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 020C555D168E1F5300D8224C /* Build configuration list for PBXNativeTarget "iBean" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 020C555E168E1F5300D8224C /* Debug */, + 020C555F168E1F5300D8224C /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 020C5522168E1F5200D8224C /* Project object */; +} diff --git a/iBean.old/iBean.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/iBean.old/iBean.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..d40ad90 --- /dev/null +++ b/iBean.old/iBean.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/iBean.old/iBean.xcodeproj/project.xcworkspace/xcuserdata/eddiex.xcuserdatad/UserInterfaceState.xcuserstate b/iBean.old/iBean.xcodeproj/project.xcworkspace/xcuserdata/eddiex.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..17f5024 Binary files /dev/null and b/iBean.old/iBean.xcodeproj/project.xcworkspace/xcuserdata/eddiex.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/iBean.old/iBean.xcodeproj/xcuserdata/eddiex.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist b/iBean.old/iBean.xcodeproj/xcuserdata/eddiex.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist new file mode 100644 index 0000000..05301bc --- /dev/null +++ b/iBean.old/iBean.xcodeproj/xcuserdata/eddiex.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist @@ -0,0 +1,5 @@ + + + diff --git a/iBean.old/iBean.xcodeproj/xcuserdata/eddiex.xcuserdatad/xcschemes/iBean.xcscheme b/iBean.old/iBean.xcodeproj/xcuserdata/eddiex.xcuserdatad/xcschemes/iBean.xcscheme new file mode 100644 index 0000000..88acf2c --- /dev/null +++ b/iBean.old/iBean.xcodeproj/xcuserdata/eddiex.xcuserdatad/xcschemes/iBean.xcscheme @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iBean.old/iBean.xcodeproj/xcuserdata/eddiex.xcuserdatad/xcschemes/xcschememanagement.plist b/iBean.old/iBean.xcodeproj/xcuserdata/eddiex.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..a4c0bf3 --- /dev/null +++ b/iBean.old/iBean.xcodeproj/xcuserdata/eddiex.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,22 @@ + + + + + SchemeUserState + + iBean.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 020C552A168E1F5200D8224C + + primary + + + + + diff --git a/iBean.old/iBean/AppDelegate.h b/iBean.old/iBean/AppDelegate.h new file mode 100644 index 0000000..9fe045e --- /dev/null +++ b/iBean.old/iBean/AppDelegate.h @@ -0,0 +1,15 @@ +// +// AppDelegate.h +// iBean +// +// Created by Eddie Ehlin on 2012-12-28. +// Copyright (c) 2012 Eddie Ehlin. All rights reserved. +// + +#import + +@interface AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@end diff --git a/iBean.old/iBean/AppDelegate.m b/iBean.old/iBean/AppDelegate.m new file mode 100644 index 0000000..a044a2c --- /dev/null +++ b/iBean.old/iBean/AppDelegate.m @@ -0,0 +1,46 @@ +// +// AppDelegate.m +// iBean +// +// Created by Eddie Ehlin on 2012-12-28. +// Copyright (c) 2012 Eddie Ehlin. All rights reserved. +// + +#import "AppDelegate.h" + +@implementation AppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + // Override point for customization after application launch. + 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/iBean.old/iBean/Default-568h@2x.png b/iBean.old/iBean/Default-568h@2x.png new file mode 100644 index 0000000..0891b7a Binary files /dev/null and b/iBean.old/iBean/Default-568h@2x.png differ diff --git a/iBean.old/iBean/Default.png b/iBean.old/iBean/Default.png new file mode 100644 index 0000000..4c8ca6f Binary files /dev/null and b/iBean.old/iBean/Default.png differ diff --git a/iBean.old/iBean/Default@2x.png b/iBean.old/iBean/Default@2x.png new file mode 100644 index 0000000..35b84cf Binary files /dev/null and b/iBean.old/iBean/Default@2x.png differ diff --git a/iBean.old/iBean/FirstViewController.h b/iBean.old/iBean/FirstViewController.h new file mode 100644 index 0000000..a195d8a --- /dev/null +++ b/iBean.old/iBean/FirstViewController.h @@ -0,0 +1,13 @@ +// +// FirstViewController.h +// iBean +// +// Created by Eddie Ehlin on 2012-12-28. +// Copyright (c) 2012 Eddie Ehlin. All rights reserved. +// + +#import + +@interface FirstViewController : UIViewController + +@end diff --git a/iBean.old/iBean/FirstViewController.m b/iBean.old/iBean/FirstViewController.m new file mode 100644 index 0000000..8041fe7 --- /dev/null +++ b/iBean.old/iBean/FirstViewController.m @@ -0,0 +1,29 @@ +// +// FirstViewController.m +// iBean +// +// Created by Eddie Ehlin on 2012-12-28. +// Copyright (c) 2012 Eddie Ehlin. All rights reserved. +// + +#import "FirstViewController.h" + +@interface FirstViewController () + +@end + +@implementation FirstViewController + +- (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/iBean.old/iBean/InstaBeanViewController.h b/iBean.old/iBean/InstaBeanViewController.h new file mode 100644 index 0000000..3ddfe2b --- /dev/null +++ b/iBean.old/iBean/InstaBeanViewController.h @@ -0,0 +1,32 @@ +// +// InstaBeanViewController.h +// iBean +// +// Created by Eddie Ehlin on 2012-12-28. +// Copyright (c) 2012 Eddie Ehlin. All rights reserved. +// + +#import + +@interface InstaBeanViewController : UIViewController + +@property (weak, nonatomic) IBOutlet UILabel *extractionProgressLabel; +@property (weak, nonatomic) IBOutlet UIStepper *extractionSettingStepper; +@property (weak, nonatomic) IBOutlet UILabel *extractionSettingLabel; +@property (weak, nonatomic) IBOutlet UIButton *extractionButton; + +@property (nonatomic) double extractionProgress; +@property (nonatomic) BOOL extractionInProgress; +@property (weak, nonatomic) NSTimer* timer; + +//Utility methods +- (void) updateExtractionSettingLabel; +- (void) initInstaBean; +- (void) updateExtractionProgressLabel; +- (void) haltExtractionTimer; + +//Event/signal based methods +- (IBAction)setExtractionTimer:(id)sender; +- (IBAction)startExtraction:(id)sender; + +@end diff --git a/iBean.old/iBean/InstaBeanViewController.m b/iBean.old/iBean/InstaBeanViewController.m new file mode 100644 index 0000000..ab77ed7 --- /dev/null +++ b/iBean.old/iBean/InstaBeanViewController.m @@ -0,0 +1,108 @@ +// +// InstaBeanViewController.m +// iBean +// +// Created by Eddie Ehlin on 2012-12-28. +// Copyright (c) 2012 Eddie Ehlin. All rights reserved. +// + +#import "InstaBeanViewController.h" + +@interface InstaBeanViewController () + +@end + +@implementation InstaBeanViewController + +- (void)viewDidLoad +{ + [super viewDidLoad]; + + //Add any view related setup? +} + +- (void)viewWillAppear:(BOOL)animated +{ + NSLog(@"InstaBean viewWillAppear"); + //[super viewWillAppear:<#animated#>]; + [self initInstaBean]; +} + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + + +//------------------------------------------------------------------- +// UTILITY METHODS +//------------------------------------------------------------------- +- (void) updateExtractionSettingLabel { + NSString *timerSetting = [NSString stringWithFormat:@"%1.0f", [self.extractionSettingStepper value]]; + self.extractionSettingLabel.text = timerSetting; +} + +- (void) updateExtractionProgressLabel { + self.extractionProgress += 0.1f; + self.extractionProgressLabel.text = [NSString stringWithFormat:@"%1.1f", self.extractionProgress]; + + if (self.extractionProgress >= self.extractionSettingStepper.value) + { + NSLog(@"Timer reached its limit!"); + [self haltExtractionTimer]; + } +} + +- (void) haltExtractionTimer +{ + if (self.timer != nil) + { + [self.timer invalidate]; + self.timer = nil; + [self.extractionButton setTitle:@"Start extraction" forState:UIControlStateNormal]; + self.extractionInProgress = NO; + [self.extractionSettingStepper setEnabled:YES]; + } +} + +//------------------------------------------------------------------- +// ACTION METHODS +//------------------------------------------------------------------- + +- (void) initInstaBean +{ + NSLog(@"Loading & setting stepper!"); + //TODO: Read from storage.. + [self.extractionSettingStepper setValue:25.0f]; + [self updateExtractionSettingLabel]; +} + +- (IBAction)setExtractionTimer:(id)sender { + [self updateExtractionSettingLabel]; +} + +- (IBAction)startExtraction:(id)sender { + + if (self.extractionInProgress == NO) + { + self.extractionInProgress = YES; + self.extractionProgress = 0.0f; + self.extractionProgressLabel.text = @"0.0"; + [self.extractionButton setTitle:@"Stop extraction" forState:UIControlStateNormal]; + [self.extractionSettingStepper setEnabled:NO]; + + if (self.timer == nil) + { + self.timer = [NSTimer scheduledTimerWithTimeInterval:0.1f target:self selector:@selector(updateExtractionProgressLabel) userInfo:nil repeats:YES]; + } + //TODO: Set red background image. + + } + else + { + //TODO: Set green background image. + [self haltExtractionTimer]; + } +} +@end diff --git a/iBean.old/iBean/en.lproj/InfoPlist.strings b/iBean.old/iBean/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/iBean.old/iBean/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/iBean.old/iBean/en.lproj/MainStoryboard_iPad.storyboard b/iBean.old/iBean/en.lproj/MainStoryboard_iPad.storyboard new file mode 100644 index 0000000..de8ac9d --- /dev/null +++ b/iBean.old/iBean/en.lproj/MainStoryboard_iPad.storyboard @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/iBean.old/iBean/en.lproj/MainStoryboard_iPhone.storyboard b/iBean.old/iBean/en.lproj/MainStoryboard_iPhone.storyboard new file mode 100644 index 0000000..a65aaa4 --- /dev/null +++ b/iBean.old/iBean/en.lproj/MainStoryboard_iPhone.storyboard @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/iBean.old/iBean/first.png b/iBean.old/iBean/first.png new file mode 100644 index 0000000..9300ee2 Binary files /dev/null and b/iBean.old/iBean/first.png differ diff --git a/iBean.old/iBean/first@2x.png b/iBean.old/iBean/first@2x.png new file mode 100644 index 0000000..374d78e Binary files /dev/null and b/iBean.old/iBean/first@2x.png differ diff --git a/iBean.old/iBean/iBean-Info.plist b/iBean.old/iBean/iBean-Info.plist new file mode 100644 index 0000000..9b890c5 --- /dev/null +++ b/iBean.old/iBean/iBean-Info.plist @@ -0,0 +1,59 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + Eddie-Ehlin.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIMainStoryboardFile + MainStoryboard_iPhone + UIMainStoryboardFile~ipad + MainStoryboard_iPad + UIRequiredDeviceCapabilities + + armv7 + + UIStatusBarTintParameters + + UINavigationBar + + Style + UIBarStyleDefault + Translucent + + + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/iBean.old/iBean/iBean-Prefix.pch b/iBean.old/iBean/iBean-Prefix.pch new file mode 100644 index 0000000..1eb06ae --- /dev/null +++ b/iBean.old/iBean/iBean-Prefix.pch @@ -0,0 +1,15 @@ +// +// Prefix header for all source files of the 'iBean' target in the 'iBean' project +// + +#import + +#ifndef __IPHONE_5_0 +#warning "This project uses features only available in iOS SDK 5.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import + #import +#endif diff --git a/iBean.old/iBean/main.m b/iBean.old/iBean/main.m new file mode 100644 index 0000000..b0895ba --- /dev/null +++ b/iBean.old/iBean/main.m @@ -0,0 +1,18 @@ +// +// main.m +// iBean +// +// Created by Eddie Ehlin on 2012-12-28. +// Copyright (c) 2012 Eddie Ehlin. 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/iBean.old/iBean/second.png b/iBean.old/iBean/second.png new file mode 100644 index 0000000..1100b48 Binary files /dev/null and b/iBean.old/iBean/second.png differ diff --git a/iBean.old/iBean/second@2x.png b/iBean.old/iBean/second@2x.png new file mode 100644 index 0000000..368d38f Binary files /dev/null and b/iBean.old/iBean/second@2x.png differ -- cgit v1.2.3