From 9beafbddbf1e26ad10aed1f3a4ab5024a7c1c104 Mon Sep 17 00:00:00 2001 From: TomKnig Date: Sun, 8 Jun 2014 19:18:19 +0200 Subject: [PATCH] initial project structure --- .gitignore | 8 +- CHANGELOG.md | 5 - Classes/ios/.gitkeep | 0 Classes/osx/.gitkeep | 0 Example/Podfile | 13 +- .../Local Podspecs/TOMSMorphingLabel.podspec | 37 ++ .../project.pbxproj | 412 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../TOMMorphingLabelExample/AppDelegate.swift | 46 ++ .../Base.lproj/Main.storyboard | 25 ++ .../AppIcon.appiconset/Contents.json | 23 + .../LaunchImage.launchimage/Contents.json | 23 + Example/TOMMorphingLabelExample/Info.plist | 32 ++ .../ViewController.swift | 25 ++ .../TOMMorphingLabelExampleTests/Info.plist | 24 + .../TOMMorphingLabelExampleTests.swift | 35 ++ TOMSMorphingLabel.podspec | 25 +- VERSION | 1 - 18 files changed, 698 insertions(+), 43 deletions(-) delete mode 100644 CHANGELOG.md delete mode 100644 Classes/ios/.gitkeep delete mode 100644 Classes/osx/.gitkeep create mode 100644 Example/Pods/Local Podspecs/TOMSMorphingLabel.podspec create mode 100644 Example/TOMMorphingLabelExample.xcodeproj/project.pbxproj create mode 100644 Example/TOMMorphingLabelExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 Example/TOMMorphingLabelExample/AppDelegate.swift create mode 100644 Example/TOMMorphingLabelExample/Base.lproj/Main.storyboard create mode 100644 Example/TOMMorphingLabelExample/Images.xcassets/AppIcon.appiconset/Contents.json create mode 100644 Example/TOMMorphingLabelExample/Images.xcassets/LaunchImage.launchimage/Contents.json create mode 100644 Example/TOMMorphingLabelExample/Info.plist create mode 100644 Example/TOMMorphingLabelExample/ViewController.swift create mode 100644 Example/TOMMorphingLabelExampleTests/Info.plist create mode 100644 Example/TOMMorphingLabelExampleTests/TOMMorphingLabelExampleTests.swift delete mode 100644 VERSION diff --git a/.gitignore b/.gitignore index d8d73b5..cd376a1 100644 --- a/.gitignore +++ b/.gitignore @@ -19,9 +19,5 @@ DerivedData *.hmap *.ipa -# We recommend against adding the Pods directory to your .gitignore. However -# you should judge for yourself, the pros and cons are mentioned at: -# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control? -# -# Pods/ - +# Pods +Rakefile diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 27f5969..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,5 +0,0 @@ -# TOMSMorphingLabel CHANGELOG - -## 0.1.0 - -Initial release. diff --git a/Classes/ios/.gitkeep b/Classes/ios/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/Classes/osx/.gitkeep b/Classes/osx/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/Example/Podfile b/Example/Podfile index c9a89fc..f1077dc 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,12 +1,3 @@ -# Uncomment this line to define a global platform for your project -# platform :ios, '7.0' - -target "Demo" do - pod "TOMSMorphingLabel", :path => "../" -end - -# Uncomment the following lines to add testing dependencies -# target "DemoTests" do -# pod 'Expecta' -# end +platform :ios, '7.0' +pod "TOMSMorphingLabel", :path => "../" diff --git a/Example/Pods/Local Podspecs/TOMSMorphingLabel.podspec b/Example/Pods/Local Podspecs/TOMSMorphingLabel.podspec new file mode 100644 index 0000000..47e46eb --- /dev/null +++ b/Example/Pods/Local Podspecs/TOMSMorphingLabel.podspec @@ -0,0 +1,37 @@ +# +# Be sure to run `pod lib lint NAME.podspec' to ensure this is a +# valid spec and remove all comments before submitting the spec. +# +# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html +# +Pod::Spec.new do |s| + s.name = "TOMSMorphingLabel" + s.version = File.read('VERSION') + s.summary = "A short description of TOMSMorphingLabel." + s.description = <<-DESC + An optional longer description of TOMSMorphingLabel + + * Markdown format. + * Don't worry about the indent, we strip it! + DESC + s.homepage = "http://EXAMPLE/NAME" + s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2" + s.license = 'MIT' + s.author = { "TomKnig" => "hi@tomknig.de" } + s.source = { :git => "http://EXAMPLE/NAME.git", :tag => s.version.to_s } + s.social_media_url = 'https://twitter.com/EXAMPLE' + + # s.platform = :ios, '5.0' + # s.ios.deployment_target = '5.0' + # s.osx.deployment_target = '10.7' + s.requires_arc = true + + s.source_files = 'Classes' + s.resources = 'Assets/*.png' + + s.ios.exclude_files = 'Classes/osx' + s.osx.exclude_files = 'Classes/ios' + # s.public_header_files = 'Classes/**/*.h' + # s.frameworks = 'SomeFramework', 'AnotherFramework' + # s.dependency 'JSONKit', '~> 1.4' +end diff --git a/Example/TOMMorphingLabelExample.xcodeproj/project.pbxproj b/Example/TOMMorphingLabelExample.xcodeproj/project.pbxproj new file mode 100644 index 0000000..42bd4aa --- /dev/null +++ b/Example/TOMMorphingLabelExample.xcodeproj/project.pbxproj @@ -0,0 +1,412 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + A6AFEC3A1944CE9A00CC78C0 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6AFEC391944CE9A00CC78C0 /* AppDelegate.swift */; }; + A6AFEC3C1944CE9A00CC78C0 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6AFEC3B1944CE9A00CC78C0 /* ViewController.swift */; }; + A6AFEC3F1944CE9A00CC78C0 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A6AFEC3D1944CE9A00CC78C0 /* Main.storyboard */; }; + A6AFEC411944CE9A00CC78C0 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A6AFEC401944CE9A00CC78C0 /* Images.xcassets */; }; + A6AFEC4D1944CE9B00CC78C0 /* TOMMorphingLabelExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6AFEC4C1944CE9B00CC78C0 /* TOMMorphingLabelExampleTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + A6AFEC471944CE9A00CC78C0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = A6AFEC2C1944CE9A00CC78C0 /* Project object */; + proxyType = 1; + remoteGlobalIDString = A6AFEC331944CE9A00CC78C0; + remoteInfo = TOMMorphingLabelExample; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + A6AFEC341944CE9A00CC78C0 /* TOMMorphingLabelExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TOMMorphingLabelExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; + A6AFEC381944CE9A00CC78C0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + A6AFEC391944CE9A00CC78C0 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + A6AFEC3B1944CE9A00CC78C0 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + A6AFEC3E1944CE9A00CC78C0 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + A6AFEC401944CE9A00CC78C0 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + A6AFEC461944CE9A00CC78C0 /* TOMMorphingLabelExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TOMMorphingLabelExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + A6AFEC4B1944CE9A00CC78C0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + A6AFEC4C1944CE9B00CC78C0 /* TOMMorphingLabelExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TOMMorphingLabelExampleTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + A6AFEC311944CE9A00CC78C0 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A6AFEC431944CE9A00CC78C0 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + A6AFEC2B1944CE9A00CC78C0 = { + isa = PBXGroup; + children = ( + A6AFEC361944CE9A00CC78C0 /* TOMMorphingLabelExample */, + A6AFEC491944CE9A00CC78C0 /* TOMMorphingLabelExampleTests */, + A6AFEC351944CE9A00CC78C0 /* Products */, + ); + sourceTree = ""; + }; + A6AFEC351944CE9A00CC78C0 /* Products */ = { + isa = PBXGroup; + children = ( + A6AFEC341944CE9A00CC78C0 /* TOMMorphingLabelExample.app */, + A6AFEC461944CE9A00CC78C0 /* TOMMorphingLabelExampleTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + A6AFEC361944CE9A00CC78C0 /* TOMMorphingLabelExample */ = { + isa = PBXGroup; + children = ( + A6AFEC391944CE9A00CC78C0 /* AppDelegate.swift */, + A6AFEC3B1944CE9A00CC78C0 /* ViewController.swift */, + A6AFEC3D1944CE9A00CC78C0 /* Main.storyboard */, + A6AFEC401944CE9A00CC78C0 /* Images.xcassets */, + A6AFEC371944CE9A00CC78C0 /* Supporting Files */, + ); + path = TOMMorphingLabelExample; + sourceTree = ""; + }; + A6AFEC371944CE9A00CC78C0 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + A6AFEC381944CE9A00CC78C0 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + A6AFEC491944CE9A00CC78C0 /* TOMMorphingLabelExampleTests */ = { + isa = PBXGroup; + children = ( + A6AFEC4C1944CE9B00CC78C0 /* TOMMorphingLabelExampleTests.swift */, + A6AFEC4A1944CE9A00CC78C0 /* Supporting Files */, + ); + path = TOMMorphingLabelExampleTests; + sourceTree = ""; + }; + A6AFEC4A1944CE9A00CC78C0 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + A6AFEC4B1944CE9A00CC78C0 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + A6AFEC331944CE9A00CC78C0 /* TOMMorphingLabelExample */ = { + isa = PBXNativeTarget; + buildConfigurationList = A6AFEC501944CE9B00CC78C0 /* Build configuration list for PBXNativeTarget "TOMMorphingLabelExample" */; + buildPhases = ( + A6AFEC301944CE9A00CC78C0 /* Sources */, + A6AFEC311944CE9A00CC78C0 /* Frameworks */, + A6AFEC321944CE9A00CC78C0 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = TOMMorphingLabelExample; + productName = TOMMorphingLabelExample; + productReference = A6AFEC341944CE9A00CC78C0 /* TOMMorphingLabelExample.app */; + productType = "com.apple.product-type.application"; + }; + A6AFEC451944CE9A00CC78C0 /* TOMMorphingLabelExampleTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = A6AFEC531944CE9B00CC78C0 /* Build configuration list for PBXNativeTarget "TOMMorphingLabelExampleTests" */; + buildPhases = ( + A6AFEC421944CE9A00CC78C0 /* Sources */, + A6AFEC431944CE9A00CC78C0 /* Frameworks */, + A6AFEC441944CE9A00CC78C0 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + A6AFEC481944CE9A00CC78C0 /* PBXTargetDependency */, + ); + name = TOMMorphingLabelExampleTests; + productName = TOMMorphingLabelExampleTests; + productReference = A6AFEC461944CE9A00CC78C0 /* TOMMorphingLabelExampleTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + A6AFEC2C1944CE9A00CC78C0 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0600; + ORGANIZATIONNAME = TomKnig; + TargetAttributes = { + A6AFEC331944CE9A00CC78C0 = { + CreatedOnToolsVersion = 6.0; + }; + A6AFEC451944CE9A00CC78C0 = { + CreatedOnToolsVersion = 6.0; + TestTargetID = A6AFEC331944CE9A00CC78C0; + }; + }; + }; + buildConfigurationList = A6AFEC2F1944CE9A00CC78C0 /* Build configuration list for PBXProject "TOMMorphingLabelExample" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = A6AFEC2B1944CE9A00CC78C0; + productRefGroup = A6AFEC351944CE9A00CC78C0 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + A6AFEC331944CE9A00CC78C0 /* TOMMorphingLabelExample */, + A6AFEC451944CE9A00CC78C0 /* TOMMorphingLabelExampleTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + A6AFEC321944CE9A00CC78C0 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A6AFEC3F1944CE9A00CC78C0 /* Main.storyboard in Resources */, + A6AFEC411944CE9A00CC78C0 /* Images.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A6AFEC441944CE9A00CC78C0 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + A6AFEC301944CE9A00CC78C0 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A6AFEC3C1944CE9A00CC78C0 /* ViewController.swift in Sources */, + A6AFEC3A1944CE9A00CC78C0 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A6AFEC421944CE9A00CC78C0 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A6AFEC4D1944CE9B00CC78C0 /* TOMMorphingLabelExampleTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + A6AFEC481944CE9A00CC78C0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A6AFEC331944CE9A00CC78C0 /* TOMMorphingLabelExample */; + targetProxy = A6AFEC471944CE9A00CC78C0 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + A6AFEC3D1944CE9A00CC78C0 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + A6AFEC3E1944CE9A00CC78C0 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + A6AFEC4E1944CE9B00CC78C0 /* 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_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + METAL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + A6AFEC4F1944CE9B00CC78C0 /* 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_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + METAL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + A6AFEC511944CE9B00CC78C0 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + INFOPLIST_FILE = TOMMorphingLabelExample/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + A6AFEC521944CE9B00CC78C0 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + INFOPLIST_FILE = TOMMorphingLabelExample/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + A6AFEC541944CE9B00CC78C0 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/TOMMorphingLabelExample.app/TOMMorphingLabelExample"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + ); + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = TOMMorphingLabelExampleTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + METAL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + }; + name = Debug; + }; + A6AFEC551944CE9B00CC78C0 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/TOMMorphingLabelExample.app/TOMMorphingLabelExample"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + ); + INFOPLIST_FILE = TOMMorphingLabelExampleTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + METAL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + A6AFEC2F1944CE9A00CC78C0 /* Build configuration list for PBXProject "TOMMorphingLabelExample" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A6AFEC4E1944CE9B00CC78C0 /* Debug */, + A6AFEC4F1944CE9B00CC78C0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A6AFEC501944CE9B00CC78C0 /* Build configuration list for PBXNativeTarget "TOMMorphingLabelExample" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A6AFEC511944CE9B00CC78C0 /* Debug */, + A6AFEC521944CE9B00CC78C0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + A6AFEC531944CE9B00CC78C0 /* Build configuration list for PBXNativeTarget "TOMMorphingLabelExampleTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A6AFEC541944CE9B00CC78C0 /* Debug */, + A6AFEC551944CE9B00CC78C0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = A6AFEC2C1944CE9A00CC78C0 /* Project object */; +} diff --git a/Example/TOMMorphingLabelExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/TOMMorphingLabelExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..578492d --- /dev/null +++ b/Example/TOMMorphingLabelExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Example/TOMMorphingLabelExample/AppDelegate.swift b/Example/TOMMorphingLabelExample/AppDelegate.swift new file mode 100644 index 0000000..63ae353 --- /dev/null +++ b/Example/TOMMorphingLabelExample/AppDelegate.swift @@ -0,0 +1,46 @@ +// +// AppDelegate.swift +// TOMMorphingLabelExample +// +// Created by Tom König on 08/06/14. +// Copyright (c) 2014 TomKnig. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: NSDictionary?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(application: UIApplication) { + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + func applicationWillTerminate(application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + +} + diff --git a/Example/TOMMorphingLabelExample/Base.lproj/Main.storyboard b/Example/TOMMorphingLabelExample/Base.lproj/Main.storyboard new file mode 100644 index 0000000..9d65d6f --- /dev/null +++ b/Example/TOMMorphingLabelExample/Base.lproj/Main.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/TOMMorphingLabelExample/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/TOMMorphingLabelExample/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..a396706 --- /dev/null +++ b/Example/TOMMorphingLabelExample/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Example/TOMMorphingLabelExample/Images.xcassets/LaunchImage.launchimage/Contents.json b/Example/TOMMorphingLabelExample/Images.xcassets/LaunchImage.launchimage/Contents.json new file mode 100644 index 0000000..c79ebd3 --- /dev/null +++ b/Example/TOMMorphingLabelExample/Images.xcassets/LaunchImage.launchimage/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "orientation" : "portrait", + "idiom" : "iphone", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "subtype" : "retina4", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Example/TOMMorphingLabelExample/Info.plist b/Example/TOMMorphingLabelExample/Info.plist new file mode 100644 index 0000000..f0c0168 --- /dev/null +++ b/Example/TOMMorphingLabelExample/Info.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + de.tomknig.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + + diff --git a/Example/TOMMorphingLabelExample/ViewController.swift b/Example/TOMMorphingLabelExample/ViewController.swift new file mode 100644 index 0000000..b49f3c9 --- /dev/null +++ b/Example/TOMMorphingLabelExample/ViewController.swift @@ -0,0 +1,25 @@ +// +// ViewController.swift +// TOMMorphingLabelExample +// +// Created by Tom König on 08/06/14. +// Copyright (c) 2014 TomKnig. All rights reserved. +// + +import UIKit + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view, typically from a nib. + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + + +} + diff --git a/Example/TOMMorphingLabelExampleTests/Info.plist b/Example/TOMMorphingLabelExampleTests/Info.plist new file mode 100644 index 0000000..515723f --- /dev/null +++ b/Example/TOMMorphingLabelExampleTests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + de.tomknig.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Example/TOMMorphingLabelExampleTests/TOMMorphingLabelExampleTests.swift b/Example/TOMMorphingLabelExampleTests/TOMMorphingLabelExampleTests.swift new file mode 100644 index 0000000..d22a3a2 --- /dev/null +++ b/Example/TOMMorphingLabelExampleTests/TOMMorphingLabelExampleTests.swift @@ -0,0 +1,35 @@ +// +// TOMMorphingLabelExampleTests.swift +// TOMMorphingLabelExampleTests +// +// Created by Tom König on 08/06/14. +// Copyright (c) 2014 TomKnig. All rights reserved. +// + +import XCTest + +class TOMMorphingLabelExampleTests: XCTestCase { + + override func setUp() { + super.setUp() + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // This is an example of a functional test case. + XCTAssert(true, "Pass") + } + + func testPerformanceExample() { + // This is an example of a performance test case. + self.measureBlock() { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/TOMSMorphingLabel.podspec b/TOMSMorphingLabel.podspec index 47e46eb..72a2369 100644 --- a/TOMSMorphingLabel.podspec +++ b/TOMSMorphingLabel.podspec @@ -1,13 +1,7 @@ -# -# Be sure to run `pod lib lint NAME.podspec' to ensure this is a -# valid spec and remove all comments before submitting the spec. -# -# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html -# Pod::Spec.new do |s| s.name = "TOMSMorphingLabel" - s.version = File.read('VERSION') - s.summary = "A short description of TOMSMorphingLabel." + s.version = 0.1.0 + s.summary = "TOMSMorphingLabel is a custom Label that provides morphing transitions to new content." s.description = <<-DESC An optional longer description of TOMSMorphingLabel @@ -18,20 +12,11 @@ Pod::Spec.new do |s| s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2" s.license = 'MIT' s.author = { "TomKnig" => "hi@tomknig.de" } - s.source = { :git => "http://EXAMPLE/NAME.git", :tag => s.version.to_s } - s.social_media_url = 'https://twitter.com/EXAMPLE' + s.source = { :git => "https://github.com/TomKnig/TOMSMorphingLabel.git", :tag => s.version.to_s } + s.social_media_url = 'https://twitter.com/TomKnig' - # s.platform = :ios, '5.0' - # s.ios.deployment_target = '5.0' - # s.osx.deployment_target = '10.7' + s.platform = :ios, '7.0' s.requires_arc = true s.source_files = 'Classes' - s.resources = 'Assets/*.png' - - s.ios.exclude_files = 'Classes/osx' - s.osx.exclude_files = 'Classes/ios' - # s.public_header_files = 'Classes/**/*.h' - # s.frameworks = 'SomeFramework', 'AnotherFramework' - # s.dependency 'JSONKit', '~> 1.4' end diff --git a/VERSION b/VERSION deleted file mode 100644 index 6e8bf73..0000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -0.1.0