Initial Commit
This commit is contained in:
commit
b32eb6092c
479
Flikrkr.xcodeproj/project.pbxproj
Normal file
479
Flikrkr.xcodeproj/project.pbxproj
Normal file
@ -0,0 +1,479 @@
|
|||||||
|
// !$*UTF8*$!
|
||||||
|
{
|
||||||
|
archiveVersion = 1;
|
||||||
|
classes = {
|
||||||
|
};
|
||||||
|
objectVersion = 46;
|
||||||
|
objects = {
|
||||||
|
|
||||||
|
/* Begin PBXBuildFile section */
|
||||||
|
5A11DCFE18F68644007CE97C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A11DCFD18F68644007CE97C /* Foundation.framework */; };
|
||||||
|
5A11DD0018F68644007CE97C /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A11DCFF18F68644007CE97C /* CoreGraphics.framework */; };
|
||||||
|
5A11DD0218F68644007CE97C /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A11DD0118F68644007CE97C /* UIKit.framework */; };
|
||||||
|
5A11DD0418F68644007CE97C /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A11DD0318F68644007CE97C /* CoreData.framework */; };
|
||||||
|
5A11DD0A18F68644007CE97C /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 5A11DD0818F68644007CE97C /* InfoPlist.strings */; };
|
||||||
|
5A11DD0C18F68644007CE97C /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A11DD0B18F68644007CE97C /* main.m */; };
|
||||||
|
5A11DD1018F68644007CE97C /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A11DD0F18F68644007CE97C /* AppDelegate.m */; };
|
||||||
|
5A11DD1318F68644007CE97C /* Flikrkr.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 5A11DD1118F68644007CE97C /* Flikrkr.xcdatamodeld */; };
|
||||||
|
5A11DD1518F68644007CE97C /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5A11DD1418F68644007CE97C /* Images.xcassets */; };
|
||||||
|
5A11DD1C18F68644007CE97C /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A11DD1B18F68644007CE97C /* XCTest.framework */; };
|
||||||
|
5A11DD1D18F68644007CE97C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A11DCFD18F68644007CE97C /* Foundation.framework */; };
|
||||||
|
5A11DD1E18F68644007CE97C /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A11DD0118F68644007CE97C /* UIKit.framework */; };
|
||||||
|
5A11DD1F18F68644007CE97C /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A11DD0318F68644007CE97C /* CoreData.framework */; };
|
||||||
|
5A11DD2718F68646007CE97C /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 5A11DD2518F68646007CE97C /* InfoPlist.strings */; };
|
||||||
|
5A11DD2918F68646007CE97C /* FlikrkrTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A11DD2818F68646007CE97C /* FlikrkrTests.m */; };
|
||||||
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
|
/* Begin PBXContainerItemProxy section */
|
||||||
|
5A11DD2018F68644007CE97C /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = 5A11DCF218F68644007CE97C /* Project object */;
|
||||||
|
proxyType = 1;
|
||||||
|
remoteGlobalIDString = 5A11DCF918F68644007CE97C;
|
||||||
|
remoteInfo = Flikrkr;
|
||||||
|
};
|
||||||
|
/* End PBXContainerItemProxy section */
|
||||||
|
|
||||||
|
/* Begin PBXFileReference section */
|
||||||
|
5A11DCFA18F68644007CE97C /* Flikrkr.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Flikrkr.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
|
5A11DCFD18F68644007CE97C /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
||||||
|
5A11DCFF18F68644007CE97C /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
|
||||||
|
5A11DD0118F68644007CE97C /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
||||||
|
5A11DD0318F68644007CE97C /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
|
||||||
|
5A11DD0718F68644007CE97C /* Flikrkr-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Flikrkr-Info.plist"; sourceTree = "<group>"; };
|
||||||
|
5A11DD0918F68644007CE97C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||||
|
5A11DD0B18F68644007CE97C /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
||||||
|
5A11DD0D18F68644007CE97C /* Flikrkr-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Flikrkr-Prefix.pch"; sourceTree = "<group>"; };
|
||||||
|
5A11DD0E18F68644007CE97C /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
|
||||||
|
5A11DD0F18F68644007CE97C /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
|
||||||
|
5A11DD1218F68644007CE97C /* Flikrkr.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Flikrkr.xcdatamodel; sourceTree = "<group>"; };
|
||||||
|
5A11DD1418F68644007CE97C /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
|
||||||
|
5A11DD1A18F68644007CE97C /* FlikrkrTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FlikrkrTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
|
5A11DD1B18F68644007CE97C /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
|
||||||
|
5A11DD2418F68646007CE97C /* FlikrkrTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "FlikrkrTests-Info.plist"; sourceTree = "<group>"; };
|
||||||
|
5A11DD2618F68646007CE97C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||||
|
5A11DD2818F68646007CE97C /* FlikrkrTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FlikrkrTests.m; sourceTree = "<group>"; };
|
||||||
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
|
/* Begin PBXFrameworksBuildPhase section */
|
||||||
|
5A11DCF718F68644007CE97C /* Frameworks */ = {
|
||||||
|
isa = PBXFrameworksBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
5A11DD0018F68644007CE97C /* CoreGraphics.framework in Frameworks */,
|
||||||
|
5A11DD0418F68644007CE97C /* CoreData.framework in Frameworks */,
|
||||||
|
5A11DD0218F68644007CE97C /* UIKit.framework in Frameworks */,
|
||||||
|
5A11DCFE18F68644007CE97C /* Foundation.framework in Frameworks */,
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
|
5A11DD1718F68644007CE97C /* Frameworks */ = {
|
||||||
|
isa = PBXFrameworksBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
5A11DD1C18F68644007CE97C /* XCTest.framework in Frameworks */,
|
||||||
|
5A11DD1F18F68644007CE97C /* CoreData.framework in Frameworks */,
|
||||||
|
5A11DD1E18F68644007CE97C /* UIKit.framework in Frameworks */,
|
||||||
|
5A11DD1D18F68644007CE97C /* Foundation.framework in Frameworks */,
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
|
/* End PBXFrameworksBuildPhase section */
|
||||||
|
|
||||||
|
/* Begin PBXGroup section */
|
||||||
|
5A11DCF118F68644007CE97C = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
5A11DD0518F68644007CE97C /* Flikrkr */,
|
||||||
|
5A11DD2218F68644007CE97C /* FlikrkrTests */,
|
||||||
|
5A11DCFC18F68644007CE97C /* Frameworks */,
|
||||||
|
5A11DCFB18F68644007CE97C /* Products */,
|
||||||
|
);
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
5A11DCFB18F68644007CE97C /* Products */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
5A11DCFA18F68644007CE97C /* Flikrkr.app */,
|
||||||
|
5A11DD1A18F68644007CE97C /* FlikrkrTests.xctest */,
|
||||||
|
);
|
||||||
|
name = Products;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
5A11DCFC18F68644007CE97C /* Frameworks */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
5A11DCFD18F68644007CE97C /* Foundation.framework */,
|
||||||
|
5A11DCFF18F68644007CE97C /* CoreGraphics.framework */,
|
||||||
|
5A11DD0118F68644007CE97C /* UIKit.framework */,
|
||||||
|
5A11DD0318F68644007CE97C /* CoreData.framework */,
|
||||||
|
5A11DD1B18F68644007CE97C /* XCTest.framework */,
|
||||||
|
);
|
||||||
|
name = Frameworks;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
5A11DD0518F68644007CE97C /* Flikrkr */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
5A11DD0E18F68644007CE97C /* AppDelegate.h */,
|
||||||
|
5A11DD0F18F68644007CE97C /* AppDelegate.m */,
|
||||||
|
5A11DD1418F68644007CE97C /* Images.xcassets */,
|
||||||
|
5A11DD1118F68644007CE97C /* Flikrkr.xcdatamodeld */,
|
||||||
|
5A11DD0618F68644007CE97C /* Supporting Files */,
|
||||||
|
);
|
||||||
|
path = Flikrkr;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
5A11DD0618F68644007CE97C /* Supporting Files */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
5A11DD0718F68644007CE97C /* Flikrkr-Info.plist */,
|
||||||
|
5A11DD0818F68644007CE97C /* InfoPlist.strings */,
|
||||||
|
5A11DD0B18F68644007CE97C /* main.m */,
|
||||||
|
5A11DD0D18F68644007CE97C /* Flikrkr-Prefix.pch */,
|
||||||
|
);
|
||||||
|
name = "Supporting Files";
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
5A11DD2218F68644007CE97C /* FlikrkrTests */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
5A11DD2818F68646007CE97C /* FlikrkrTests.m */,
|
||||||
|
5A11DD2318F68646007CE97C /* Supporting Files */,
|
||||||
|
);
|
||||||
|
path = FlikrkrTests;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
5A11DD2318F68646007CE97C /* Supporting Files */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
5A11DD2418F68646007CE97C /* FlikrkrTests-Info.plist */,
|
||||||
|
5A11DD2518F68646007CE97C /* InfoPlist.strings */,
|
||||||
|
);
|
||||||
|
name = "Supporting Files";
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
/* End PBXGroup section */
|
||||||
|
|
||||||
|
/* Begin PBXNativeTarget section */
|
||||||
|
5A11DCF918F68644007CE97C /* Flikrkr */ = {
|
||||||
|
isa = PBXNativeTarget;
|
||||||
|
buildConfigurationList = 5A11DD2C18F68646007CE97C /* Build configuration list for PBXNativeTarget "Flikrkr" */;
|
||||||
|
buildPhases = (
|
||||||
|
5A11DCF618F68644007CE97C /* Sources */,
|
||||||
|
5A11DCF718F68644007CE97C /* Frameworks */,
|
||||||
|
5A11DCF818F68644007CE97C /* Resources */,
|
||||||
|
);
|
||||||
|
buildRules = (
|
||||||
|
);
|
||||||
|
dependencies = (
|
||||||
|
);
|
||||||
|
name = Flikrkr;
|
||||||
|
productName = Flikrkr;
|
||||||
|
productReference = 5A11DCFA18F68644007CE97C /* Flikrkr.app */;
|
||||||
|
productType = "com.apple.product-type.application";
|
||||||
|
};
|
||||||
|
5A11DD1918F68644007CE97C /* FlikrkrTests */ = {
|
||||||
|
isa = PBXNativeTarget;
|
||||||
|
buildConfigurationList = 5A11DD2F18F68646007CE97C /* Build configuration list for PBXNativeTarget "FlikrkrTests" */;
|
||||||
|
buildPhases = (
|
||||||
|
5A11DD1618F68644007CE97C /* Sources */,
|
||||||
|
5A11DD1718F68644007CE97C /* Frameworks */,
|
||||||
|
5A11DD1818F68644007CE97C /* Resources */,
|
||||||
|
);
|
||||||
|
buildRules = (
|
||||||
|
);
|
||||||
|
dependencies = (
|
||||||
|
5A11DD2118F68644007CE97C /* PBXTargetDependency */,
|
||||||
|
);
|
||||||
|
name = FlikrkrTests;
|
||||||
|
productName = FlikrkrTests;
|
||||||
|
productReference = 5A11DD1A18F68644007CE97C /* FlikrkrTests.xctest */;
|
||||||
|
productType = "com.apple.product-type.bundle.unit-test";
|
||||||
|
};
|
||||||
|
/* End PBXNativeTarget section */
|
||||||
|
|
||||||
|
/* Begin PBXProject section */
|
||||||
|
5A11DCF218F68644007CE97C /* Project object */ = {
|
||||||
|
isa = PBXProject;
|
||||||
|
attributes = {
|
||||||
|
LastUpgradeCheck = 0500;
|
||||||
|
ORGANIZATIONNAME = Oui;
|
||||||
|
TargetAttributes = {
|
||||||
|
5A11DD1918F68644007CE97C = {
|
||||||
|
TestTargetID = 5A11DCF918F68644007CE97C;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
buildConfigurationList = 5A11DCF518F68644007CE97C /* Build configuration list for PBXProject "Flikrkr" */;
|
||||||
|
compatibilityVersion = "Xcode 3.2";
|
||||||
|
developmentRegion = English;
|
||||||
|
hasScannedForEncodings = 0;
|
||||||
|
knownRegions = (
|
||||||
|
en,
|
||||||
|
);
|
||||||
|
mainGroup = 5A11DCF118F68644007CE97C;
|
||||||
|
productRefGroup = 5A11DCFB18F68644007CE97C /* Products */;
|
||||||
|
projectDirPath = "";
|
||||||
|
projectRoot = "";
|
||||||
|
targets = (
|
||||||
|
5A11DCF918F68644007CE97C /* Flikrkr */,
|
||||||
|
5A11DD1918F68644007CE97C /* FlikrkrTests */,
|
||||||
|
);
|
||||||
|
};
|
||||||
|
/* End PBXProject section */
|
||||||
|
|
||||||
|
/* Begin PBXResourcesBuildPhase section */
|
||||||
|
5A11DCF818F68644007CE97C /* Resources */ = {
|
||||||
|
isa = PBXResourcesBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
5A11DD0A18F68644007CE97C /* InfoPlist.strings in Resources */,
|
||||||
|
5A11DD1518F68644007CE97C /* Images.xcassets in Resources */,
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
|
5A11DD1818F68644007CE97C /* Resources */ = {
|
||||||
|
isa = PBXResourcesBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
5A11DD2718F68646007CE97C /* InfoPlist.strings in Resources */,
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
|
/* End PBXResourcesBuildPhase section */
|
||||||
|
|
||||||
|
/* Begin PBXSourcesBuildPhase section */
|
||||||
|
5A11DCF618F68644007CE97C /* Sources */ = {
|
||||||
|
isa = PBXSourcesBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
5A11DD1318F68644007CE97C /* Flikrkr.xcdatamodeld in Sources */,
|
||||||
|
5A11DD1018F68644007CE97C /* AppDelegate.m in Sources */,
|
||||||
|
5A11DD0C18F68644007CE97C /* main.m in Sources */,
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
|
5A11DD1618F68644007CE97C /* Sources */ = {
|
||||||
|
isa = PBXSourcesBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
5A11DD2918F68646007CE97C /* FlikrkrTests.m in Sources */,
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
|
/* End PBXSourcesBuildPhase section */
|
||||||
|
|
||||||
|
/* Begin PBXTargetDependency section */
|
||||||
|
5A11DD2118F68644007CE97C /* PBXTargetDependency */ = {
|
||||||
|
isa = PBXTargetDependency;
|
||||||
|
target = 5A11DCF918F68644007CE97C /* Flikrkr */;
|
||||||
|
targetProxy = 5A11DD2018F68644007CE97C /* PBXContainerItemProxy */;
|
||||||
|
};
|
||||||
|
/* End PBXTargetDependency section */
|
||||||
|
|
||||||
|
/* Begin PBXVariantGroup section */
|
||||||
|
5A11DD0818F68644007CE97C /* InfoPlist.strings */ = {
|
||||||
|
isa = PBXVariantGroup;
|
||||||
|
children = (
|
||||||
|
5A11DD0918F68644007CE97C /* en */,
|
||||||
|
);
|
||||||
|
name = InfoPlist.strings;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
5A11DD2518F68646007CE97C /* InfoPlist.strings */ = {
|
||||||
|
isa = PBXVariantGroup;
|
||||||
|
children = (
|
||||||
|
5A11DD2618F68646007CE97C /* en */,
|
||||||
|
);
|
||||||
|
name = InfoPlist.strings;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
/* End PBXVariantGroup section */
|
||||||
|
|
||||||
|
/* Begin XCBuildConfiguration section */
|
||||||
|
5A11DD2A18F68646007CE97C /* 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;
|
||||||
|
};
|
||||||
|
5A11DD2B18F68646007CE97C /* 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;
|
||||||
|
};
|
||||||
|
5A11DD2D18F68646007CE97C /* Debug */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
|
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
|
||||||
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||||
|
GCC_PREFIX_HEADER = "Flikrkr/Flikrkr-Prefix.pch";
|
||||||
|
INFOPLIST_FILE = "Flikrkr/Flikrkr-Info.plist";
|
||||||
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
WRAPPER_EXTENSION = app;
|
||||||
|
};
|
||||||
|
name = Debug;
|
||||||
|
};
|
||||||
|
5A11DD2E18F68646007CE97C /* Release */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
|
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
|
||||||
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||||
|
GCC_PREFIX_HEADER = "Flikrkr/Flikrkr-Prefix.pch";
|
||||||
|
INFOPLIST_FILE = "Flikrkr/Flikrkr-Info.plist";
|
||||||
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
WRAPPER_EXTENSION = app;
|
||||||
|
};
|
||||||
|
name = Release;
|
||||||
|
};
|
||||||
|
5A11DD3018F68646007CE97C /* Debug */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
|
||||||
|
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Flikrkr.app/Flikrkr";
|
||||||
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
|
"$(SDKROOT)/Developer/Library/Frameworks",
|
||||||
|
"$(inherited)",
|
||||||
|
"$(DEVELOPER_FRAMEWORKS_DIR)",
|
||||||
|
);
|
||||||
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||||
|
GCC_PREFIX_HEADER = "Flikrkr/Flikrkr-Prefix.pch";
|
||||||
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||||
|
"DEBUG=1",
|
||||||
|
"$(inherited)",
|
||||||
|
);
|
||||||
|
INFOPLIST_FILE = "FlikrkrTests/FlikrkrTests-Info.plist";
|
||||||
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
TEST_HOST = "$(BUNDLE_LOADER)";
|
||||||
|
WRAPPER_EXTENSION = xctest;
|
||||||
|
};
|
||||||
|
name = Debug;
|
||||||
|
};
|
||||||
|
5A11DD3118F68646007CE97C /* Release */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
|
||||||
|
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Flikrkr.app/Flikrkr";
|
||||||
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
|
"$(SDKROOT)/Developer/Library/Frameworks",
|
||||||
|
"$(inherited)",
|
||||||
|
"$(DEVELOPER_FRAMEWORKS_DIR)",
|
||||||
|
);
|
||||||
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||||
|
GCC_PREFIX_HEADER = "Flikrkr/Flikrkr-Prefix.pch";
|
||||||
|
INFOPLIST_FILE = "FlikrkrTests/FlikrkrTests-Info.plist";
|
||||||
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
TEST_HOST = "$(BUNDLE_LOADER)";
|
||||||
|
WRAPPER_EXTENSION = xctest;
|
||||||
|
};
|
||||||
|
name = Release;
|
||||||
|
};
|
||||||
|
/* End XCBuildConfiguration section */
|
||||||
|
|
||||||
|
/* Begin XCConfigurationList section */
|
||||||
|
5A11DCF518F68644007CE97C /* Build configuration list for PBXProject "Flikrkr" */ = {
|
||||||
|
isa = XCConfigurationList;
|
||||||
|
buildConfigurations = (
|
||||||
|
5A11DD2A18F68646007CE97C /* Debug */,
|
||||||
|
5A11DD2B18F68646007CE97C /* Release */,
|
||||||
|
);
|
||||||
|
defaultConfigurationIsVisible = 0;
|
||||||
|
defaultConfigurationName = Release;
|
||||||
|
};
|
||||||
|
5A11DD2C18F68646007CE97C /* Build configuration list for PBXNativeTarget "Flikrkr" */ = {
|
||||||
|
isa = XCConfigurationList;
|
||||||
|
buildConfigurations = (
|
||||||
|
5A11DD2D18F68646007CE97C /* Debug */,
|
||||||
|
5A11DD2E18F68646007CE97C /* Release */,
|
||||||
|
);
|
||||||
|
defaultConfigurationIsVisible = 0;
|
||||||
|
};
|
||||||
|
5A11DD2F18F68646007CE97C /* Build configuration list for PBXNativeTarget "FlikrkrTests" */ = {
|
||||||
|
isa = XCConfigurationList;
|
||||||
|
buildConfigurations = (
|
||||||
|
5A11DD3018F68646007CE97C /* Debug */,
|
||||||
|
5A11DD3118F68646007CE97C /* Release */,
|
||||||
|
);
|
||||||
|
defaultConfigurationIsVisible = 0;
|
||||||
|
};
|
||||||
|
/* End XCConfigurationList section */
|
||||||
|
|
||||||
|
/* Begin XCVersionGroup section */
|
||||||
|
5A11DD1118F68644007CE97C /* Flikrkr.xcdatamodeld */ = {
|
||||||
|
isa = XCVersionGroup;
|
||||||
|
children = (
|
||||||
|
5A11DD1218F68644007CE97C /* Flikrkr.xcdatamodel */,
|
||||||
|
);
|
||||||
|
currentVersion = 5A11DD1218F68644007CE97C /* Flikrkr.xcdatamodel */;
|
||||||
|
path = Flikrkr.xcdatamodeld;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
versionGroupType = wrapper.xcdatamodel;
|
||||||
|
};
|
||||||
|
/* End XCVersionGroup section */
|
||||||
|
};
|
||||||
|
rootObject = 5A11DCF218F68644007CE97C /* Project object */;
|
||||||
|
}
|
7
Flikrkr.xcodeproj/project.xcworkspace/contents.xcworkspacedata
generated
Normal file
7
Flikrkr.xcodeproj/project.xcworkspace/contents.xcworkspacedata
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Workspace
|
||||||
|
version = "1.0">
|
||||||
|
<FileRef
|
||||||
|
location = "self:Flikrkr.xcodeproj">
|
||||||
|
</FileRef>
|
||||||
|
</Workspace>
|
@ -0,0 +1,96 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Scheme
|
||||||
|
LastUpgradeVersion = "0500"
|
||||||
|
version = "1.3">
|
||||||
|
<BuildAction
|
||||||
|
parallelizeBuildables = "YES"
|
||||||
|
buildImplicitDependencies = "YES">
|
||||||
|
<BuildActionEntries>
|
||||||
|
<BuildActionEntry
|
||||||
|
buildForTesting = "YES"
|
||||||
|
buildForRunning = "YES"
|
||||||
|
buildForProfiling = "YES"
|
||||||
|
buildForArchiving = "YES"
|
||||||
|
buildForAnalyzing = "YES">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "5A11DCF918F68644007CE97C"
|
||||||
|
BuildableName = "Flikrkr.app"
|
||||||
|
BlueprintName = "Flikrkr"
|
||||||
|
ReferencedContainer = "container:Flikrkr.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildActionEntry>
|
||||||
|
</BuildActionEntries>
|
||||||
|
</BuildAction>
|
||||||
|
<TestAction
|
||||||
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
|
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||||
|
buildConfiguration = "Debug">
|
||||||
|
<Testables>
|
||||||
|
<TestableReference
|
||||||
|
skipped = "NO">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "5A11DD1918F68644007CE97C"
|
||||||
|
BuildableName = "FlikrkrTests.xctest"
|
||||||
|
BlueprintName = "FlikrkrTests"
|
||||||
|
ReferencedContainer = "container:Flikrkr.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</TestableReference>
|
||||||
|
</Testables>
|
||||||
|
<MacroExpansion>
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "5A11DCF918F68644007CE97C"
|
||||||
|
BuildableName = "Flikrkr.app"
|
||||||
|
BlueprintName = "Flikrkr"
|
||||||
|
ReferencedContainer = "container:Flikrkr.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</MacroExpansion>
|
||||||
|
</TestAction>
|
||||||
|
<LaunchAction
|
||||||
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
|
launchStyle = "0"
|
||||||
|
useCustomWorkingDirectory = "NO"
|
||||||
|
buildConfiguration = "Debug"
|
||||||
|
ignoresPersistentStateOnLaunch = "NO"
|
||||||
|
debugDocumentVersioning = "YES"
|
||||||
|
allowLocationSimulation = "YES">
|
||||||
|
<BuildableProductRunnable>
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "5A11DCF918F68644007CE97C"
|
||||||
|
BuildableName = "Flikrkr.app"
|
||||||
|
BlueprintName = "Flikrkr"
|
||||||
|
ReferencedContainer = "container:Flikrkr.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildableProductRunnable>
|
||||||
|
<AdditionalOptions>
|
||||||
|
</AdditionalOptions>
|
||||||
|
</LaunchAction>
|
||||||
|
<ProfileAction
|
||||||
|
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||||
|
savedToolIdentifier = ""
|
||||||
|
useCustomWorkingDirectory = "NO"
|
||||||
|
buildConfiguration = "Release"
|
||||||
|
debugDocumentVersioning = "YES">
|
||||||
|
<BuildableProductRunnable>
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "5A11DCF918F68644007CE97C"
|
||||||
|
BuildableName = "Flikrkr.app"
|
||||||
|
BlueprintName = "Flikrkr"
|
||||||
|
ReferencedContainer = "container:Flikrkr.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildableProductRunnable>
|
||||||
|
</ProfileAction>
|
||||||
|
<AnalyzeAction
|
||||||
|
buildConfiguration = "Debug">
|
||||||
|
</AnalyzeAction>
|
||||||
|
<ArchiveAction
|
||||||
|
buildConfiguration = "Release"
|
||||||
|
revealArchiveInOrganizer = "YES">
|
||||||
|
</ArchiveAction>
|
||||||
|
</Scheme>
|
@ -0,0 +1,27 @@
|
|||||||
|
<?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>SchemeUserState</key>
|
||||||
|
<dict>
|
||||||
|
<key>Flikrkr.xcscheme</key>
|
||||||
|
<dict>
|
||||||
|
<key>orderHint</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>SuppressBuildableAutocreation</key>
|
||||||
|
<dict>
|
||||||
|
<key>5A11DCF918F68644007CE97C</key>
|
||||||
|
<dict>
|
||||||
|
<key>primary</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>5A11DD1918F68644007CE97C</key>
|
||||||
|
<dict>
|
||||||
|
<key>primary</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
BIN
Flikrkr/._AppDelegate.h
Normal file
BIN
Flikrkr/._AppDelegate.h
Normal file
Binary file not shown.
BIN
Flikrkr/._AppDelegate.m
Normal file
BIN
Flikrkr/._AppDelegate.m
Normal file
Binary file not shown.
BIN
Flikrkr/._Flikrkr-Prefix.pch
Normal file
BIN
Flikrkr/._Flikrkr-Prefix.pch
Normal file
Binary file not shown.
BIN
Flikrkr/._main.m
Normal file
BIN
Flikrkr/._main.m
Normal file
Binary file not shown.
22
Flikrkr/AppDelegate.h
Normal file
22
Flikrkr/AppDelegate.h
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
//
|
||||||
|
// AppDelegate.h
|
||||||
|
// Flikrkr
|
||||||
|
//
|
||||||
|
// Created by esgi on 10/04/2014.
|
||||||
|
// Copyright (c) 2014 Oui. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
|
@interface AppDelegate : UIResponder <UIApplicationDelegate>
|
||||||
|
|
||||||
|
@property (strong, nonatomic) UIWindow *window;
|
||||||
|
|
||||||
|
@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
|
||||||
|
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
|
||||||
|
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
|
||||||
|
|
||||||
|
- (void)saveContext;
|
||||||
|
- (NSURL *)applicationDocumentsDirectory;
|
||||||
|
|
||||||
|
@end
|
149
Flikrkr/AppDelegate.m
Normal file
149
Flikrkr/AppDelegate.m
Normal file
@ -0,0 +1,149 @@
|
|||||||
|
//
|
||||||
|
// AppDelegate.m
|
||||||
|
// Flikrkr
|
||||||
|
//
|
||||||
|
// Created by esgi on 10/04/2014.
|
||||||
|
// Copyright (c) 2014 Oui. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "AppDelegate.h"
|
||||||
|
|
||||||
|
@implementation AppDelegate
|
||||||
|
|
||||||
|
@synthesize managedObjectContext = _managedObjectContext;
|
||||||
|
@synthesize managedObjectModel = _managedObjectModel;
|
||||||
|
@synthesize persistentStoreCoordinator = _persistentStoreCoordinator;
|
||||||
|
|
||||||
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
||||||
|
{
|
||||||
|
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
|
||||||
|
// Override point for customization after application launch.
|
||||||
|
self.window.backgroundColor = [UIColor whiteColor];
|
||||||
|
[self.window makeKeyAndVisible];
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)applicationWillResignActive:(UIApplication *)application
|
||||||
|
{
|
||||||
|
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
|
||||||
|
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)applicationDidEnterBackground:(UIApplication *)application
|
||||||
|
{
|
||||||
|
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
|
||||||
|
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)applicationWillEnterForeground:(UIApplication *)application
|
||||||
|
{
|
||||||
|
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)applicationDidBecomeActive:(UIApplication *)application
|
||||||
|
{
|
||||||
|
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)applicationWillTerminate:(UIApplication *)application
|
||||||
|
{
|
||||||
|
// Saves changes in the application's managed object context before the application terminates.
|
||||||
|
[self saveContext];
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)saveContext
|
||||||
|
{
|
||||||
|
NSError *error = nil;
|
||||||
|
NSManagedObjectContext *managedObjectContext = self.managedObjectContext;
|
||||||
|
if (managedObjectContext != nil) {
|
||||||
|
if ([managedObjectContext hasChanges] && ![managedObjectContext save:&error]) {
|
||||||
|
// Replace this implementation with code to handle the error appropriately.
|
||||||
|
// abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
|
||||||
|
NSLog(@"Unresolved error %@, %@", error, [error userInfo]);
|
||||||
|
abort();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#pragma mark - Core Data stack
|
||||||
|
|
||||||
|
// Returns the managed object context for the application.
|
||||||
|
// If the context doesn't already exist, it is created and bound to the persistent store coordinator for the application.
|
||||||
|
- (NSManagedObjectContext *)managedObjectContext
|
||||||
|
{
|
||||||
|
if (_managedObjectContext != nil) {
|
||||||
|
return _managedObjectContext;
|
||||||
|
}
|
||||||
|
|
||||||
|
NSPersistentStoreCoordinator *coordinator = [self persistentStoreCoordinator];
|
||||||
|
if (coordinator != nil) {
|
||||||
|
_managedObjectContext = [[NSManagedObjectContext alloc] init];
|
||||||
|
[_managedObjectContext setPersistentStoreCoordinator:coordinator];
|
||||||
|
}
|
||||||
|
return _managedObjectContext;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Returns the managed object model for the application.
|
||||||
|
// If the model doesn't already exist, it is created from the application's model.
|
||||||
|
- (NSManagedObjectModel *)managedObjectModel
|
||||||
|
{
|
||||||
|
if (_managedObjectModel != nil) {
|
||||||
|
return _managedObjectModel;
|
||||||
|
}
|
||||||
|
NSURL *modelURL = [[NSBundle mainBundle] URLForResource:@"Flikrkr" withExtension:@"momd"];
|
||||||
|
_managedObjectModel = [[NSManagedObjectModel alloc] initWithContentsOfURL:modelURL];
|
||||||
|
return _managedObjectModel;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Returns the persistent store coordinator for the application.
|
||||||
|
// If the coordinator doesn't already exist, it is created and the application's store added to it.
|
||||||
|
- (NSPersistentStoreCoordinator *)persistentStoreCoordinator
|
||||||
|
{
|
||||||
|
if (_persistentStoreCoordinator != nil) {
|
||||||
|
return _persistentStoreCoordinator;
|
||||||
|
}
|
||||||
|
|
||||||
|
NSURL *storeURL = [[self applicationDocumentsDirectory] URLByAppendingPathComponent:@"Flikrkr.sqlite"];
|
||||||
|
|
||||||
|
NSError *error = nil;
|
||||||
|
_persistentStoreCoordinator = [[NSPersistentStoreCoordinator alloc] initWithManagedObjectModel:[self managedObjectModel]];
|
||||||
|
if (![_persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:storeURL options:nil error:&error]) {
|
||||||
|
/*
|
||||||
|
Replace this implementation with code to handle the error appropriately.
|
||||||
|
|
||||||
|
abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
|
||||||
|
|
||||||
|
Typical reasons for an error here include:
|
||||||
|
* The persistent store is not accessible;
|
||||||
|
* The schema for the persistent store is incompatible with current managed object model.
|
||||||
|
Check the error message to determine what the actual problem was.
|
||||||
|
|
||||||
|
|
||||||
|
If the persistent store is not accessible, there is typically something wrong with the file path. Often, a file URL is pointing into the application's resources directory instead of a writeable directory.
|
||||||
|
|
||||||
|
If you encounter schema incompatibility errors during development, you can reduce their frequency by:
|
||||||
|
* Simply deleting the existing store:
|
||||||
|
[[NSFileManager defaultManager] removeItemAtURL:storeURL error:nil]
|
||||||
|
|
||||||
|
* Performing automatic lightweight migration by passing the following dictionary as the options parameter:
|
||||||
|
@{NSMigratePersistentStoresAutomaticallyOption:@YES, NSInferMappingModelAutomaticallyOption:@YES}
|
||||||
|
|
||||||
|
Lightweight migration will only work for a limited set of schema changes; consult "Core Data Model Versioning and Data Migration Programming Guide" for details.
|
||||||
|
|
||||||
|
*/
|
||||||
|
NSLog(@"Unresolved error %@, %@", error, [error userInfo]);
|
||||||
|
abort();
|
||||||
|
}
|
||||||
|
|
||||||
|
return _persistentStoreCoordinator;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pragma mark - Application's Documents directory
|
||||||
|
|
||||||
|
// Returns the URL to the application's Documents directory.
|
||||||
|
- (NSURL *)applicationDocumentsDirectory
|
||||||
|
{
|
||||||
|
return [[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject];
|
||||||
|
}
|
||||||
|
|
||||||
|
@end
|
38
Flikrkr/Flikrkr-Info.plist
Normal file
38
Flikrkr/Flikrkr-Info.plist
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
<?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>Oui.${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>UIRequiredDeviceCapabilities</key>
|
||||||
|
<array>
|
||||||
|
<string>armv7</string>
|
||||||
|
</array>
|
||||||
|
<key>UISupportedInterfaceOrientations</key>
|
||||||
|
<array>
|
||||||
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
17
Flikrkr/Flikrkr-Prefix.pch
Normal file
17
Flikrkr/Flikrkr-Prefix.pch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
//
|
||||||
|
// Prefix header
|
||||||
|
//
|
||||||
|
// The contents of this file are implicitly included at the beginning of every source file.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Availability.h>
|
||||||
|
|
||||||
|
#ifndef __IPHONE_3_0
|
||||||
|
#warning "This project uses features only available in iOS SDK 3.0 and later."
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __OBJC__
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
#import <CoreData/CoreData.h>
|
||||||
|
#endif
|
8
Flikrkr/Flikrkr.xcdatamodeld/.xccurrentversion
Normal file
8
Flikrkr/Flikrkr.xcdatamodeld/.xccurrentversion
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?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>_XCCurrentVersionName</key>
|
||||||
|
<string>Flikrkr.xcdatamodel</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
BIN
Flikrkr/Flikrkr.xcdatamodeld/Flikrkr.xcdatamodel/._contents
Normal file
BIN
Flikrkr/Flikrkr.xcdatamodeld/Flikrkr.xcdatamodel/._contents
Normal file
Binary file not shown.
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<model name="Test1.xcdatamodel" userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="1" systemVersion="11A491" minimumToolsVersion="Automatic" macOSVersion="Automatic" iOSVersion="Automatic">
|
||||||
|
<elements/>
|
||||||
|
</model>
|
BIN
Flikrkr/Images.xcassets/AppIcon.appiconset/._Contents.json
Normal file
BIN
Flikrkr/Images.xcassets/AppIcon.appiconset/._Contents.json
Normal file
Binary file not shown.
23
Flikrkr/Images.xcassets/AppIcon.appiconset/Contents.json
Normal file
23
Flikrkr/Images.xcassets/AppIcon.appiconset/Contents.json
Normal file
@ -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"
|
||||||
|
}
|
||||||
|
}
|
BIN
Flikrkr/Images.xcassets/LaunchImage.launchimage/._Contents.json
Normal file
BIN
Flikrkr/Images.xcassets/LaunchImage.launchimage/._Contents.json
Normal file
Binary file not shown.
@ -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"
|
||||||
|
}
|
||||||
|
}
|
BIN
Flikrkr/en.lproj/._InfoPlist.strings
Normal file
BIN
Flikrkr/en.lproj/._InfoPlist.strings
Normal file
Binary file not shown.
2
Flikrkr/en.lproj/InfoPlist.strings
Normal file
2
Flikrkr/en.lproj/InfoPlist.strings
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/* Localized versions of Info.plist keys */
|
||||||
|
|
18
Flikrkr/main.m
Normal file
18
Flikrkr/main.m
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
//
|
||||||
|
// main.m
|
||||||
|
// Flikrkr
|
||||||
|
//
|
||||||
|
// Created by esgi on 10/04/2014.
|
||||||
|
// Copyright (c) 2014 Oui. 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]));
|
||||||
|
}
|
||||||
|
}
|
BIN
FlikrkrTests/._FlikrkrTests.m
Normal file
BIN
FlikrkrTests/._FlikrkrTests.m
Normal file
Binary file not shown.
22
FlikrkrTests/FlikrkrTests-Info.plist
Normal file
22
FlikrkrTests/FlikrkrTests-Info.plist
Normal file
@ -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>Oui.${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>
|
34
FlikrkrTests/FlikrkrTests.m
Normal file
34
FlikrkrTests/FlikrkrTests.m
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
//
|
||||||
|
// FlikrkrTests.m
|
||||||
|
// FlikrkrTests
|
||||||
|
//
|
||||||
|
// Created by esgi on 10/04/2014.
|
||||||
|
// Copyright (c) 2014 Oui. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
|
@interface FlikrkrTests : XCTestCase
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
@implementation FlikrkrTests
|
||||||
|
|
||||||
|
- (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
|
BIN
FlikrkrTests/en.lproj/._InfoPlist.strings
Normal file
BIN
FlikrkrTests/en.lproj/._InfoPlist.strings
Normal file
Binary file not shown.
2
FlikrkrTests/en.lproj/InfoPlist.strings
Normal file
2
FlikrkrTests/en.lproj/InfoPlist.strings
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/* Localized versions of Info.plist keys */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user