commit d2f1de8d2af9bcecedebb51c1f44f8d5d7e5652d Author: Codello Date: Sun Mar 23 01:28:48 2014 +0100 Initial Commit diff --git a/MathPad.xcodeproj/project.pbxproj b/MathPad.xcodeproj/project.pbxproj new file mode 100644 index 0000000..8a5e278 --- /dev/null +++ b/MathPad.xcodeproj/project.pbxproj @@ -0,0 +1,494 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 3BF9976F18DE623E009CF6C4 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3BF9976E18DE623E009CF6C4 /* Cocoa.framework */; }; + 3BF9977918DE623E009CF6C4 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 3BF9977718DE623E009CF6C4 /* InfoPlist.strings */; }; + 3BF9977B18DE623E009CF6C4 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 3BF9977A18DE623E009CF6C4 /* main.m */; }; + 3BF9977F18DE623E009CF6C4 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 3BF9977D18DE623E009CF6C4 /* Credits.rtf */; }; + 3BF9978218DE623E009CF6C4 /* MPDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = 3BF9978118DE623E009CF6C4 /* MPDocument.m */; }; + 3BF9978518DE623E009CF6C4 /* MPDocument.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3BF9978318DE623E009CF6C4 /* MPDocument.xib */; }; + 3BF9978818DE623E009CF6C4 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3BF9978618DE623E009CF6C4 /* MainMenu.xib */; }; + 3BF9978A18DE623E009CF6C4 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3BF9978918DE623E009CF6C4 /* Images.xcassets */; }; + 3BF9979118DE623E009CF6C4 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3BF9979018DE623E009CF6C4 /* XCTest.framework */; }; + 3BF9979218DE623E009CF6C4 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3BF9976E18DE623E009CF6C4 /* Cocoa.framework */; }; + 3BF9979A18DE623E009CF6C4 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 3BF9979818DE623E009CF6C4 /* InfoPlist.strings */; }; + 3BF9979C18DE623E009CF6C4 /* MathPadTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3BF9979B18DE623E009CF6C4 /* MathPadTests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 3BF9979318DE623E009CF6C4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 3BF9976318DE623E009CF6C4 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 3BF9976A18DE623E009CF6C4; + remoteInfo = MathPad; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 3BF9976B18DE623E009CF6C4 /* MathPad.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MathPad.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 3BF9976E18DE623E009CF6C4 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; + 3BF9977118DE623E009CF6C4 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; + 3BF9977218DE623E009CF6C4 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; + 3BF9977318DE623E009CF6C4 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 3BF9977618DE623E009CF6C4 /* MathPad-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MathPad-Info.plist"; sourceTree = ""; }; + 3BF9977818DE623E009CF6C4 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 3BF9977A18DE623E009CF6C4 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 3BF9977C18DE623E009CF6C4 /* MathPad-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "MathPad-Prefix.pch"; sourceTree = ""; }; + 3BF9977E18DE623E009CF6C4 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = ""; }; + 3BF9978018DE623E009CF6C4 /* MPDocument.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MPDocument.h; sourceTree = ""; }; + 3BF9978118DE623E009CF6C4 /* MPDocument.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MPDocument.m; sourceTree = ""; }; + 3BF9978418DE623E009CF6C4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MPDocument.xib; sourceTree = ""; }; + 3BF9978718DE623E009CF6C4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; + 3BF9978918DE623E009CF6C4 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 3BF9978F18DE623E009CF6C4 /* MathPadTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MathPadTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 3BF9979018DE623E009CF6C4 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; + 3BF9979718DE623E009CF6C4 /* MathPadTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MathPadTests-Info.plist"; sourceTree = ""; }; + 3BF9979918DE623E009CF6C4 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 3BF9979B18DE623E009CF6C4 /* MathPadTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MathPadTests.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 3BF9976818DE623E009CF6C4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 3BF9976F18DE623E009CF6C4 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3BF9978C18DE623E009CF6C4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 3BF9979218DE623E009CF6C4 /* Cocoa.framework in Frameworks */, + 3BF9979118DE623E009CF6C4 /* XCTest.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 3BF9976218DE623E009CF6C4 = { + isa = PBXGroup; + children = ( + 3BF9977418DE623E009CF6C4 /* MathPad */, + 3BF9979518DE623E009CF6C4 /* MathPadTests */, + 3BF9976D18DE623E009CF6C4 /* Frameworks */, + 3BF9976C18DE623E009CF6C4 /* Products */, + ); + sourceTree = ""; + }; + 3BF9976C18DE623E009CF6C4 /* Products */ = { + isa = PBXGroup; + children = ( + 3BF9976B18DE623E009CF6C4 /* MathPad.app */, + 3BF9978F18DE623E009CF6C4 /* MathPadTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 3BF9976D18DE623E009CF6C4 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 3BF9976E18DE623E009CF6C4 /* Cocoa.framework */, + 3BF9979018DE623E009CF6C4 /* XCTest.framework */, + 3BF9977018DE623E009CF6C4 /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = ""; + }; + 3BF9977018DE623E009CF6C4 /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 3BF9977118DE623E009CF6C4 /* AppKit.framework */, + 3BF9977218DE623E009CF6C4 /* CoreData.framework */, + 3BF9977318DE623E009CF6C4 /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = ""; + }; + 3BF9977418DE623E009CF6C4 /* MathPad */ = { + isa = PBXGroup; + children = ( + 3BF9978018DE623E009CF6C4 /* MPDocument.h */, + 3BF9978118DE623E009CF6C4 /* MPDocument.m */, + 3BF9978318DE623E009CF6C4 /* MPDocument.xib */, + 3BF9978618DE623E009CF6C4 /* MainMenu.xib */, + 3BF9978918DE623E009CF6C4 /* Images.xcassets */, + 3BF9977518DE623E009CF6C4 /* Supporting Files */, + ); + path = MathPad; + sourceTree = ""; + }; + 3BF9977518DE623E009CF6C4 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 3BF9977618DE623E009CF6C4 /* MathPad-Info.plist */, + 3BF9977718DE623E009CF6C4 /* InfoPlist.strings */, + 3BF9977A18DE623E009CF6C4 /* main.m */, + 3BF9977C18DE623E009CF6C4 /* MathPad-Prefix.pch */, + 3BF9977D18DE623E009CF6C4 /* Credits.rtf */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 3BF9979518DE623E009CF6C4 /* MathPadTests */ = { + isa = PBXGroup; + children = ( + 3BF9979B18DE623E009CF6C4 /* MathPadTests.m */, + 3BF9979618DE623E009CF6C4 /* Supporting Files */, + ); + path = MathPadTests; + sourceTree = ""; + }; + 3BF9979618DE623E009CF6C4 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 3BF9979718DE623E009CF6C4 /* MathPadTests-Info.plist */, + 3BF9979818DE623E009CF6C4 /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 3BF9976A18DE623E009CF6C4 /* MathPad */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3BF9979F18DE623E009CF6C4 /* Build configuration list for PBXNativeTarget "MathPad" */; + buildPhases = ( + 3BF9976718DE623E009CF6C4 /* Sources */, + 3BF9976818DE623E009CF6C4 /* Frameworks */, + 3BF9976918DE623E009CF6C4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = MathPad; + productName = MathPad; + productReference = 3BF9976B18DE623E009CF6C4 /* MathPad.app */; + productType = "com.apple.product-type.application"; + }; + 3BF9978E18DE623E009CF6C4 /* MathPadTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3BF997A218DE623E009CF6C4 /* Build configuration list for PBXNativeTarget "MathPadTests" */; + buildPhases = ( + 3BF9978B18DE623E009CF6C4 /* Sources */, + 3BF9978C18DE623E009CF6C4 /* Frameworks */, + 3BF9978D18DE623E009CF6C4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 3BF9979418DE623E009CF6C4 /* PBXTargetDependency */, + ); + name = MathPadTests; + productName = MathPadTests; + productReference = 3BF9978F18DE623E009CF6C4 /* MathPadTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 3BF9976318DE623E009CF6C4 /* Project object */ = { + isa = PBXProject; + attributes = { + CLASSPREFIX = MP; + LastUpgradeCheck = 0510; + ORGANIZATIONNAME = "Kim Wittenburg"; + TargetAttributes = { + 3BF9978E18DE623E009CF6C4 = { + TestTargetID = 3BF9976A18DE623E009CF6C4; + }; + }; + }; + buildConfigurationList = 3BF9976618DE623E009CF6C4 /* Build configuration list for PBXProject "MathPad" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 3BF9976218DE623E009CF6C4; + productRefGroup = 3BF9976C18DE623E009CF6C4 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 3BF9976A18DE623E009CF6C4 /* MathPad */, + 3BF9978E18DE623E009CF6C4 /* MathPadTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 3BF9976918DE623E009CF6C4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3BF9977918DE623E009CF6C4 /* InfoPlist.strings in Resources */, + 3BF9978A18DE623E009CF6C4 /* Images.xcassets in Resources */, + 3BF9978518DE623E009CF6C4 /* MPDocument.xib in Resources */, + 3BF9977F18DE623E009CF6C4 /* Credits.rtf in Resources */, + 3BF9978818DE623E009CF6C4 /* MainMenu.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3BF9978D18DE623E009CF6C4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3BF9979A18DE623E009CF6C4 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 3BF9976718DE623E009CF6C4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3BF9977B18DE623E009CF6C4 /* main.m in Sources */, + 3BF9978218DE623E009CF6C4 /* MPDocument.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3BF9978B18DE623E009CF6C4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3BF9979C18DE623E009CF6C4 /* MathPadTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 3BF9979418DE623E009CF6C4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 3BF9976A18DE623E009CF6C4 /* MathPad */; + targetProxy = 3BF9979318DE623E009CF6C4 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 3BF9977718DE623E009CF6C4 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 3BF9977818DE623E009CF6C4 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 3BF9977D18DE623E009CF6C4 /* Credits.rtf */ = { + isa = PBXVariantGroup; + children = ( + 3BF9977E18DE623E009CF6C4 /* en */, + ); + name = Credits.rtf; + sourceTree = ""; + }; + 3BF9978318DE623E009CF6C4 /* MPDocument.xib */ = { + isa = PBXVariantGroup; + children = ( + 3BF9978418DE623E009CF6C4 /* Base */, + ); + name = MPDocument.xib; + sourceTree = ""; + }; + 3BF9978618DE623E009CF6C4 /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + 3BF9978718DE623E009CF6C4 /* Base */, + ); + name = MainMenu.xib; + sourceTree = ""; + }; + 3BF9979818DE623E009CF6C4 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 3BF9979918DE623E009CF6C4 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 3BF9979D18DE623E009CF6C4 /* 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; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + 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; + MACOSX_DEPLOYMENT_TARGET = 10.9; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + 3BF9979E18DE623E009CF6C4 /* 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; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = 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.9; + SDKROOT = macosx; + }; + name = Release; + }; + 3BF997A018DE623E009CF6C4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + COMBINE_HIDPI_IMAGES = YES; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "MathPad/MathPad-Prefix.pch"; + INFOPLIST_FILE = "MathPad/MathPad-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 3BF997A118DE623E009CF6C4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + COMBINE_HIDPI_IMAGES = YES; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "MathPad/MathPad-Prefix.pch"; + INFOPLIST_FILE = "MathPad/MathPad-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + 3BF997A318DE623E009CF6C4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/MathPad.app/Contents/MacOS/MathPad"; + COMBINE_HIDPI_IMAGES = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(DEVELOPER_FRAMEWORKS_DIR)", + "$(inherited)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "MathPad/MathPad-Prefix.pch"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = "MathPadTests/MathPadTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = xctest; + }; + name = Debug; + }; + 3BF997A418DE623E009CF6C4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/MathPad.app/Contents/MacOS/MathPad"; + COMBINE_HIDPI_IMAGES = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(DEVELOPER_FRAMEWORKS_DIR)", + "$(inherited)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "MathPad/MathPad-Prefix.pch"; + INFOPLIST_FILE = "MathPadTests/MathPadTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = xctest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 3BF9976618DE623E009CF6C4 /* Build configuration list for PBXProject "MathPad" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3BF9979D18DE623E009CF6C4 /* Debug */, + 3BF9979E18DE623E009CF6C4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3BF9979F18DE623E009CF6C4 /* Build configuration list for PBXNativeTarget "MathPad" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3BF997A018DE623E009CF6C4 /* Debug */, + 3BF997A118DE623E009CF6C4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 3BF997A218DE623E009CF6C4 /* Build configuration list for PBXNativeTarget "MathPadTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3BF997A318DE623E009CF6C4 /* Debug */, + 3BF997A418DE623E009CF6C4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 3BF9976318DE623E009CF6C4 /* Project object */; +} diff --git a/MathPad.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/MathPad.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..45fb2c7 --- /dev/null +++ b/MathPad.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/MathPad.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/MathPad.xcscheme b/MathPad.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/MathPad.xcscheme new file mode 100644 index 0000000..a102cc4 --- /dev/null +++ b/MathPad.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/MathPad.xcscheme @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MathPad.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/xcschememanagement.plist b/MathPad.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..1556fd4 --- /dev/null +++ b/MathPad.xcodeproj/xcuserdata/kim.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,27 @@ + + + + + SchemeUserState + + MathPad.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 3BF9976A18DE623E009CF6C4 + + primary + + + 3BF9978E18DE623E009CF6C4 + + primary + + + + + diff --git a/MathPad/Base.lproj/MPDocument.xib b/MathPad/Base.lproj/MPDocument.xib new file mode 100644 index 0000000..3c4c28c --- /dev/null +++ b/MathPad/Base.lproj/MPDocument.xib @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MathPad/Base.lproj/MainMenu.xib b/MathPad/Base.lproj/MainMenu.xib new file mode 100644 index 0000000..1da953a --- /dev/null +++ b/MathPad/Base.lproj/MainMenu.xib @@ -0,0 +1,661 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MathPad/Images.xcassets/AppIcon.appiconset/Contents.json b/MathPad/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..2db2b1c --- /dev/null +++ b/MathPad/Images.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/MathPad/MPDocument.h b/MathPad/MPDocument.h new file mode 100644 index 0000000..0040b29 --- /dev/null +++ b/MathPad/MPDocument.h @@ -0,0 +1,13 @@ +// +// MPDocument.h +// MathPad +// +// Created by Kim Wittenburg on 23.03.14. +// Copyright (c) 2014 Kim Wittenburg. All rights reserved. +// + +#import + +@interface MPDocument : NSDocument + +@end diff --git a/MathPad/MPDocument.m b/MathPad/MPDocument.m new file mode 100644 index 0000000..3529b17 --- /dev/null +++ b/MathPad/MPDocument.m @@ -0,0 +1,59 @@ +// +// MPDocument.m +// MathPad +// +// Created by Kim Wittenburg on 23.03.14. +// Copyright (c) 2014 Kim Wittenburg. All rights reserved. +// + +#import "MPDocument.h" + +@implementation MPDocument + +- (id)init +{ + self = [super init]; + if (self) { + // Add your subclass-specific initialization here. + } + return self; +} + +- (NSString *)windowNibName +{ + // Override returning the nib file name of the document + // If you need to use a subclass of NSWindowController or if your document supports multiple NSWindowControllers, you should remove this method and override -makeWindowControllers instead. + return @"MPDocument"; +} + +- (void)windowControllerDidLoadNib:(NSWindowController *)aController +{ + [super windowControllerDidLoadNib:aController]; + // Add any code here that needs to be executed once the windowController has loaded the document's window. +} + ++ (BOOL)autosavesInPlace +{ + return YES; +} + +- (NSData *)dataOfType:(NSString *)typeName error:(NSError **)outError +{ + // Insert code here to write your document to data of the specified type. If outError != NULL, ensure that you create and set an appropriate error when returning nil. + // You can also choose to override -fileWrapperOfType:error:, -writeToURL:ofType:error:, or -writeToURL:ofType:forSaveOperation:originalContentsURL:error: instead. + NSException *exception = [NSException exceptionWithName:@"UnimplementedMethod" reason:[NSString stringWithFormat:@"%@ is unimplemented", NSStringFromSelector(_cmd)] userInfo:nil]; + @throw exception; + return nil; +} + +- (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName error:(NSError **)outError +{ + // Insert code here to read your document from the given data of the specified type. If outError != NULL, ensure that you create and set an appropriate error when returning NO. + // You can also choose to override -readFromFileWrapper:ofType:error: or -readFromURL:ofType:error: instead. + // If you override either of these, you should also override -isEntireFileLoaded to return NO if the contents are lazily loaded. + NSException *exception = [NSException exceptionWithName:@"UnimplementedMethod" reason:[NSString stringWithFormat:@"%@ is unimplemented", NSStringFromSelector(_cmd)] userInfo:nil]; + @throw exception; + return YES; +} + +@end diff --git a/MathPad/MathPad-Info.plist b/MathPad/MathPad-Info.plist new file mode 100644 index 0000000..595b7f7 --- /dev/null +++ b/MathPad/MathPad-Info.plist @@ -0,0 +1,57 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDocumentTypes + + + CFBundleTypeExtensions + + mathpad + + CFBundleTypeIconFile + + CFBundleTypeName + DocumentType + CFBundleTypeOSTypes + + ???? + + CFBundleTypeRole + Editor + NSDocumentClass + MPDocument + + + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + wittenburg.kim.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSApplicationCategoryType + public.app-category.education + LSMinimumSystemVersion + ${MACOSX_DEPLOYMENT_TARGET} + NSHumanReadableCopyright + Copyright © 2014 Kim Wittenburg. All rights reserved. + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + + diff --git a/MathPad/MathPad-Prefix.pch b/MathPad/MathPad-Prefix.pch new file mode 100644 index 0000000..35d7640 --- /dev/null +++ b/MathPad/MathPad-Prefix.pch @@ -0,0 +1,9 @@ +// +// Prefix header +// +// The contents of this file are implicitly included at the beginning of every source file. +// + +#ifdef __OBJC__ + #import +#endif diff --git a/MathPad/en.lproj/Credits.rtf b/MathPad/en.lproj/Credits.rtf new file mode 100644 index 0000000..46576ef --- /dev/null +++ b/MathPad/en.lproj/Credits.rtf @@ -0,0 +1,29 @@ +{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;} +{\colortbl;\red255\green255\blue255;} +\paperw9840\paperh8400 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\b\fs24 \cf0 Engineering: +\b0 \ + Some people\ +\ + +\b Human Interface Design: +\b0 \ + Some other people\ +\ + +\b Testing: +\b0 \ + Hopefully not nobody\ +\ + +\b Documentation: +\b0 \ + Whoever\ +\ + +\b With special thanks to: +\b0 \ + Mom\ +} diff --git a/MathPad/en.lproj/InfoPlist.strings b/MathPad/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/MathPad/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/MathPad/main.m b/MathPad/main.m new file mode 100644 index 0000000..9d6b188 --- /dev/null +++ b/MathPad/main.m @@ -0,0 +1,14 @@ +// +// main.m +// MathPad +// +// Created by Kim Wittenburg on 23.03.14. +// Copyright (c) 2014 Kim Wittenburg. All rights reserved. +// + +#import + +int main(int argc, const char * argv[]) +{ + return NSApplicationMain(argc, argv); +} diff --git a/MathPadTests/MathPadTests-Info.plist b/MathPadTests/MathPadTests-Info.plist new file mode 100644 index 0000000..8b25e88 --- /dev/null +++ b/MathPadTests/MathPadTests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + wittenburg.kim.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/MathPadTests/MathPadTests.m b/MathPadTests/MathPadTests.m new file mode 100644 index 0000000..8afb77f --- /dev/null +++ b/MathPadTests/MathPadTests.m @@ -0,0 +1,34 @@ +// +// MathPadTests.m +// MathPadTests +// +// Created by Kim Wittenburg on 23.03.14. +// Copyright (c) 2014 Kim Wittenburg. All rights reserved. +// + +#import + +@interface MathPadTests : XCTestCase + +@end + +@implementation MathPadTests + +- (void)setUp +{ + [super setUp]; + // Put setup code here. This method is called before the invocation of each test method in the class. +} + +- (void)tearDown +{ + // Put teardown code here. This method is called after the invocation of each test method in the class. + [super tearDown]; +} + +- (void)testExample +{ + XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); +} + +@end diff --git a/MathPadTests/en.lproj/InfoPlist.strings b/MathPadTests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/MathPadTests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ +