From ba9027c7ffe860034b6db1df043d573296e1a1f2 Mon Sep 17 00:00:00 2001 From: Jeena Date: Tue, 21 Jan 2014 21:37:18 +0100 Subject: [PATCH] Initial Commit --- TextEd.xcodeproj/project.pbxproj | 491 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcschemes/TextEd.xcscheme | 96 ++++ .../xcschemes/xcschememanagement.plist | 27 + TextEd/Base.lproj/Document.xib | 44 ++ TextEd/Base.lproj/MainMenu.xib | 451 ++++++++++++++++ TextEd/Document.h | 13 + TextEd/Document.m | 59 +++ .../AppIcon.appiconset/Contents.json | 58 +++ TextEd/TextEd-Info.plist | 55 ++ TextEd/TextEd-Prefix.pch | 9 + TextEd/en.lproj/Credits.rtf | 29 ++ TextEd/en.lproj/InfoPlist.strings | 2 + TextEd/main.m | 14 + TextEdTests/TextEdTests-Info.plist | 22 + TextEdTests/TextEdTests.m | 34 ++ TextEdTests/en.lproj/InfoPlist.strings | 2 + 17 files changed, 1413 insertions(+) create mode 100644 TextEd.xcodeproj/project.pbxproj create mode 100644 TextEd.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 TextEd.xcodeproj/xcuserdata/jeena.xcuserdatad/xcschemes/TextEd.xcscheme create mode 100644 TextEd.xcodeproj/xcuserdata/jeena.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 TextEd/Base.lproj/Document.xib create mode 100644 TextEd/Base.lproj/MainMenu.xib create mode 100644 TextEd/Document.h create mode 100644 TextEd/Document.m create mode 100644 TextEd/Images.xcassets/AppIcon.appiconset/Contents.json create mode 100644 TextEd/TextEd-Info.plist create mode 100644 TextEd/TextEd-Prefix.pch create mode 100644 TextEd/en.lproj/Credits.rtf create mode 100644 TextEd/en.lproj/InfoPlist.strings create mode 100644 TextEd/main.m create mode 100644 TextEdTests/TextEdTests-Info.plist create mode 100644 TextEdTests/TextEdTests.m create mode 100644 TextEdTests/en.lproj/InfoPlist.strings diff --git a/TextEd.xcodeproj/project.pbxproj b/TextEd.xcodeproj/project.pbxproj new file mode 100644 index 0000000..0088485 --- /dev/null +++ b/TextEd.xcodeproj/project.pbxproj @@ -0,0 +1,491 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 1F857040188F11FC00C56A96 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1F85703F188F11FC00C56A96 /* Cocoa.framework */; }; + 1F85704A188F11FC00C56A96 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1F857048188F11FC00C56A96 /* InfoPlist.strings */; }; + 1F85704C188F11FC00C56A96 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F85704B188F11FC00C56A96 /* main.m */; }; + 1F857050188F11FC00C56A96 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 1F85704E188F11FC00C56A96 /* Credits.rtf */; }; + 1F857053188F11FC00C56A96 /* Document.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F857052188F11FC00C56A96 /* Document.m */; }; + 1F857056188F11FC00C56A96 /* Document.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1F857054188F11FC00C56A96 /* Document.xib */; }; + 1F857059188F11FC00C56A96 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1F857057188F11FC00C56A96 /* MainMenu.xib */; }; + 1F85705B188F11FC00C56A96 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1F85705A188F11FC00C56A96 /* Images.xcassets */; }; + 1F857062188F11FC00C56A96 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1F857061188F11FC00C56A96 /* XCTest.framework */; }; + 1F857063188F11FC00C56A96 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1F85703F188F11FC00C56A96 /* Cocoa.framework */; }; + 1F85706B188F11FC00C56A96 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1F857069188F11FC00C56A96 /* InfoPlist.strings */; }; + 1F85706D188F11FC00C56A96 /* TextEdTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F85706C188F11FC00C56A96 /* TextEdTests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1F857064188F11FC00C56A96 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1F857034188F11FC00C56A96 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1F85703B188F11FC00C56A96; + remoteInfo = TextEd; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1F85703C188F11FC00C56A96 /* TextEd.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TextEd.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 1F85703F188F11FC00C56A96 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; + 1F857042188F11FC00C56A96 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; + 1F857043188F11FC00C56A96 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; + 1F857044188F11FC00C56A96 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1F857047188F11FC00C56A96 /* TextEd-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "TextEd-Info.plist"; sourceTree = ""; }; + 1F857049188F11FC00C56A96 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 1F85704B188F11FC00C56A96 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 1F85704D188F11FC00C56A96 /* TextEd-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "TextEd-Prefix.pch"; sourceTree = ""; }; + 1F85704F188F11FC00C56A96 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = ""; }; + 1F857051188F11FC00C56A96 /* Document.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Document.h; sourceTree = ""; }; + 1F857052188F11FC00C56A96 /* Document.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Document.m; sourceTree = ""; }; + 1F857055188F11FC00C56A96 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/Document.xib; sourceTree = ""; }; + 1F857058188F11FC00C56A96 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; + 1F85705A188F11FC00C56A96 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 1F857060188F11FC00C56A96 /* TextEdTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TextEdTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 1F857061188F11FC00C56A96 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; + 1F857068188F11FC00C56A96 /* TextEdTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "TextEdTests-Info.plist"; sourceTree = ""; }; + 1F85706A188F11FC00C56A96 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 1F85706C188F11FC00C56A96 /* TextEdTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TextEdTests.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1F857039188F11FC00C56A96 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1F857040188F11FC00C56A96 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1F85705D188F11FC00C56A96 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1F857063188F11FC00C56A96 /* Cocoa.framework in Frameworks */, + 1F857062188F11FC00C56A96 /* XCTest.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 1F857033188F11FC00C56A96 = { + isa = PBXGroup; + children = ( + 1F857045188F11FC00C56A96 /* TextEd */, + 1F857066188F11FC00C56A96 /* TextEdTests */, + 1F85703E188F11FC00C56A96 /* Frameworks */, + 1F85703D188F11FC00C56A96 /* Products */, + ); + sourceTree = ""; + }; + 1F85703D188F11FC00C56A96 /* Products */ = { + isa = PBXGroup; + children = ( + 1F85703C188F11FC00C56A96 /* TextEd.app */, + 1F857060188F11FC00C56A96 /* TextEdTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 1F85703E188F11FC00C56A96 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 1F85703F188F11FC00C56A96 /* Cocoa.framework */, + 1F857061188F11FC00C56A96 /* XCTest.framework */, + 1F857041188F11FC00C56A96 /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = ""; + }; + 1F857041188F11FC00C56A96 /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 1F857042188F11FC00C56A96 /* AppKit.framework */, + 1F857043188F11FC00C56A96 /* CoreData.framework */, + 1F857044188F11FC00C56A96 /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = ""; + }; + 1F857045188F11FC00C56A96 /* TextEd */ = { + isa = PBXGroup; + children = ( + 1F857051188F11FC00C56A96 /* Document.h */, + 1F857052188F11FC00C56A96 /* Document.m */, + 1F857054188F11FC00C56A96 /* Document.xib */, + 1F857057188F11FC00C56A96 /* MainMenu.xib */, + 1F85705A188F11FC00C56A96 /* Images.xcassets */, + 1F857046188F11FC00C56A96 /* Supporting Files */, + ); + path = TextEd; + sourceTree = ""; + }; + 1F857046188F11FC00C56A96 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 1F857047188F11FC00C56A96 /* TextEd-Info.plist */, + 1F857048188F11FC00C56A96 /* InfoPlist.strings */, + 1F85704B188F11FC00C56A96 /* main.m */, + 1F85704D188F11FC00C56A96 /* TextEd-Prefix.pch */, + 1F85704E188F11FC00C56A96 /* Credits.rtf */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 1F857066188F11FC00C56A96 /* TextEdTests */ = { + isa = PBXGroup; + children = ( + 1F85706C188F11FC00C56A96 /* TextEdTests.m */, + 1F857067188F11FC00C56A96 /* Supporting Files */, + ); + path = TextEdTests; + sourceTree = ""; + }; + 1F857067188F11FC00C56A96 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 1F857068188F11FC00C56A96 /* TextEdTests-Info.plist */, + 1F857069188F11FC00C56A96 /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1F85703B188F11FC00C56A96 /* TextEd */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1F857070188F11FC00C56A96 /* Build configuration list for PBXNativeTarget "TextEd" */; + buildPhases = ( + 1F857038188F11FC00C56A96 /* Sources */, + 1F857039188F11FC00C56A96 /* Frameworks */, + 1F85703A188F11FC00C56A96 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = TextEd; + productName = TextEd; + productReference = 1F85703C188F11FC00C56A96 /* TextEd.app */; + productType = "com.apple.product-type.application"; + }; + 1F85705F188F11FC00C56A96 /* TextEdTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1F857073188F11FC00C56A96 /* Build configuration list for PBXNativeTarget "TextEdTests" */; + buildPhases = ( + 1F85705C188F11FC00C56A96 /* Sources */, + 1F85705D188F11FC00C56A96 /* Frameworks */, + 1F85705E188F11FC00C56A96 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 1F857065188F11FC00C56A96 /* PBXTargetDependency */, + ); + name = TextEdTests; + productName = TextEdTests; + productReference = 1F857060188F11FC00C56A96 /* TextEdTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 1F857034188F11FC00C56A96 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + ORGANIZATIONNAME = Jeena; + TargetAttributes = { + 1F85705F188F11FC00C56A96 = { + TestTargetID = 1F85703B188F11FC00C56A96; + }; + }; + }; + buildConfigurationList = 1F857037188F11FC00C56A96 /* Build configuration list for PBXProject "TextEd" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 1F857033188F11FC00C56A96; + productRefGroup = 1F85703D188F11FC00C56A96 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 1F85703B188F11FC00C56A96 /* TextEd */, + 1F85705F188F11FC00C56A96 /* TextEdTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 1F85703A188F11FC00C56A96 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1F857056188F11FC00C56A96 /* Document.xib in Resources */, + 1F85705B188F11FC00C56A96 /* Images.xcassets in Resources */, + 1F85704A188F11FC00C56A96 /* InfoPlist.strings in Resources */, + 1F857050188F11FC00C56A96 /* Credits.rtf in Resources */, + 1F857059188F11FC00C56A96 /* MainMenu.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1F85705E188F11FC00C56A96 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1F85706B188F11FC00C56A96 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1F857038188F11FC00C56A96 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1F857053188F11FC00C56A96 /* Document.m in Sources */, + 1F85704C188F11FC00C56A96 /* main.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1F85705C188F11FC00C56A96 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1F85706D188F11FC00C56A96 /* TextEdTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1F857065188F11FC00C56A96 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 1F85703B188F11FC00C56A96 /* TextEd */; + targetProxy = 1F857064188F11FC00C56A96 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 1F857048188F11FC00C56A96 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 1F857049188F11FC00C56A96 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 1F85704E188F11FC00C56A96 /* Credits.rtf */ = { + isa = PBXVariantGroup; + children = ( + 1F85704F188F11FC00C56A96 /* en */, + ); + name = Credits.rtf; + sourceTree = ""; + }; + 1F857054188F11FC00C56A96 /* Document.xib */ = { + isa = PBXVariantGroup; + children = ( + 1F857055188F11FC00C56A96 /* Base */, + ); + name = Document.xib; + sourceTree = ""; + }; + 1F857057188F11FC00C56A96 /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + 1F857058188F11FC00C56A96 /* Base */, + ); + name = MainMenu.xib; + sourceTree = ""; + }; + 1F857069188F11FC00C56A96 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 1F85706A188F11FC00C56A96 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 1F85706E188F11FC00C56A96 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + 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; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.9; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + 1F85706F188F11FC00C56A96 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + 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; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.9; + SDKROOT = macosx; + }; + name = Release; + }; + 1F857071188F11FC00C56A96 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + COMBINE_HIDPI_IMAGES = YES; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "TextEd/TextEd-Prefix.pch"; + INFOPLIST_FILE = "TextEd/TextEd-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 1F857072188F11FC00C56A96 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + COMBINE_HIDPI_IMAGES = YES; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "TextEd/TextEd-Prefix.pch"; + INFOPLIST_FILE = "TextEd/TextEd-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + 1F857074188F11FC00C56A96 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/TextEd.app/Contents/MacOS/TextEd"; + COMBINE_HIDPI_IMAGES = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(DEVELOPER_FRAMEWORKS_DIR)", + "$(inherited)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "TextEd/TextEd-Prefix.pch"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = "TextEdTests/TextEdTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = xctest; + }; + name = Debug; + }; + 1F857075188F11FC00C56A96 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/TextEd.app/Contents/MacOS/TextEd"; + COMBINE_HIDPI_IMAGES = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(DEVELOPER_FRAMEWORKS_DIR)", + "$(inherited)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "TextEd/TextEd-Prefix.pch"; + INFOPLIST_FILE = "TextEdTests/TextEdTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = xctest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1F857037188F11FC00C56A96 /* Build configuration list for PBXProject "TextEd" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1F85706E188F11FC00C56A96 /* Debug */, + 1F85706F188F11FC00C56A96 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1F857070188F11FC00C56A96 /* Build configuration list for PBXNativeTarget "TextEd" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1F857071188F11FC00C56A96 /* Debug */, + 1F857072188F11FC00C56A96 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 1F857073188F11FC00C56A96 /* Build configuration list for PBXNativeTarget "TextEdTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1F857074188F11FC00C56A96 /* Debug */, + 1F857075188F11FC00C56A96 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 1F857034188F11FC00C56A96 /* Project object */; +} diff --git a/TextEd.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/TextEd.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..220ea38 --- /dev/null +++ b/TextEd.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/TextEd.xcodeproj/xcuserdata/jeena.xcuserdatad/xcschemes/TextEd.xcscheme b/TextEd.xcodeproj/xcuserdata/jeena.xcuserdatad/xcschemes/TextEd.xcscheme new file mode 100644 index 0000000..50c5d80 --- /dev/null +++ b/TextEd.xcodeproj/xcuserdata/jeena.xcuserdatad/xcschemes/TextEd.xcscheme @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TextEd.xcodeproj/xcuserdata/jeena.xcuserdatad/xcschemes/xcschememanagement.plist b/TextEd.xcodeproj/xcuserdata/jeena.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..3ab8631 --- /dev/null +++ b/TextEd.xcodeproj/xcuserdata/jeena.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,27 @@ + + + + + SchemeUserState + + TextEd.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 1F85703B188F11FC00C56A96 + + primary + + + 1F85705F188F11FC00C56A96 + + primary + + + + + diff --git a/TextEd/Base.lproj/Document.xib b/TextEd/Base.lproj/Document.xib new file mode 100644 index 0000000..b30d47d --- /dev/null +++ b/TextEd/Base.lproj/Document.xib @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/TextEd/Base.lproj/MainMenu.xib b/TextEd/Base.lproj/MainMenu.xib new file mode 100644 index 0000000..0233762 --- /dev/null +++ b/TextEd/Base.lproj/MainMenu.xib @@ -0,0 +1,451 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default + + + + Left to Right + + + + Right to Left + + + + + + + + Default + + + + Left to Right + + + + Right to Left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TextEd/Document.h b/TextEd/Document.h new file mode 100644 index 0000000..923259a --- /dev/null +++ b/TextEd/Document.h @@ -0,0 +1,13 @@ +// +// Document.h +// TextEd +// +// Created by Jeena on 2014-01-21. +// Copyright (c) 2014 Jeena. All rights reserved. +// + +#import + +@interface Document : NSDocument + +@end diff --git a/TextEd/Document.m b/TextEd/Document.m new file mode 100644 index 0000000..d672846 --- /dev/null +++ b/TextEd/Document.m @@ -0,0 +1,59 @@ +// +// Document.m +// TextEd +// +// Created by Jeena on 2014-01-21. +// Copyright (c) 2014 Jeena. All rights reserved. +// + +#import "Document.h" + +@implementation Document + +- (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 @"Document"; +} + +- (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/TextEd/Images.xcassets/AppIcon.appiconset/Contents.json b/TextEd/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..2db2b1c --- /dev/null +++ b/TextEd/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/TextEd/TextEd-Info.plist b/TextEd/TextEd-Info.plist new file mode 100644 index 0000000..e95eb49 --- /dev/null +++ b/TextEd/TextEd-Info.plist @@ -0,0 +1,55 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDocumentTypes + + + CFBundleTypeExtensions + + txt + + CFBundleTypeIconFile + + CFBundleTypeName + DocumentType + CFBundleTypeOSTypes + + ???? + + CFBundleTypeRole + Editor + NSDocumentClass + Document + + + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + net.jeena.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSMinimumSystemVersion + ${MACOSX_DEPLOYMENT_TARGET} + NSHumanReadableCopyright + Copyright © 2014 Jeena. All rights reserved. + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + + diff --git a/TextEd/TextEd-Prefix.pch b/TextEd/TextEd-Prefix.pch new file mode 100644 index 0000000..35d7640 --- /dev/null +++ b/TextEd/TextEd-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/TextEd/en.lproj/Credits.rtf b/TextEd/en.lproj/Credits.rtf new file mode 100644 index 0000000..46576ef --- /dev/null +++ b/TextEd/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/TextEd/en.lproj/InfoPlist.strings b/TextEd/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/TextEd/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/TextEd/main.m b/TextEd/main.m new file mode 100644 index 0000000..585cab7 --- /dev/null +++ b/TextEd/main.m @@ -0,0 +1,14 @@ +// +// main.m +// TextEd +// +// Created by Jeena on 2014-01-21. +// Copyright (c) 2014 Jeena. All rights reserved. +// + +#import + +int main(int argc, const char * argv[]) +{ + return NSApplicationMain(argc, argv); +} diff --git a/TextEdTests/TextEdTests-Info.plist b/TextEdTests/TextEdTests-Info.plist new file mode 100644 index 0000000..ea817e1 --- /dev/null +++ b/TextEdTests/TextEdTests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + net.jeena.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/TextEdTests/TextEdTests.m b/TextEdTests/TextEdTests.m new file mode 100644 index 0000000..91fbf1a --- /dev/null +++ b/TextEdTests/TextEdTests.m @@ -0,0 +1,34 @@ +// +// TextEdTests.m +// TextEdTests +// +// Created by Jeena on 2014-01-21. +// Copyright (c) 2014 Jeena. All rights reserved. +// + +#import + +@interface TextEdTests : XCTestCase + +@end + +@implementation TextEdTests + +- (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/TextEdTests/en.lproj/InfoPlist.strings b/TextEdTests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/TextEdTests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ +