diff --git a/BetteReddit.xcodeproj/project.pbxproj b/BetteReddit.xcodeproj/project.pbxproj new file mode 100644 index 0000000..37273a4 --- /dev/null +++ b/BetteReddit.xcodeproj/project.pbxproj @@ -0,0 +1,629 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 8CC39CE0BD86E77B43E0AEDD /* Pods_BetteReddit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DE27BAEEF85C051B33FEE417 /* Pods_BetteReddit.framework */; }; + FA8F394F20BB759C007CAC55 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = FA8F394E20BB759C007CAC55 /* AppDelegate.m */; }; + FA8F395220BB759C007CAC55 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = FA8F395120BB759C007CAC55 /* ViewController.m */; }; + FA8F395520BB759C007CAC55 /* BetteReddit.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = FA8F395320BB759C007CAC55 /* BetteReddit.xcdatamodeld */; }; + FA8F395720BB759E007CAC55 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FA8F395620BB759E007CAC55 /* Assets.xcassets */; }; + FA8F395A20BB759E007CAC55 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FA8F395820BB759E007CAC55 /* Main.storyboard */; }; + FA8F395D20BB759E007CAC55 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = FA8F395C20BB759E007CAC55 /* main.m */; }; + FA8F396820BB759E007CAC55 /* BetteRedditTests.m in Sources */ = {isa = PBXBuildFile; fileRef = FA8F396720BB759E007CAC55 /* BetteRedditTests.m */; }; + FA8F397320BB759E007CAC55 /* BetteRedditUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = FA8F397220BB759E007CAC55 /* BetteRedditUITests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + FA8F396420BB759E007CAC55 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FA8F394220BB759C007CAC55 /* Project object */; + proxyType = 1; + remoteGlobalIDString = FA8F394920BB759C007CAC55; + remoteInfo = BetteReddit; + }; + FA8F396F20BB759E007CAC55 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FA8F394220BB759C007CAC55 /* Project object */; + proxyType = 1; + remoteGlobalIDString = FA8F394920BB759C007CAC55; + remoteInfo = BetteReddit; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + B1F1C7AE92712433422E2C18 /* Pods-BetteReddit.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BetteReddit.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BetteReddit/Pods-BetteReddit.debug.xcconfig"; sourceTree = ""; }; + B45EE7449698409BFF8E89FB /* Pods-BetteReddit.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BetteReddit.release.xcconfig"; path = "Pods/Target Support Files/Pods-BetteReddit/Pods-BetteReddit.release.xcconfig"; sourceTree = ""; }; + DE27BAEEF85C051B33FEE417 /* Pods_BetteReddit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BetteReddit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + FA8F394A20BB759C007CAC55 /* BetteReddit.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BetteReddit.app; sourceTree = BUILT_PRODUCTS_DIR; }; + FA8F394D20BB759C007CAC55 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + FA8F394E20BB759C007CAC55 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + FA8F395020BB759C007CAC55 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; + FA8F395120BB759C007CAC55 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; + FA8F395420BB759C007CAC55 /* BetteReddit.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = BetteReddit.xcdatamodel; sourceTree = ""; }; + FA8F395620BB759E007CAC55 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + FA8F395920BB759E007CAC55 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + FA8F395B20BB759E007CAC55 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + FA8F395C20BB759E007CAC55 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + FA8F395E20BB759E007CAC55 /* BetteReddit.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = BetteReddit.entitlements; sourceTree = ""; }; + FA8F396320BB759E007CAC55 /* BetteRedditTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BetteRedditTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + FA8F396720BB759E007CAC55 /* BetteRedditTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BetteRedditTests.m; sourceTree = ""; }; + FA8F396920BB759E007CAC55 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + FA8F396E20BB759E007CAC55 /* BetteRedditUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BetteRedditUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + FA8F397220BB759E007CAC55 /* BetteRedditUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BetteRedditUITests.m; sourceTree = ""; }; + FA8F397420BB759E007CAC55 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + FA8F394720BB759C007CAC55 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8CC39CE0BD86E77B43E0AEDD /* Pods_BetteReddit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FA8F396020BB759E007CAC55 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FA8F396B20BB759E007CAC55 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 53A031A7CCA280589387A174 /* Pods */ = { + isa = PBXGroup; + children = ( + B1F1C7AE92712433422E2C18 /* Pods-BetteReddit.debug.xcconfig */, + B45EE7449698409BFF8E89FB /* Pods-BetteReddit.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + A6DD5767417C2BC1512FDFC2 /* Frameworks */ = { + isa = PBXGroup; + children = ( + DE27BAEEF85C051B33FEE417 /* Pods_BetteReddit.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + FA8F394120BB759C007CAC55 = { + isa = PBXGroup; + children = ( + FA8F394C20BB759C007CAC55 /* BetteReddit */, + FA8F396620BB759E007CAC55 /* BetteRedditTests */, + FA8F397120BB759E007CAC55 /* BetteRedditUITests */, + FA8F394B20BB759C007CAC55 /* Products */, + 53A031A7CCA280589387A174 /* Pods */, + A6DD5767417C2BC1512FDFC2 /* Frameworks */, + ); + sourceTree = ""; + }; + FA8F394B20BB759C007CAC55 /* Products */ = { + isa = PBXGroup; + children = ( + FA8F394A20BB759C007CAC55 /* BetteReddit.app */, + FA8F396320BB759E007CAC55 /* BetteRedditTests.xctest */, + FA8F396E20BB759E007CAC55 /* BetteRedditUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + FA8F394C20BB759C007CAC55 /* BetteReddit */ = { + isa = PBXGroup; + children = ( + FA8F394D20BB759C007CAC55 /* AppDelegate.h */, + FA8F394E20BB759C007CAC55 /* AppDelegate.m */, + FA8F395020BB759C007CAC55 /* ViewController.h */, + FA8F395120BB759C007CAC55 /* ViewController.m */, + FA8F395620BB759E007CAC55 /* Assets.xcassets */, + FA8F395820BB759E007CAC55 /* Main.storyboard */, + FA8F395B20BB759E007CAC55 /* Info.plist */, + FA8F395C20BB759E007CAC55 /* main.m */, + FA8F395E20BB759E007CAC55 /* BetteReddit.entitlements */, + FA8F395320BB759C007CAC55 /* BetteReddit.xcdatamodeld */, + ); + path = BetteReddit; + sourceTree = ""; + }; + FA8F396620BB759E007CAC55 /* BetteRedditTests */ = { + isa = PBXGroup; + children = ( + FA8F396720BB759E007CAC55 /* BetteRedditTests.m */, + FA8F396920BB759E007CAC55 /* Info.plist */, + ); + path = BetteRedditTests; + sourceTree = ""; + }; + FA8F397120BB759E007CAC55 /* BetteRedditUITests */ = { + isa = PBXGroup; + children = ( + FA8F397220BB759E007CAC55 /* BetteRedditUITests.m */, + FA8F397420BB759E007CAC55 /* Info.plist */, + ); + path = BetteRedditUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + FA8F394920BB759C007CAC55 /* BetteReddit */ = { + isa = PBXNativeTarget; + buildConfigurationList = FA8F397720BB759E007CAC55 /* Build configuration list for PBXNativeTarget "BetteReddit" */; + buildPhases = ( + EA455881899126D824B80EF6 /* [CP] Check Pods Manifest.lock */, + FA8F394620BB759C007CAC55 /* Sources */, + FA8F394720BB759C007CAC55 /* Frameworks */, + FA8F394820BB759C007CAC55 /* Resources */, + B1F59E899DAB16233E2E8D5C /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = BetteReddit; + productName = BetteReddit; + productReference = FA8F394A20BB759C007CAC55 /* BetteReddit.app */; + productType = "com.apple.product-type.application"; + }; + FA8F396220BB759E007CAC55 /* BetteRedditTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = FA8F397A20BB759E007CAC55 /* Build configuration list for PBXNativeTarget "BetteRedditTests" */; + buildPhases = ( + FA8F395F20BB759E007CAC55 /* Sources */, + FA8F396020BB759E007CAC55 /* Frameworks */, + FA8F396120BB759E007CAC55 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + FA8F396520BB759E007CAC55 /* PBXTargetDependency */, + ); + name = BetteRedditTests; + productName = BetteRedditTests; + productReference = FA8F396320BB759E007CAC55 /* BetteRedditTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + FA8F396D20BB759E007CAC55 /* BetteRedditUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = FA8F397D20BB759E007CAC55 /* Build configuration list for PBXNativeTarget "BetteRedditUITests" */; + buildPhases = ( + FA8F396A20BB759E007CAC55 /* Sources */, + FA8F396B20BB759E007CAC55 /* Frameworks */, + FA8F396C20BB759E007CAC55 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + FA8F397020BB759E007CAC55 /* PBXTargetDependency */, + ); + name = BetteRedditUITests; + productName = BetteRedditUITests; + productReference = FA8F396E20BB759E007CAC55 /* BetteRedditUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + FA8F394220BB759C007CAC55 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0930; + ORGANIZATIONNAME = "Alex Taffe"; + TargetAttributes = { + FA8F394920BB759C007CAC55 = { + CreatedOnToolsVersion = 9.3.1; + }; + FA8F396220BB759E007CAC55 = { + CreatedOnToolsVersion = 9.3.1; + TestTargetID = FA8F394920BB759C007CAC55; + }; + FA8F396D20BB759E007CAC55 = { + CreatedOnToolsVersion = 9.3.1; + TestTargetID = FA8F394920BB759C007CAC55; + }; + }; + }; + buildConfigurationList = FA8F394520BB759C007CAC55 /* Build configuration list for PBXProject "BetteReddit" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = FA8F394120BB759C007CAC55; + productRefGroup = FA8F394B20BB759C007CAC55 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + FA8F394920BB759C007CAC55 /* BetteReddit */, + FA8F396220BB759E007CAC55 /* BetteRedditTests */, + FA8F396D20BB759E007CAC55 /* BetteRedditUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + FA8F394820BB759C007CAC55 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FA8F395720BB759E007CAC55 /* Assets.xcassets in Resources */, + FA8F395A20BB759E007CAC55 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FA8F396120BB759E007CAC55 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FA8F396C20BB759E007CAC55 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + B1F59E899DAB16233E2E8D5C /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-BetteReddit/Pods-BetteReddit-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/PXSourceList/PXSourceList.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PXSourceList.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BetteReddit/Pods-BetteReddit-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + EA455881899126D824B80EF6 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-BetteReddit-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + FA8F394620BB759C007CAC55 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FA8F395520BB759C007CAC55 /* BetteReddit.xcdatamodeld in Sources */, + FA8F395220BB759C007CAC55 /* ViewController.m in Sources */, + FA8F395D20BB759E007CAC55 /* main.m in Sources */, + FA8F394F20BB759C007CAC55 /* AppDelegate.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FA8F395F20BB759E007CAC55 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FA8F396820BB759E007CAC55 /* BetteRedditTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FA8F396A20BB759E007CAC55 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FA8F397320BB759E007CAC55 /* BetteRedditUITests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + FA8F396520BB759E007CAC55 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = FA8F394920BB759C007CAC55 /* BetteReddit */; + targetProxy = FA8F396420BB759E007CAC55 /* PBXContainerItemProxy */; + }; + FA8F397020BB759E007CAC55 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = FA8F394920BB759C007CAC55 /* BetteReddit */; + targetProxy = FA8F396F20BB759E007CAC55 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + FA8F395820BB759E007CAC55 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + FA8F395920BB759E007CAC55 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + FA8F397520BB759E007CAC55 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + 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; + MACOSX_DEPLOYMENT_TARGET = 10.13; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + FA8F397620BB759E007CAC55 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + 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; + MACOSX_DEPLOYMENT_TARGET = 10.13; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + FA8F397820BB759E007CAC55 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B1F1C7AE92712433422E2C18 /* Pods-BetteReddit.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = BetteReddit/BetteReddit.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = BetteReddit/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = alextaffe.BetteReddit; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + FA8F397920BB759E007CAC55 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B45EE7449698409BFF8E89FB /* Pods-BetteReddit.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = BetteReddit/BetteReddit.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = BetteReddit/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = alextaffe.BetteReddit; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + FA8F397B20BB759E007CAC55 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = BetteRedditTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = alextaffe.BetteRedditTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BetteReddit.app/Contents/MacOS/BetteReddit"; + }; + name = Debug; + }; + FA8F397C20BB759E007CAC55 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = BetteRedditTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = alextaffe.BetteRedditTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BetteReddit.app/Contents/MacOS/BetteReddit"; + }; + name = Release; + }; + FA8F397E20BB759E007CAC55 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = BetteRedditUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = alextaffe.BetteRedditUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_TARGET_NAME = BetteReddit; + }; + name = Debug; + }; + FA8F397F20BB759E007CAC55 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = BetteRedditUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = alextaffe.BetteRedditUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_TARGET_NAME = BetteReddit; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + FA8F394520BB759C007CAC55 /* Build configuration list for PBXProject "BetteReddit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FA8F397520BB759E007CAC55 /* Debug */, + FA8F397620BB759E007CAC55 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FA8F397720BB759E007CAC55 /* Build configuration list for PBXNativeTarget "BetteReddit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FA8F397820BB759E007CAC55 /* Debug */, + FA8F397920BB759E007CAC55 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FA8F397A20BB759E007CAC55 /* Build configuration list for PBXNativeTarget "BetteRedditTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FA8F397B20BB759E007CAC55 /* Debug */, + FA8F397C20BB759E007CAC55 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FA8F397D20BB759E007CAC55 /* Build configuration list for PBXNativeTarget "BetteRedditUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FA8F397E20BB759E007CAC55 /* Debug */, + FA8F397F20BB759E007CAC55 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCVersionGroup section */ + FA8F395320BB759C007CAC55 /* BetteReddit.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + FA8F395420BB759C007CAC55 /* BetteReddit.xcdatamodel */, + ); + currentVersion = FA8F395420BB759C007CAC55 /* BetteReddit.xcdatamodel */; + path = BetteReddit.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; +/* End XCVersionGroup section */ + }; + rootObject = FA8F394220BB759C007CAC55 /* Project object */; +} diff --git a/BetteReddit.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/BetteReddit.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..5e053f9 --- /dev/null +++ b/BetteReddit.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/BetteReddit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/BetteReddit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/BetteReddit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/BetteReddit.xcworkspace/contents.xcworkspacedata b/BetteReddit.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..e82311e --- /dev/null +++ b/BetteReddit.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/BetteReddit.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/BetteReddit.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/BetteReddit.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/BetteReddit/AppDelegate.h b/BetteReddit/AppDelegate.h new file mode 100644 index 0000000..04748a4 --- /dev/null +++ b/BetteReddit/AppDelegate.h @@ -0,0 +1,18 @@ +// +// AppDelegate.h +// BetteReddit +// +// Created by Alex Taffe on 5/27/18. +// Copyright © 2018 Alex Taffe. All rights reserved. +// + +#import +#import + +@interface AppDelegate : NSObject + +@property (readonly, strong) NSPersistentContainer *persistentContainer; + + +@end + diff --git a/BetteReddit/AppDelegate.m b/BetteReddit/AppDelegate.m new file mode 100644 index 0000000..090d5fa --- /dev/null +++ b/BetteReddit/AppDelegate.m @@ -0,0 +1,125 @@ +// +// AppDelegate.m +// BetteReddit +// +// Created by Alex Taffe on 5/27/18. +// Copyright © 2018 Alex Taffe. All rights reserved. +// + +#import "AppDelegate.h" + +@interface AppDelegate () + +- (IBAction)saveAction:(id)sender; + +@end + +@implementation AppDelegate + +- (void)applicationDidFinishLaunching:(NSNotification *)aNotification { + // Insert code here to initialize your application +} + + +- (void)applicationWillTerminate:(NSNotification *)aNotification { + // Insert code here to tear down your application +} + + +#pragma mark - Core Data stack + +@synthesize persistentContainer = _persistentContainer; + +- (NSPersistentContainer *)persistentContainer { + // The persistent container for the application. This implementation creates and returns a container, having loaded the store for the application to it. + @synchronized (self) { + if (_persistentContainer == nil) { + _persistentContainer = [[NSPersistentContainer alloc] initWithName:@"BetteReddit"]; + [_persistentContainer loadPersistentStoresWithCompletionHandler:^(NSPersistentStoreDescription *storeDescription, NSError *error) { + if (error != nil) { + // 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 parent directory does not exist, cannot be created, or disallows writing. + * The persistent store is not accessible, due to permissions or data protection when the device is locked. + * The device is out of space. + * The store could not be migrated to the current model version. + Check the error message to determine what the actual problem was. + */ + NSLog(@"Unresolved error %@, %@", error, error.userInfo); + abort(); + } + }]; + } + } + + return _persistentContainer; +} + +#pragma mark - Core Data Saving and Undo support + +- (IBAction)saveAction:(id)sender { + // Performs the save action for the application, which is to send the save: message to the application's managed object context. Any encountered errors are presented to the user. + NSManagedObjectContext *context = self.persistentContainer.viewContext; + + if (![context commitEditing]) { + NSLog(@"%@:%@ unable to commit editing before saving", [self class], NSStringFromSelector(_cmd)); + } + + NSError *error = nil; + if (context.hasChanges && ![context save:&error]) { + // Customize this code block to include application-specific recovery steps. + [[NSApplication sharedApplication] presentError:error]; + } +} + +- (NSUndoManager *)windowWillReturnUndoManager:(NSWindow *)window { + // Returns the NSUndoManager for the application. In this case, the manager returned is that of the managed object context for the application. + return self.persistentContainer.viewContext.undoManager; +} + +- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender { + // Save changes in the application's managed object context before the application terminates. + NSManagedObjectContext *context = self.persistentContainer.viewContext; + + if (![context commitEditing]) { + NSLog(@"%@:%@ unable to commit editing to terminate", [self class], NSStringFromSelector(_cmd)); + return NSTerminateCancel; + } + + if (!context.hasChanges) { + return NSTerminateNow; + } + + NSError *error = nil; + if (![context save:&error]) { + + // Customize this code block to include application-specific recovery steps. + BOOL result = [sender presentError:error]; + if (result) { + return NSTerminateCancel; + } + + NSString *question = NSLocalizedString(@"Could not save changes while quitting. Quit anyway?", @"Quit without saves error question message"); + NSString *info = NSLocalizedString(@"Quitting now will lose any changes you have made since the last successful save", @"Quit without saves error question info"); + NSString *quitButton = NSLocalizedString(@"Quit anyway", @"Quit anyway button title"); + NSString *cancelButton = NSLocalizedString(@"Cancel", @"Cancel button title"); + NSAlert *alert = [[NSAlert alloc] init]; + [alert setMessageText:question]; + [alert setInformativeText:info]; + [alert addButtonWithTitle:quitButton]; + [alert addButtonWithTitle:cancelButton]; + + NSInteger answer = [alert runModal]; + + if (answer == NSAlertSecondButtonReturn) { + return NSTerminateCancel; + } + } + + return NSTerminateNow; +} + +@end diff --git a/BetteReddit/Assets.xcassets/AppIcon.appiconset/Contents.json b/BetteReddit/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..2db2b1c --- /dev/null +++ b/BetteReddit/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,58 @@ +{ + "images" : [ + { + "idiom" : "mac", + "size" : "16x16", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "16x16", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "32x32", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "32x32", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "128x128", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "128x128", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "256x256", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "256x256", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/BetteReddit/Assets.xcassets/Contents.json b/BetteReddit/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/BetteReddit/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/BetteReddit/Base.lproj/Main.storyboard b/BetteReddit/Base.lproj/Main.storyboard new file mode 100644 index 0000000..6e171cf --- /dev/null +++ b/BetteReddit/Base.lproj/Main.storyboard @@ -0,0 +1,717 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BetteReddit/BetteReddit.entitlements b/BetteReddit/BetteReddit.entitlements new file mode 100644 index 0000000..f2ef3ae --- /dev/null +++ b/BetteReddit/BetteReddit.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + + diff --git a/BetteReddit/BetteReddit.xcdatamodeld/.xccurrentversion b/BetteReddit/BetteReddit.xcdatamodeld/.xccurrentversion new file mode 100644 index 0000000..aaf468b --- /dev/null +++ b/BetteReddit/BetteReddit.xcdatamodeld/.xccurrentversion @@ -0,0 +1,8 @@ + + + + + _XCCurrentVersionName + BetteReddit.xcdatamodel + + diff --git a/BetteReddit/BetteReddit.xcdatamodeld/BetteReddit.xcdatamodel/contents b/BetteReddit/BetteReddit.xcdatamodeld/BetteReddit.xcdatamodel/contents new file mode 100644 index 0000000..ad82c3b --- /dev/null +++ b/BetteReddit/BetteReddit.xcdatamodeld/BetteReddit.xcdatamodel/contents @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/BetteReddit/Info.plist b/BetteReddit/Info.plist new file mode 100644 index 0000000..08297bc --- /dev/null +++ b/BetteReddit/Info.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIconFile + + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSMinimumSystemVersion + $(MACOSX_DEPLOYMENT_TARGET) + NSHumanReadableCopyright + Copyright © 2018 Alex Taffe. All rights reserved. + NSMainStoryboardFile + Main + NSPrincipalClass + NSApplication + + diff --git a/BetteReddit/ViewController.h b/BetteReddit/ViewController.h new file mode 100644 index 0000000..a3ed5e6 --- /dev/null +++ b/BetteReddit/ViewController.h @@ -0,0 +1,15 @@ +// +// ViewController.h +// BetteReddit +// +// Created by Alex Taffe on 5/27/18. +// Copyright © 2018 Alex Taffe. All rights reserved. +// + +#import + +@interface ViewController : NSViewController + + +@end + diff --git a/BetteReddit/ViewController.m b/BetteReddit/ViewController.m new file mode 100644 index 0000000..5549912 --- /dev/null +++ b/BetteReddit/ViewController.m @@ -0,0 +1,27 @@ +// +// ViewController.m +// BetteReddit +// +// Created by Alex Taffe on 5/27/18. +// Copyright © 2018 Alex Taffe. All rights reserved. +// + +#import "ViewController.h" + +@implementation ViewController + +- (void)viewDidLoad { + [super viewDidLoad]; + + // Do any additional setup after loading the view. +} + + +- (void)setRepresentedObject:(id)representedObject { + [super setRepresentedObject:representedObject]; + + // Update the view, if already loaded. +} + + +@end diff --git a/BetteReddit/main.m b/BetteReddit/main.m new file mode 100644 index 0000000..3def360 --- /dev/null +++ b/BetteReddit/main.m @@ -0,0 +1,13 @@ +// +// main.m +// BetteReddit +// +// Created by Alex Taffe on 5/27/18. +// Copyright © 2018 Alex Taffe. All rights reserved. +// + +#import + +int main(int argc, const char * argv[]) { + return NSApplicationMain(argc, argv); +} diff --git a/BetteRedditTests/BetteRedditTests.m b/BetteRedditTests/BetteRedditTests.m new file mode 100644 index 0000000..ddeee07 --- /dev/null +++ b/BetteRedditTests/BetteRedditTests.m @@ -0,0 +1,39 @@ +// +// BetteRedditTests.m +// BetteRedditTests +// +// Created by Alex Taffe on 5/27/18. +// Copyright © 2018 Alex Taffe. All rights reserved. +// + +#import + +@interface BetteRedditTests : XCTestCase + +@end + +@implementation BetteRedditTests + +- (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 { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. +} + +- (void)testPerformanceExample { + // This is an example of a performance test case. + [self measureBlock:^{ + // Put the code you want to measure the time of here. + }]; +} + +@end diff --git a/BetteRedditTests/Info.plist b/BetteRedditTests/Info.plist new file mode 100644 index 0000000..6c40a6c --- /dev/null +++ b/BetteRedditTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/BetteRedditUITests/BetteRedditUITests.m b/BetteRedditUITests/BetteRedditUITests.m new file mode 100644 index 0000000..4414cc0 --- /dev/null +++ b/BetteRedditUITests/BetteRedditUITests.m @@ -0,0 +1,40 @@ +// +// BetteRedditUITests.m +// BetteRedditUITests +// +// Created by Alex Taffe on 5/27/18. +// Copyright © 2018 Alex Taffe. All rights reserved. +// + +#import + +@interface BetteRedditUITests : XCTestCase + +@end + +@implementation BetteRedditUITests + +- (void)setUp { + [super setUp]; + + // Put setup code here. This method is called before the invocation of each test method in the class. + + // In UI tests it is usually best to stop immediately when a failure occurs. + self.continueAfterFailure = NO; + // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. + [[[XCUIApplication alloc] init] launch]; + + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. +} + +- (void)tearDown { + // Put teardown code here. This method is called after the invocation of each test method in the class. + [super tearDown]; +} + +- (void)testExample { + // Use recording to get started writing UI tests. + // Use XCTAssert and related functions to verify your tests produce the correct results. +} + +@end diff --git a/BetteRedditUITests/Info.plist b/BetteRedditUITests/Info.plist new file mode 100644 index 0000000..6c40a6c --- /dev/null +++ b/BetteRedditUITests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/Podfile b/Podfile new file mode 100644 index 0000000..30a145b --- /dev/null +++ b/Podfile @@ -0,0 +1,6 @@ +platform :osx, '10.12' +use_frameworks! + +target 'BetteReddit' do + pod 'PXSourceList' +end