Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

New commit

  • Loading branch information...
commit 39c13816cb5e6f0cfea64437aee61f8705c5124a 1 parent 5541ba8
@Nuclominus authored
View
501 PhotoWall.xcodeproj/project.pbxproj
@@ -0,0 +1,501 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ F02EC91118E18A960054C833 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F02EC91018E18A960054C833 /* Foundation.framework */; };
+ F02EC91318E18A960054C833 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F02EC91218E18A960054C833 /* CoreGraphics.framework */; };
+ F02EC91518E18A960054C833 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F02EC91418E18A960054C833 /* UIKit.framework */; };
+ F02EC91B18E18A960054C833 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = F02EC91918E18A960054C833 /* InfoPlist.strings */; };
+ F02EC91D18E18A960054C833 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F02EC91C18E18A960054C833 /* main.m */; };
+ F02EC92118E18A960054C833 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F02EC92018E18A960054C833 /* AppDelegate.m */; };
+ F02EC92418E18A960054C833 /* Main_iPhone.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F02EC92218E18A960054C833 /* Main_iPhone.storyboard */; };
+ F02EC92718E18A970054C833 /* Main_iPad.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F02EC92518E18A970054C833 /* Main_iPad.storyboard */; };
+ F02EC92A18E18A970054C833 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F02EC92918E18A970054C833 /* ViewController.m */; };
+ F02EC92C18E18A970054C833 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F02EC92B18E18A970054C833 /* Images.xcassets */; };
+ F02EC93318E18A970054C833 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F02EC93218E18A970054C833 /* XCTest.framework */; };
+ F02EC93418E18A970054C833 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F02EC91018E18A960054C833 /* Foundation.framework */; };
+ F02EC93518E18A970054C833 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F02EC91418E18A960054C833 /* UIKit.framework */; };
+ F02EC93D18E18A980054C833 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = F02EC93B18E18A980054C833 /* InfoPlist.strings */; };
+ F02EC93F18E18A980054C833 /* PhotoWallTests.m in Sources */ = {isa = PBXBuildFile; fileRef = F02EC93E18E18A980054C833 /* PhotoWallTests.m */; };
+ F0B32CB118E4499B008E9AD2 /* CellVC.m in Sources */ = {isa = PBXBuildFile; fileRef = F0B32CAF18E4499B008E9AD2 /* CellVC.m */; };
+ F0B32CB218E4499B008E9AD2 /* CellVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = F0B32CB018E4499B008E9AD2 /* CellVC.xib */; };
+ F0B8D70E18E46A0100CA46DD /* test.jpg in Resources */ = {isa = PBXBuildFile; fileRef = F0B8D70D18E46A0100CA46DD /* test.jpg */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ F02EC93618E18A970054C833 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = F02EC90518E18A960054C833 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = F02EC90C18E18A960054C833;
+ remoteInfo = PhotoWall;
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXFileReference section */
+ F02EC90D18E18A960054C833 /* PhotoWall.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PhotoWall.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ F02EC91018E18A960054C833 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ F02EC91218E18A960054C833 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ F02EC91418E18A960054C833 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ F02EC91818E18A960054C833 /* PhotoWall-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "PhotoWall-Info.plist"; sourceTree = "<group>"; };
+ F02EC91A18E18A960054C833 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ F02EC91C18E18A960054C833 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ F02EC91E18E18A960054C833 /* PhotoWall-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "PhotoWall-Prefix.pch"; sourceTree = "<group>"; };
+ F02EC91F18E18A960054C833 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
+ F02EC92018E18A960054C833 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+ F02EC92318E18A960054C833 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main_iPhone.storyboard; sourceTree = "<group>"; };
+ F02EC92618E18A970054C833 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main_iPad.storyboard; sourceTree = "<group>"; };
+ F02EC92818E18A970054C833 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
+ F02EC92918E18A970054C833 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
+ F02EC92B18E18A970054C833 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
+ F02EC93118E18A970054C833 /* PhotoWallTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PhotoWallTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
+ F02EC93218E18A970054C833 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
+ F02EC93A18E18A980054C833 /* PhotoWallTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "PhotoWallTests-Info.plist"; sourceTree = "<group>"; };
+ F02EC93C18E18A980054C833 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ F02EC93E18E18A980054C833 /* PhotoWallTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PhotoWallTests.m; sourceTree = "<group>"; };
+ F0B32CAE18E4499B008E9AD2 /* CellVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CellVC.h; sourceTree = "<group>"; };
+ F0B32CAF18E4499B008E9AD2 /* CellVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CellVC.m; sourceTree = "<group>"; };
+ F0B32CB018E4499B008E9AD2 /* CellVC.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = CellVC.xib; sourceTree = "<group>"; };
+ F0B8D70D18E46A0100CA46DD /* test.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = test.jpg; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ F02EC90A18E18A960054C833 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F02EC91318E18A960054C833 /* CoreGraphics.framework in Frameworks */,
+ F02EC91518E18A960054C833 /* UIKit.framework in Frameworks */,
+ F02EC91118E18A960054C833 /* Foundation.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ F02EC92E18E18A970054C833 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F02EC93318E18A970054C833 /* XCTest.framework in Frameworks */,
+ F02EC93518E18A970054C833 /* UIKit.framework in Frameworks */,
+ F02EC93418E18A970054C833 /* Foundation.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ F02EC90418E18A960054C833 = {
+ isa = PBXGroup;
+ children = (
+ F02EC91618E18A960054C833 /* PhotoWall */,
+ F02EC93818E18A970054C833 /* PhotoWallTests */,
+ F02EC90F18E18A960054C833 /* Frameworks */,
+ F02EC90E18E18A960054C833 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ F02EC90E18E18A960054C833 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ F02EC90D18E18A960054C833 /* PhotoWall.app */,
+ F02EC93118E18A970054C833 /* PhotoWallTests.xctest */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ F02EC90F18E18A960054C833 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ F02EC91018E18A960054C833 /* Foundation.framework */,
+ F02EC91218E18A960054C833 /* CoreGraphics.framework */,
+ F02EC91418E18A960054C833 /* UIKit.framework */,
+ F02EC93218E18A970054C833 /* XCTest.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ F02EC91618E18A960054C833 /* PhotoWall */ = {
+ isa = PBXGroup;
+ children = (
+ F0B8D70D18E46A0100CA46DD /* test.jpg */,
+ F02EC91F18E18A960054C833 /* AppDelegate.h */,
+ F02EC92018E18A960054C833 /* AppDelegate.m */,
+ F02EC92218E18A960054C833 /* Main_iPhone.storyboard */,
+ F02EC92518E18A970054C833 /* Main_iPad.storyboard */,
+ F02EC92818E18A970054C833 /* ViewController.h */,
+ F02EC92918E18A970054C833 /* ViewController.m */,
+ F0B32CAE18E4499B008E9AD2 /* CellVC.h */,
+ F0B32CB018E4499B008E9AD2 /* CellVC.xib */,
+ F02EC92B18E18A970054C833 /* Images.xcassets */,
+ F0B32CAF18E4499B008E9AD2 /* CellVC.m */,
+ F02EC91718E18A960054C833 /* Supporting Files */,
+ );
+ path = PhotoWall;
+ sourceTree = "<group>";
+ };
+ F02EC91718E18A960054C833 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ F02EC91818E18A960054C833 /* PhotoWall-Info.plist */,
+ F02EC91918E18A960054C833 /* InfoPlist.strings */,
+ F02EC91C18E18A960054C833 /* main.m */,
+ F02EC91E18E18A960054C833 /* PhotoWall-Prefix.pch */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ F02EC93818E18A970054C833 /* PhotoWallTests */ = {
+ isa = PBXGroup;
+ children = (
+ F02EC93E18E18A980054C833 /* PhotoWallTests.m */,
+ F02EC93918E18A980054C833 /* Supporting Files */,
+ );
+ path = PhotoWallTests;
+ sourceTree = "<group>";
+ };
+ F02EC93918E18A980054C833 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ F02EC93A18E18A980054C833 /* PhotoWallTests-Info.plist */,
+ F02EC93B18E18A980054C833 /* InfoPlist.strings */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ F02EC90C18E18A960054C833 /* PhotoWall */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = F02EC94218E18A980054C833 /* Build configuration list for PBXNativeTarget "PhotoWall" */;
+ buildPhases = (
+ F02EC90918E18A960054C833 /* Sources */,
+ F02EC90A18E18A960054C833 /* Frameworks */,
+ F02EC90B18E18A960054C833 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = PhotoWall;
+ productName = PhotoWall;
+ productReference = F02EC90D18E18A960054C833 /* PhotoWall.app */;
+ productType = "com.apple.product-type.application";
+ };
+ F02EC93018E18A970054C833 /* PhotoWallTests */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = F02EC94518E18A980054C833 /* Build configuration list for PBXNativeTarget "PhotoWallTests" */;
+ buildPhases = (
+ F02EC92D18E18A970054C833 /* Sources */,
+ F02EC92E18E18A970054C833 /* Frameworks */,
+ F02EC92F18E18A970054C833 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ F02EC93718E18A970054C833 /* PBXTargetDependency */,
+ );
+ name = PhotoWallTests;
+ productName = PhotoWallTests;
+ productReference = F02EC93118E18A970054C833 /* PhotoWallTests.xctest */;
+ productType = "com.apple.product-type.bundle.unit-test";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ F02EC90518E18A960054C833 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0510;
+ ORGANIZATIONNAME = Black;
+ TargetAttributes = {
+ F02EC93018E18A970054C833 = {
+ TestTargetID = F02EC90C18E18A960054C833;
+ };
+ };
+ };
+ buildConfigurationList = F02EC90818E18A960054C833 /* Build configuration list for PBXProject "PhotoWall" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = F02EC90418E18A960054C833;
+ productRefGroup = F02EC90E18E18A960054C833 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ F02EC90C18E18A960054C833 /* PhotoWall */,
+ F02EC93018E18A970054C833 /* PhotoWallTests */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ F02EC90B18E18A960054C833 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F02EC92718E18A970054C833 /* Main_iPad.storyboard in Resources */,
+ F0B32CB218E4499B008E9AD2 /* CellVC.xib in Resources */,
+ F0B8D70E18E46A0100CA46DD /* test.jpg in Resources */,
+ F02EC92C18E18A970054C833 /* Images.xcassets in Resources */,
+ F02EC92418E18A960054C833 /* Main_iPhone.storyboard in Resources */,
+ F02EC91B18E18A960054C833 /* InfoPlist.strings in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ F02EC92F18E18A970054C833 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F02EC93D18E18A980054C833 /* InfoPlist.strings in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ F02EC90918E18A960054C833 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F02EC92A18E18A970054C833 /* ViewController.m in Sources */,
+ F02EC92118E18A960054C833 /* AppDelegate.m in Sources */,
+ F0B32CB118E4499B008E9AD2 /* CellVC.m in Sources */,
+ F02EC91D18E18A960054C833 /* main.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ F02EC92D18E18A970054C833 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F02EC93F18E18A980054C833 /* PhotoWallTests.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ F02EC93718E18A970054C833 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = F02EC90C18E18A960054C833 /* PhotoWall */;
+ targetProxy = F02EC93618E18A970054C833 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ F02EC91918E18A960054C833 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ F02EC91A18E18A960054C833 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ F02EC92218E18A960054C833 /* Main_iPhone.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ F02EC92318E18A960054C833 /* Base */,
+ );
+ name = Main_iPhone.storyboard;
+ sourceTree = "<group>";
+ };
+ F02EC92518E18A970054C833 /* Main_iPad.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ F02EC92618E18A970054C833 /* Base */,
+ );
+ name = Main_iPad.storyboard;
+ sourceTree = "<group>";
+ };
+ F02EC93B18E18A980054C833 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ F02EC93C18E18A980054C833 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ F02EC94018E18A980054C833 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ 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_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 7.1;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ F02EC94118E18A980054C833 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ 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_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 7.1;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ F02EC94318E18A980054C833 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "PhotoWall/PhotoWall-Prefix.pch";
+ INFOPLIST_FILE = "PhotoWall/PhotoWall-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ F02EC94418E18A980054C833 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "PhotoWall/PhotoWall-Prefix.pch";
+ INFOPLIST_FILE = "PhotoWall/PhotoWall-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+ F02EC94618E18A980054C833 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/PhotoWall.app/PhotoWall";
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(SDKROOT)/Developer/Library/Frameworks",
+ "$(inherited)",
+ "$(DEVELOPER_FRAMEWORKS_DIR)",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "PhotoWall/PhotoWall-Prefix.pch";
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ INFOPLIST_FILE = "PhotoWallTests/PhotoWallTests-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TEST_HOST = "$(BUNDLE_LOADER)";
+ WRAPPER_EXTENSION = xctest;
+ };
+ name = Debug;
+ };
+ F02EC94718E18A980054C833 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/PhotoWall.app/PhotoWall";
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(SDKROOT)/Developer/Library/Frameworks",
+ "$(inherited)",
+ "$(DEVELOPER_FRAMEWORKS_DIR)",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "PhotoWall/PhotoWall-Prefix.pch";
+ INFOPLIST_FILE = "PhotoWallTests/PhotoWallTests-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TEST_HOST = "$(BUNDLE_LOADER)";
+ WRAPPER_EXTENSION = xctest;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ F02EC90818E18A960054C833 /* Build configuration list for PBXProject "PhotoWall" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ F02EC94018E18A980054C833 /* Debug */,
+ F02EC94118E18A980054C833 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ F02EC94218E18A980054C833 /* Build configuration list for PBXNativeTarget "PhotoWall" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ F02EC94318E18A980054C833 /* Debug */,
+ F02EC94418E18A980054C833 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ F02EC94518E18A980054C833 /* Build configuration list for PBXNativeTarget "PhotoWallTests" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ F02EC94618E18A980054C833 /* Debug */,
+ F02EC94718E18A980054C833 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = F02EC90518E18A960054C833 /* Project object */;
+}
View
7 PhotoWall.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:PhotoWall.xcodeproj">
+ </FileRef>
+</Workspace>
View
15 PhotoWall/AppDelegate.h
@@ -0,0 +1,15 @@
+//
+// AppDelegate.h
+// PhotoWall
+//
+// Created by AlterEgo on 25.03.14.
+// Copyright (c) 2014 Black. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface AppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+
+@end
View
46 PhotoWall/AppDelegate.m
@@ -0,0 +1,46 @@
+//
+// AppDelegate.m
+// PhotoWall
+//
+// Created by AlterEgo on 25.03.14.
+// Copyright (c) 2014 Black. 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
View
30 PhotoWall/Base.lproj/Main_iPad.storyboard
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5023" systemVersion="13A603" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES" initialViewController="BYZ-38-t0r">
+ <dependencies>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
+ </dependencies>
+ <scenes>
+ <!--class Prefix:identifier View Controller-->
+ <scene sceneID="tne-QT-ifu">
+ <objects>
+ <viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController">
+ <layoutGuides>
+ <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
+ <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
+ </layoutGuides>
+ <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
+ <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+ </view>
+ </viewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
+ </objects>
+ </scene>
+ </scenes>
+ <simulatedMetricsContainer key="defaultSimulatedMetrics">
+ <simulatedStatusBarMetrics key="statusBar"/>
+ <simulatedOrientationMetrics key="orientation"/>
+ <simulatedScreenMetrics key="destination"/>
+ </simulatedMetricsContainer>
+</document>
View
44 PhotoWall/Base.lproj/Main_iPhone.storyboard
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5053" systemVersion="13C64" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="vXZ-lx-hvc">
+ <dependencies>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
+ </dependencies>
+ <scenes>
+ <!--View Controller-->
+ <scene sceneID="ufC-wZ-h7g">
+ <objects>
+ <viewController id="vXZ-lx-hvc" customClass="ViewController" sceneMemberID="viewController">
+ <layoutGuides>
+ <viewControllerLayoutGuide type="top" id="jyV-Pf-zRb"/>
+ <viewControllerLayoutGuide type="bottom" id="2fi-mo-0CV"/>
+ </layoutGuides>
+ <view key="view" contentMode="scaleToFill" id="kh9-bI-dsS">
+ <rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ <subviews>
+ <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="LwJ-cV-C38">
+ <rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <connections>
+ <outlet property="delegate" destination="vXZ-lx-hvc" id="f5P-to-FDL"/>
+ </connections>
+ </scrollView>
+ </subviews>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+ </view>
+ <connections>
+ <outlet property="mainView" destination="kh9-bI-dsS" id="p5q-sr-Zgd"/>
+ <outlet property="scroll" destination="LwJ-cV-C38" id="PmV-6E-Qd3"/>
+ <outlet property="scrollView" destination="LwJ-cV-C38" id="LtO-nq-uEl"/>
+ </connections>
+ </viewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
+ </objects>
+ </scene>
+ </scenes>
+ <simulatedMetricsContainer key="defaultSimulatedMetrics">
+ <simulatedStatusBarMetrics key="statusBar"/>
+ <simulatedOrientationMetrics key="orientation"/>
+ <simulatedScreenMetrics key="destination" type="retina4"/>
+ </simulatedMetricsContainer>
+</document>
View
22 PhotoWall/CellVC.h
@@ -0,0 +1,22 @@
+//
+// CellVC.h
+// PhotoWall
+//
+// Created by AlterEgo on 27.03.14.
+// Copyright (c) 2014 Black. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface CellVC : UIViewController{
+
+
+}
+
+@property (nonatomic,strong) IBOutlet UIImageView * image;
+@property (nonatomic,strong) IBOutlet UIActivityIndicatorView * indicator;
+@property (nonatomic,strong) NSMutableArray * adjacentPoints;
+
+-(NSMutableArray*)cellAdjacentPoints;
+
+@end
View
82 PhotoWall/CellVC.m
@@ -0,0 +1,82 @@
+//
+// CellVC.m
+// PhotoWall
+//
+// Created by AlterEgo on 27.03.14.
+// Copyright (c) 2014 Black. All rights reserved.
+//
+
+#import "CellVC.h"
+
+@interface CellVC ()
+
+@end
+
+@implementation CellVC
+
+- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
+{
+ self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+ if (self) {
+ if (self) {
+ self.image = [[UIImageView alloc]init];
+ [_image setFrame:CGRectMake(0, 0, 150, 150)];
+ [_image setBackgroundColor:[UIColor redColor]];
+
+ _indicator = [[UIActivityIndicatorView alloc]initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray];
+ [_indicator setColor:[UIColor blackColor]];
+ [_indicator setFrame:CGRectMake(0,0, 30, 30)];
+ }
+
+ }
+ return self;
+}
+
+-(NSMutableArray*)cellAdjacentPoints{
+ if (_adjacentPoints==NULL) {
+ _adjacentPoints = [[NSMutableArray alloc]init];
+ }
+
+ // 8 точек вокруг
+
+ CGPoint point1 = CGPointMake(self.view.center.x+150, self.view.center.y);
+ [_adjacentPoints addObject:[NSValue valueWithCGPoint:point1]];
+
+ CGPoint point2 = CGPointMake(self.view.center.x+150, self.view.center.y+150);
+ [_adjacentPoints addObject:[NSValue valueWithCGPoint:point2]];
+
+ CGPoint point3 = CGPointMake(self.view.center.x, self.view.center.y+150);
+ [_adjacentPoints addObject:[NSValue valueWithCGPoint:point3]];
+
+ CGPoint point4 = CGPointMake(self.view.center.x-150, self.view.center.y);
+ [_adjacentPoints addObject:[NSValue valueWithCGPoint:point4]];
+
+ CGPoint point5 = CGPointMake(self.view.center.x, self.view.center.y-150);
+ [_adjacentPoints addObject:[NSValue valueWithCGPoint:point5]];
+
+ CGPoint point6 = CGPointMake(self.view.center.x-150, self.view.center.y-150);
+ [_adjacentPoints addObject:[NSValue valueWithCGPoint:point6]];
+
+ CGPoint point7 = CGPointMake(self.view.center.x-150, self.view.center.y+150);
+ [_adjacentPoints addObject:[NSValue valueWithCGPoint:point7]];
+
+ CGPoint point8 = CGPointMake(self.view.center.x+150, self.view.center.y-150);
+ [_adjacentPoints addObject:[NSValue valueWithCGPoint:point8]];
+
+ return _adjacentPoints;
+}
+
+
+- (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
View
33 PhotoWall/CellVC.xib
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="5053" systemVersion="13C64" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
+ <dependencies>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
+ </dependencies>
+ <objects>
+ <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="CellVC">
+ <connections>
+ <outlet property="image" destination="X1z-dm-ZRW" id="3kq-1G-bSM"/>
+ <outlet property="indicator" destination="t1v-K9-Fj9" id="iQa-Ae-BYJ"/>
+ <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
+ </connections>
+ </placeholder>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
+ <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
+ <rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <subviews>
+ <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="X1z-dm-ZRW">
+ <rect key="frame" x="0.0" y="0.0" width="150" height="150"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ </imageView>
+ <activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" style="gray" translatesAutoresizingMaskIntoConstraints="NO" id="t1v-K9-Fj9">
+ <rect key="frame" x="65" y="65" width="20" height="20"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ </activityIndicatorView>
+ </subviews>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+ <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
+ <simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
+ </view>
+ </objects>
+</document>
View
53 PhotoWall/Images.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,53 @@
+{
+ "images" : [
+ {
+ "idiom" : "iphone",
+ "size" : "29x29",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "iphone",
+ "size" : "40x40",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "iphone",
+ "size" : "60x60",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "29x29",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "29x29",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "40x40",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "40x40",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "76x76",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "76x76",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
View
51 PhotoWall/Images.xcassets/LaunchImage.launchimage/Contents.json
@@ -0,0 +1,51 @@
+{
+ "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"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "ipad",
+ "extent" : "full-screen",
+ "minimum-system-version" : "7.0",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "landscape",
+ "idiom" : "ipad",
+ "extent" : "full-screen",
+ "minimum-system-version" : "7.0",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "ipad",
+ "extent" : "full-screen",
+ "minimum-system-version" : "7.0",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "landscape",
+ "idiom" : "ipad",
+ "extent" : "full-screen",
+ "minimum-system-version" : "7.0",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
View
49 PhotoWall/PhotoWall-Info.plist
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>LuxorSoft.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>UIMainStoryboardFile</key>
+ <string>Main_iPhone</string>
+ <key>UIMainStoryboardFile~ipad</key>
+ <string>Main_iPad</string>
+ <key>UIRequiredDeviceCapabilities</key>
+ <array>
+ <string>armv7</string>
+ </array>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+ <key>UISupportedInterfaceOrientations~ipad</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
View
16 PhotoWall/PhotoWall-Prefix.pch
@@ -0,0 +1,16 @@
+//
+// Prefix header
+//
+// The contents of this file are implicitly included at the beginning of every source file.
+//
+
+#import <Availability.h>
+
+#ifndef __IPHONE_5_0
+#warning "This project uses features only available in iOS SDK 5.0 and later."
+#endif
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+#endif
View
34 PhotoWall/ViewController.h
@@ -0,0 +1,34 @@
+//
+// ViewController.h
+// PhotoWall
+//
+// Created by AlterEgo on 25.03.14.
+// Copyright (c) 2014 Black. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+#import "CellVC.h"
+#define SCREEN_H [ [ UIScreen mainScreen ] bounds ].size.height
+#define SCREEN_W [ [ UIScreen mainScreen ] bounds ].size.width
+
+@interface ViewController : UIViewController<UIScrollViewDelegate>{
+ int conteiner_width;
+ int conteiner_height;
+ int iterator;
+ int countRequest;
+ int stroke;
+ int line;
+}
+@property(nonatomic) BOOL firstTime;
+@property(nonatomic) BOOL firstShow;
+@property(nonatomic,strong) NSMutableArray * cellsArray;
+@property(nonatomic,strong) id delegate;
+@property(nonatomic,strong) IBOutlet UIView * mainView;
+@property(nonatomic,strong) IBOutlet UIScrollView * scrollView;
+@property(nonatomic,strong) IBOutlet UIView * contentView;
+@property(nonatomic,strong) NSMutableArray * dataArray;
+
+@property(nonatomic, strong) IBOutlet UIScrollView *scroll;
+@property(nonatomic, strong) NSMutableArray * pointsArray;
+
+@end
View
195 PhotoWall/ViewController.m
@@ -0,0 +1,195 @@
+//
+// ViewController.m
+// PhotoWall
+//
+// Created by AlterEgo on 25.03.14.
+// Copyright (c) 2014 Black. All rights reserved.
+//
+
+#import "ViewController.h"
+
+@interface ViewController ()
+
+@end
+
+
+
+@implementation ViewController
+int size;
+
+- (void)viewDidLoad
+{
+ [super viewDidLoad];
+ size = 1000000;
+ // Do any additional setup after loading the view, typically from a nib.
+ _scroll.contentSize = CGSizeMake(size, size);
+ _scroll.contentOffset = CGPointMake(size/2,size/2);
+ [self createStart];
+
+// _pointsArray = [[NSMutableArray alloc]init];
+// for (int i = 0;i < MAXFLOAT; i++) {
+// for (int j = 0; j<MAXFLOAT; j++) {
+// [_pointsArray addObject:[NSValue valueWithCGPoint:CGPointMake(150 * i, 150 * j)]];
+// }
+// }
+
+}
+
+- (void)didReceiveMemoryWarning
+{
+ [super didReceiveMemoryWarning];
+ // Dispose of any resources that can be recreated.
+}
+
+-(void)createStart{
+// for (int i = 0; i < 4; i++) {
+// for (int j = 0; j < 4; j++) {
+// UIView * view = [[UIView alloc]init];
+// [view setBackgroundColor:[UIColor redColor]];
+// [view setFrame:CGRectMake(size/2+150*i, size/2+150*j, 150, 150)];
+// [_scroll addSubview:view];
+// }
+// }
+// _scroll.bounces = NO;
+ _pointsArray = [[NSMutableArray alloc]init];
+ _cellsArray = [[NSMutableArray alloc]init];
+ [self setDataImagesForWatching];
+}
+
+// version 1.0
+-(void)setDataImagesForWatching{
+
+ int count = 0;
+// float pudding = 0;
+// int startPoint = size/2;
+
+
+ if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad){
+ stroke = 6;
+ line = 10;
+ } else {
+ stroke = 4;
+ line = 15;
+ }
+
+
+ for (int i = 0; i<stroke; i++) {
+
+ for (int j = 0; j<line; j++) {
+
+ CellVC * view = [[CellVC alloc] initWithNibName:@"CellVC" bundle:nil];
+ [view.view setFrame:CGRectMake(size/2+150*i, size/2+150*j, 150, 150)];
+
+ [_pointsArray addObject:[NSValue valueWithCGPoint:CGPointMake(size/2+150*i, size/2+150*j)]];
+
+ [view.view setBackgroundColor:[UIColor redColor]];
+ [self.scrollView addSubview:view.view];
+ [view.indicator startAnimating];
+ [_cellsArray addObject:view];
+ view.adjacentPoints = [view cellAdjacentPoints];
+
+ UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(singleTapGestureCaptured:)];
+ [view.view addGestureRecognizer:singleTap];
+ [view.view setUserInteractionEnabled:YES];
+ [view.view setTag:iterator];
+
+ iterator++;
+ count++;
+ if (count==60) {
+ count = 0;
+ }
+ }
+ }
+
+ [self removePointsAfterAddElement];
+
+
+
+ if (_firstTime) {
+ conteiner_width = conteiner_width + 2250;
+ }
+
+ _firstTime = YES;
+}
+
+-(void)singleTapGestureCaptured:(id)sender{
+ NSLog(@"TAP = %ld",(long)((UIViewController*)sender).view.tag);
+}
+
+-(void)removePointsAfterAddElement{
+ // удаление базовых точек размещенных ячеек
+ for (int k = 0; k<_pointsArray.count-1; k++) {
+ for (int i =0; i<_cellsArray.count-1; i++) {
+ CellVC * cell = _cellsArray[i];
+ for (int j = 0; j<cell.adjacentPoints.count-1; j++) {
+ CGPoint pointDelete = ((NSValue*)cell.adjacentPoints[j]).CGPointValue;
+ CGPoint pointdata =((NSValue*)_pointsArray[k]).CGPointValue;
+ if (CGPointEqualToPoint(pointDelete,pointdata)) {
+ [cell.adjacentPoints removeObject:(NSValue*)_pointsArray[k]];
+
+ }
+ }
+ }
+ }
+}
+
+-(void)scrollViewDidScroll:(UIScrollView *)scrollView{
+ NSLog(@"Scroll veloscity x = %f, y = %f",_scroll.contentOffset.x ,_scroll.contentOffset.y);
+ CGRect screenRect = CGRectMake(scrollView.contentOffset.x, scrollView.contentOffset.y, SCREEN_W, SCREEN_H);
+
+ // проверка и добавление новых ячеек
+ NSUInteger count = _cellsArray.count;
+ if(_cellsArray!=NULL && count>0)
+ for (int i = 0; i<count-1; i++) {
+ CellVC *cell =(CellVC*)_cellsArray[i];
+ NSMutableArray * cellarray = cell.adjacentPoints;
+ for (int j = 0; j<cellarray.count-1;j++) {
+ NSValue* pointValue = ((NSValue*)cellarray[j]);
+ if (CGRectContainsPoint(screenRect,pointValue.CGPointValue)) {
+ if (![_pointsArray containsObject:(NSValue*)cellarray[j]]) {
+ CellVC * viewPoint = [[CellVC alloc]init];
+ [viewPoint.view setFrame:CGRectMake(pointValue.CGPointValue.x,pointValue.CGPointValue.y, 150, 150)];
+ [viewPoint.view setBackgroundColor:[UIColor blackColor]];
+ viewPoint.view.tag = iterator;
+ // тестовая картинка
+ viewPoint.image.image = [UIImage imageNamed:@"test.jpg"];
+ viewPoint.adjacentPoints = [viewPoint cellAdjacentPoints];
+
+ UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(singleTapGestureCaptured:)];
+ [viewPoint.view addGestureRecognizer:singleTap];
+ [viewPoint.view setUserInteractionEnabled:YES];
+ [viewPoint.view setTag:iterator];
+
+ iterator++;
+ [_pointsArray addObject:[NSValue valueWithCGPoint:CGPointMake(pointValue.CGPointValue.x, pointValue.CGPointValue.y)]];
+ [_cellsArray addObject:viewPoint];
+ [self.scroll addSubview: viewPoint.view];
+// [self removePointsAfterAddElement];
+ [self removePointFromArrays:pointValue.CGPointValue];
+ }
+ }
+ }
+ }
+}
+
+-(void)removePointFromArrays:(CGPoint)point{
+ // удаление точек размещенных ячеек
+ for (int j = 0; j<_cellsArray.count-1;j++) {
+ CellVC* cell = _cellsArray[j];
+ for (int i = 0; i<cell.adjacentPoints.count-1; i++) {
+ if (CGPointEqualToPoint(point, ((NSValue*)cell.adjacentPoints[i]).CGPointValue)) {
+ [cell.adjacentPoints removeObjectAtIndex:i];
+ }
+ }
+ }
+}
+
+-(void)scrollViewWillBeginDecelerating:(UIScrollView *)scrollView{
+// NSLog(@"Scroll veloscity x = %f, y = %f",_scroll.contentOffset.x ,_scroll.contentOffset.y);
+}
+
+-(void)scrollViewWillEndDragging:(UIScrollView *)scrollView withVelocity:(CGPoint)velocity targetContentOffset:(inout CGPoint *)targetContentOffset{
+// NSLog(@"Scroll veloscity x = %f, y = %f",targetContentOffset->x, targetContentOffset->y);
+}
+
+@end
View
2  PhotoWall/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
View
18 PhotoWall/main.m
@@ -0,0 +1,18 @@
+//
+// main.m
+// PhotoWall
+//
+// Created by AlterEgo on 25.03.14.
+// Copyright (c) 2014 Black. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+#import "AppDelegate.h"
+
+int main(int argc, char * argv[])
+{
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
+ }
+}
View
BIN  PhotoWall/test.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
22 PhotoWallTests/PhotoWallTests-Info.plist
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>LuxorSoft.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>BNDL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+</dict>
+</plist>
View
34 PhotoWallTests/PhotoWallTests.m
@@ -0,0 +1,34 @@
+//
+// PhotoWallTests.m
+// PhotoWallTests
+//
+// Created by AlterEgo on 25.03.14.
+// Copyright (c) 2014 Black. All rights reserved.
+//
+
+#import <XCTest/XCTest.h>
+
+@interface PhotoWallTests : XCTestCase
+
+@end
+
+@implementation PhotoWallTests
+
+- (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
View
2  PhotoWallTests/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
Please sign in to comment.
Something went wrong with that request. Please try again.