From 7e7b734fc859234c9424b2ed98f5a2afef911de0 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 26 Oct 2013 13:10:31 +0400 Subject: Initial Commit --- Juick.xcodeproj/project.pbxproj | 481 +++++++++++++++++++++ .../project.xcworkspace/contents.xcworkspacedata | 7 + .../vt.xcuserdatad/xcschemes/Juick.xcscheme | 96 ++++ .../xcschemes/xcschememanagement.plist | 27 ++ Juick/AppDelegate.h | 15 + Juick/AppDelegate.m | 46 ++ Juick/Base.lproj/Main.storyboard | 104 +++++ Juick/DetailViewController.h | 16 + Juick/DetailViewController.m | 51 +++ .../AppIcon.appiconset/Contents.json | 23 + .../LaunchImage.launchimage/Contents.json | 23 + Juick/Juick-Info.plist | 50 +++ Juick/Juick-Prefix.pch | 16 + Juick/MasterViewController.h | 13 + Juick/MasterViewController.m | 113 +++++ Juick/en.lproj/InfoPlist.strings | 2 + Juick/main.m | 18 + JuickTests/JuickTests-Info.plist | 22 + JuickTests/JuickTests.m | 34 ++ JuickTests/en.lproj/InfoPlist.strings | 2 + 20 files changed, 1159 insertions(+) create mode 100644 Juick.xcodeproj/project.pbxproj create mode 100644 Juick.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 Juick.xcodeproj/xcuserdata/vt.xcuserdatad/xcschemes/Juick.xcscheme create mode 100644 Juick.xcodeproj/xcuserdata/vt.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 Juick/AppDelegate.h create mode 100644 Juick/AppDelegate.m create mode 100644 Juick/Base.lproj/Main.storyboard create mode 100644 Juick/DetailViewController.h create mode 100644 Juick/DetailViewController.m create mode 100644 Juick/Images.xcassets/AppIcon.appiconset/Contents.json create mode 100644 Juick/Images.xcassets/LaunchImage.launchimage/Contents.json create mode 100644 Juick/Juick-Info.plist create mode 100644 Juick/Juick-Prefix.pch create mode 100644 Juick/MasterViewController.h create mode 100644 Juick/MasterViewController.m create mode 100644 Juick/en.lproj/InfoPlist.strings create mode 100644 Juick/main.m create mode 100644 JuickTests/JuickTests-Info.plist create mode 100644 JuickTests/JuickTests.m create mode 100644 JuickTests/en.lproj/InfoPlist.strings diff --git a/Juick.xcodeproj/project.pbxproj b/Juick.xcodeproj/project.pbxproj new file mode 100644 index 0000000..75185cc --- /dev/null +++ b/Juick.xcodeproj/project.pbxproj @@ -0,0 +1,481 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 77317BAC181BBE8500D60005 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 77317BAB181BBE8500D60005 /* Foundation.framework */; }; + 77317BAE181BBE8500D60005 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 77317BAD181BBE8500D60005 /* CoreGraphics.framework */; }; + 77317BB0181BBE8500D60005 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 77317BAF181BBE8500D60005 /* UIKit.framework */; }; + 77317BB6181BBE8500D60005 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 77317BB4181BBE8500D60005 /* InfoPlist.strings */; }; + 77317BB8181BBE8500D60005 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 77317BB7181BBE8500D60005 /* main.m */; }; + 77317BBC181BBE8500D60005 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 77317BBB181BBE8500D60005 /* AppDelegate.m */; }; + 77317BBF181BBE8500D60005 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 77317BBD181BBE8500D60005 /* Main.storyboard */; }; + 77317BC2181BBE8500D60005 /* MasterViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 77317BC1181BBE8500D60005 /* MasterViewController.m */; }; + 77317BC5181BBE8500D60005 /* DetailViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 77317BC4181BBE8500D60005 /* DetailViewController.m */; }; + 77317BC7181BBE8500D60005 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 77317BC6181BBE8500D60005 /* Images.xcassets */; }; + 77317BCE181BBE8500D60005 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 77317BCD181BBE8500D60005 /* XCTest.framework */; }; + 77317BCF181BBE8500D60005 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 77317BAB181BBE8500D60005 /* Foundation.framework */; }; + 77317BD0181BBE8500D60005 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 77317BAF181BBE8500D60005 /* UIKit.framework */; }; + 77317BD8181BBE8500D60005 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 77317BD6181BBE8500D60005 /* InfoPlist.strings */; }; + 77317BDA181BBE8500D60005 /* JuickTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 77317BD9181BBE8500D60005 /* JuickTests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 77317BD1181BBE8500D60005 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 77317BA0181BBE8500D60005 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 77317BA7181BBE8500D60005; + remoteInfo = Juick; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 77317BA8181BBE8500D60005 /* Juick.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Juick.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 77317BAB181BBE8500D60005 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 77317BAD181BBE8500D60005 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + 77317BAF181BBE8500D60005 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 77317BB3181BBE8500D60005 /* Juick-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Juick-Info.plist"; sourceTree = ""; }; + 77317BB5181BBE8500D60005 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 77317BB7181BBE8500D60005 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 77317BB9181BBE8500D60005 /* Juick-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Juick-Prefix.pch"; sourceTree = ""; }; + 77317BBA181BBE8500D60005 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 77317BBB181BBE8500D60005 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 77317BBE181BBE8500D60005 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 77317BC0181BBE8500D60005 /* MasterViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MasterViewController.h; sourceTree = ""; }; + 77317BC1181BBE8500D60005 /* MasterViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MasterViewController.m; sourceTree = ""; }; + 77317BC3181BBE8500D60005 /* DetailViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DetailViewController.h; sourceTree = ""; }; + 77317BC4181BBE8500D60005 /* DetailViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DetailViewController.m; sourceTree = ""; }; + 77317BC6181BBE8500D60005 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 77317BCC181BBE8500D60005 /* JuickTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = JuickTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 77317BCD181BBE8500D60005 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; + 77317BD5181BBE8500D60005 /* JuickTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "JuickTests-Info.plist"; sourceTree = ""; }; + 77317BD7181BBE8500D60005 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 77317BD9181BBE8500D60005 /* JuickTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JuickTests.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 77317BA5181BBE8500D60005 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 77317BAE181BBE8500D60005 /* CoreGraphics.framework in Frameworks */, + 77317BB0181BBE8500D60005 /* UIKit.framework in Frameworks */, + 77317BAC181BBE8500D60005 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 77317BC9181BBE8500D60005 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 77317BCE181BBE8500D60005 /* XCTest.framework in Frameworks */, + 77317BD0181BBE8500D60005 /* UIKit.framework in Frameworks */, + 77317BCF181BBE8500D60005 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 77317B9F181BBE8500D60005 = { + isa = PBXGroup; + children = ( + 77317BB1181BBE8500D60005 /* Juick */, + 77317BD3181BBE8500D60005 /* JuickTests */, + 77317BAA181BBE8500D60005 /* Frameworks */, + 77317BA9181BBE8500D60005 /* Products */, + ); + sourceTree = ""; + }; + 77317BA9181BBE8500D60005 /* Products */ = { + isa = PBXGroup; + children = ( + 77317BA8181BBE8500D60005 /* Juick.app */, + 77317BCC181BBE8500D60005 /* JuickTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 77317BAA181BBE8500D60005 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 77317BAB181BBE8500D60005 /* Foundation.framework */, + 77317BAD181BBE8500D60005 /* CoreGraphics.framework */, + 77317BAF181BBE8500D60005 /* UIKit.framework */, + 77317BCD181BBE8500D60005 /* XCTest.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 77317BB1181BBE8500D60005 /* Juick */ = { + isa = PBXGroup; + children = ( + 77317BBA181BBE8500D60005 /* AppDelegate.h */, + 77317BBB181BBE8500D60005 /* AppDelegate.m */, + 77317BBD181BBE8500D60005 /* Main.storyboard */, + 77317BC0181BBE8500D60005 /* MasterViewController.h */, + 77317BC1181BBE8500D60005 /* MasterViewController.m */, + 77317BC3181BBE8500D60005 /* DetailViewController.h */, + 77317BC4181BBE8500D60005 /* DetailViewController.m */, + 77317BC6181BBE8500D60005 /* Images.xcassets */, + 77317BB2181BBE8500D60005 /* Supporting Files */, + ); + path = Juick; + sourceTree = ""; + }; + 77317BB2181BBE8500D60005 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 77317BB3181BBE8500D60005 /* Juick-Info.plist */, + 77317BB4181BBE8500D60005 /* InfoPlist.strings */, + 77317BB7181BBE8500D60005 /* main.m */, + 77317BB9181BBE8500D60005 /* Juick-Prefix.pch */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 77317BD3181BBE8500D60005 /* JuickTests */ = { + isa = PBXGroup; + children = ( + 77317BD9181BBE8500D60005 /* JuickTests.m */, + 77317BD4181BBE8500D60005 /* Supporting Files */, + ); + path = JuickTests; + sourceTree = ""; + }; + 77317BD4181BBE8500D60005 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 77317BD5181BBE8500D60005 /* JuickTests-Info.plist */, + 77317BD6181BBE8500D60005 /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 77317BA7181BBE8500D60005 /* Juick */ = { + isa = PBXNativeTarget; + buildConfigurationList = 77317BDD181BBE8500D60005 /* Build configuration list for PBXNativeTarget "Juick" */; + buildPhases = ( + 77317BA4181BBE8500D60005 /* Sources */, + 77317BA5181BBE8500D60005 /* Frameworks */, + 77317BA6181BBE8500D60005 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Juick; + productName = Juick; + productReference = 77317BA8181BBE8500D60005 /* Juick.app */; + productType = "com.apple.product-type.application"; + }; + 77317BCB181BBE8500D60005 /* JuickTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 77317BE0181BBE8500D60005 /* Build configuration list for PBXNativeTarget "JuickTests" */; + buildPhases = ( + 77317BC8181BBE8500D60005 /* Sources */, + 77317BC9181BBE8500D60005 /* Frameworks */, + 77317BCA181BBE8500D60005 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 77317BD2181BBE8500D60005 /* PBXTargetDependency */, + ); + name = JuickTests; + productName = JuickTests; + productReference = 77317BCC181BBE8500D60005 /* JuickTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 77317BA0181BBE8500D60005 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + ORGANIZATIONNAME = com.juick; + TargetAttributes = { + 77317BCB181BBE8500D60005 = { + TestTargetID = 77317BA7181BBE8500D60005; + }; + }; + }; + buildConfigurationList = 77317BA3181BBE8500D60005 /* Build configuration list for PBXProject "Juick" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 77317B9F181BBE8500D60005; + productRefGroup = 77317BA9181BBE8500D60005 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 77317BA7181BBE8500D60005 /* Juick */, + 77317BCB181BBE8500D60005 /* JuickTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 77317BA6181BBE8500D60005 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 77317BC7181BBE8500D60005 /* Images.xcassets in Resources */, + 77317BB6181BBE8500D60005 /* InfoPlist.strings in Resources */, + 77317BBF181BBE8500D60005 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 77317BCA181BBE8500D60005 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 77317BD8181BBE8500D60005 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 77317BA4181BBE8500D60005 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 77317BBC181BBE8500D60005 /* AppDelegate.m in Sources */, + 77317BC2181BBE8500D60005 /* MasterViewController.m in Sources */, + 77317BB8181BBE8500D60005 /* main.m in Sources */, + 77317BC5181BBE8500D60005 /* DetailViewController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 77317BC8181BBE8500D60005 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 77317BDA181BBE8500D60005 /* JuickTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 77317BD2181BBE8500D60005 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 77317BA7181BBE8500D60005 /* Juick */; + targetProxy = 77317BD1181BBE8500D60005 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 77317BB4181BBE8500D60005 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 77317BB5181BBE8500D60005 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 77317BBD181BBE8500D60005 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 77317BBE181BBE8500D60005 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 77317BD6181BBE8500D60005 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 77317BD7181BBE8500D60005 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 77317BDB181BBE8500D60005 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + 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_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + 77317BDC181BBE8500D60005 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 77317BDE181BBE8500D60005 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Juick/Juick-Prefix.pch"; + INFOPLIST_FILE = "Juick/Juick-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 77317BDF181BBE8500D60005 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Juick/Juick-Prefix.pch"; + INFOPLIST_FILE = "Juick/Juick-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + 77317BE1181BBE8500D60005 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Juick.app/Juick"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + "$(DEVELOPER_FRAMEWORKS_DIR)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Juick/Juick-Prefix.pch"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = "JuickTests/JuickTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = xctest; + }; + name = Debug; + }; + 77317BE2181BBE8500D60005 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Juick.app/Juick"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + "$(DEVELOPER_FRAMEWORKS_DIR)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Juick/Juick-Prefix.pch"; + INFOPLIST_FILE = "JuickTests/JuickTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = xctest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 77317BA3181BBE8500D60005 /* Build configuration list for PBXProject "Juick" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 77317BDB181BBE8500D60005 /* Debug */, + 77317BDC181BBE8500D60005 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 77317BDD181BBE8500D60005 /* Build configuration list for PBXNativeTarget "Juick" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 77317BDE181BBE8500D60005 /* Debug */, + 77317BDF181BBE8500D60005 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 77317BE0181BBE8500D60005 /* Build configuration list for PBXNativeTarget "JuickTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 77317BE1181BBE8500D60005 /* Debug */, + 77317BE2181BBE8500D60005 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 77317BA0181BBE8500D60005 /* Project object */; +} diff --git a/Juick.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Juick.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..7889985 --- /dev/null +++ b/Juick.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Juick.xcodeproj/xcuserdata/vt.xcuserdatad/xcschemes/Juick.xcscheme b/Juick.xcodeproj/xcuserdata/vt.xcuserdatad/xcschemes/Juick.xcscheme new file mode 100644 index 0000000..696e6b1 --- /dev/null +++ b/Juick.xcodeproj/xcuserdata/vt.xcuserdatad/xcschemes/Juick.xcscheme @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Juick.xcodeproj/xcuserdata/vt.xcuserdatad/xcschemes/xcschememanagement.plist b/Juick.xcodeproj/xcuserdata/vt.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..52d2f29 --- /dev/null +++ b/Juick.xcodeproj/xcuserdata/vt.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,27 @@ + + + + + SchemeUserState + + Juick.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 77317BA7181BBE8500D60005 + + primary + + + 77317BCB181BBE8500D60005 + + primary + + + + + diff --git a/Juick/AppDelegate.h b/Juick/AppDelegate.h new file mode 100644 index 0000000..ae4c86a --- /dev/null +++ b/Juick/AppDelegate.h @@ -0,0 +1,15 @@ +// +// AppDelegate.h +// Juick +// +// Created by Vitaly Takmazov on 26.10.13. +// Copyright (c) 2013 com.juick. All rights reserved. +// + +#import + +@interface AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@end diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m new file mode 100644 index 0000000..40b5fae --- /dev/null +++ b/Juick/AppDelegate.m @@ -0,0 +1,46 @@ +// +// AppDelegate.m +// Juick +// +// Created by Vitaly Takmazov on 26.10.13. +// Copyright (c) 2013 com.juick. 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/Juick/Base.lproj/Main.storyboard b/Juick/Base.lproj/Main.storyboard new file mode 100644 index 0000000..3d5f90c --- /dev/null +++ b/Juick/Base.lproj/Main.storyboard @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Juick/DetailViewController.h b/Juick/DetailViewController.h new file mode 100644 index 0000000..1246805 --- /dev/null +++ b/Juick/DetailViewController.h @@ -0,0 +1,16 @@ +// +// DetailViewController.h +// Juick +// +// Created by Vitaly Takmazov on 26.10.13. +// Copyright (c) 2013 com.juick. All rights reserved. +// + +#import + +@interface DetailViewController : UIViewController + +@property (strong, nonatomic) id detailItem; + +@property (weak, nonatomic) IBOutlet UILabel *detailDescriptionLabel; +@end diff --git a/Juick/DetailViewController.m b/Juick/DetailViewController.m new file mode 100644 index 0000000..4d510c9 --- /dev/null +++ b/Juick/DetailViewController.m @@ -0,0 +1,51 @@ +// +// DetailViewController.m +// Juick +// +// Created by Vitaly Takmazov on 26.10.13. +// Copyright (c) 2013 com.juick. All rights reserved. +// + +#import "DetailViewController.h" + +@interface DetailViewController () +- (void)configureView; +@end + +@implementation DetailViewController + +#pragma mark - Managing the detail item + +- (void)setDetailItem:(id)newDetailItem +{ + if (_detailItem != newDetailItem) { + _detailItem = newDetailItem; + + // Update the view. + [self configureView]; + } +} + +- (void)configureView +{ + // Update the user interface for the detail item. + + if (self.detailItem) { + self.detailDescriptionLabel.text = [self.detailItem description]; + } +} + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view, typically from a nib. + [self configureView]; +} + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +@end diff --git a/Juick/Images.xcassets/AppIcon.appiconset/Contents.json b/Juick/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..a396706 --- /dev/null +++ b/Juick/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Juick/Images.xcassets/LaunchImage.launchimage/Contents.json b/Juick/Images.xcassets/LaunchImage.launchimage/Contents.json new file mode 100644 index 0000000..c79ebd3 --- /dev/null +++ b/Juick/Images.xcassets/LaunchImage.launchimage/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "orientation" : "portrait", + "idiom" : "iphone", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "subtype" : "retina4", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Juick/Juick-Info.plist b/Juick/Juick-Info.plist new file mode 100644 index 0000000..846633e --- /dev/null +++ b/Juick/Juick-Info.plist @@ -0,0 +1,50 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.juick.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UIStatusBarTintParameters + + UINavigationBar + + Style + UIBarStyleDefault + Translucent + + + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Juick/Juick-Prefix.pch b/Juick/Juick-Prefix.pch new file mode 100644 index 0000000..82a2bb4 --- /dev/null +++ b/Juick/Juick-Prefix.pch @@ -0,0 +1,16 @@ +// +// Prefix header +// +// The contents of this file are implicitly included at the beginning of every source file. +// + +#import + +#ifndef __IPHONE_5_0 +#warning "This project uses features only available in iOS SDK 5.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/Juick/MasterViewController.h b/Juick/MasterViewController.h new file mode 100644 index 0000000..be49967 --- /dev/null +++ b/Juick/MasterViewController.h @@ -0,0 +1,13 @@ +// +// MasterViewController.h +// Juick +// +// Created by Vitaly Takmazov on 26.10.13. +// Copyright (c) 2013 com.juick. All rights reserved. +// + +#import + +@interface MasterViewController : UITableViewController + +@end diff --git a/Juick/MasterViewController.m b/Juick/MasterViewController.m new file mode 100644 index 0000000..41b2ef5 --- /dev/null +++ b/Juick/MasterViewController.m @@ -0,0 +1,113 @@ +// +// MasterViewController.m +// Juick +// +// Created by Vitaly Takmazov on 26.10.13. +// Copyright (c) 2013 com.juick. All rights reserved. +// + +#import "MasterViewController.h" + +#import "DetailViewController.h" + +@interface MasterViewController () { + NSMutableArray *_objects; +} +@end + +@implementation MasterViewController + +- (void)awakeFromNib +{ + [super awakeFromNib]; +} + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view, typically from a nib. + self.navigationItem.leftBarButtonItem = self.editButtonItem; + + UIBarButtonItem *addButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(insertNewObject:)]; + self.navigationItem.rightBarButtonItem = addButton; +} + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +- (void)insertNewObject:(id)sender +{ + if (!_objects) { + _objects = [[NSMutableArray alloc] init]; + } + [_objects insertObject:[NSDate date] atIndex:0]; + NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0]; + [self.tableView insertRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; +} + +#pragma mark - Table View + +- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView +{ + return 1; +} + +- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section +{ + return _objects.count; +} + +- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath +{ + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath]; + + NSDate *object = _objects[indexPath.row]; + cell.textLabel.text = [object description]; + return cell; +} + +- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath +{ + // Return NO if you do not want the specified item to be editable. + return YES; +} + +- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath +{ + if (editingStyle == UITableViewCellEditingStyleDelete) { + [_objects removeObjectAtIndex:indexPath.row]; + [tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationFade]; + } else if (editingStyle == UITableViewCellEditingStyleInsert) { + // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view. + } +} + +/* +// Override to support rearranging the table view. +- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath +{ +} +*/ + +/* +// Override to support conditional rearranging of the table view. +- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath +{ + // Return NO if you do not want the item to be re-orderable. + return YES; +} +*/ + +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender +{ + if ([[segue identifier] isEqualToString:@"showDetail"]) { + NSIndexPath *indexPath = [self.tableView indexPathForSelectedRow]; + NSDate *object = _objects[indexPath.row]; + [[segue destinationViewController] setDetailItem:object]; + } +} + +@end diff --git a/Juick/en.lproj/InfoPlist.strings b/Juick/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Juick/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Juick/main.m b/Juick/main.m new file mode 100644 index 0000000..67b222f --- /dev/null +++ b/Juick/main.m @@ -0,0 +1,18 @@ +// +// main.m +// Juick +// +// Created by Vitaly Takmazov on 26.10.13. +// Copyright (c) 2013 com.juick. 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/JuickTests/JuickTests-Info.plist b/JuickTests/JuickTests-Info.plist new file mode 100644 index 0000000..483802c --- /dev/null +++ b/JuickTests/JuickTests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.juick.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/JuickTests/JuickTests.m b/JuickTests/JuickTests.m new file mode 100644 index 0000000..475a4f2 --- /dev/null +++ b/JuickTests/JuickTests.m @@ -0,0 +1,34 @@ +// +// JuickTests.m +// JuickTests +// +// Created by Vitaly Takmazov on 26.10.13. +// Copyright (c) 2013 com.juick. All rights reserved. +// + +#import + +@interface JuickTests : XCTestCase + +@end + +@implementation JuickTests + +- (void)setUp +{ + [super setUp]; + // Put setup code here. This method is called before the invocation of each test method in the class. +} + +- (void)tearDown +{ + // Put teardown code here. This method is called after the invocation of each test method in the class. + [super tearDown]; +} + +- (void)testExample +{ + XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); +} + +@end diff --git a/JuickTests/en.lproj/InfoPlist.strings b/JuickTests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/JuickTests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + -- cgit v1.2.3