From d58fe19aa14d4fab6f1f26479bea41a9348b1f72 Mon Sep 17 00:00:00 2001 From: Melvin Rivera Date: Thu, 15 Sep 2016 20:25:14 -0400 Subject: [PATCH] Updated git project name and pod spec --- AFDateHelper.podspec | 16 +++++++++------ DateHelper.xcodeproj/project.pbxproj | 2 -- Demo iOS/Main.storyboard | 27 +++++++++++++------------- Demo tvOS/AppDelegate.swift | 29 ++-------------------------- 4 files changed, 26 insertions(+), 48 deletions(-) diff --git a/AFDateHelper.podspec b/AFDateHelper.podspec index 6af27f6..cc422aa 100644 --- a/AFDateHelper.podspec +++ b/AFDateHelper.podspec @@ -8,22 +8,26 @@ # Pod::Spec.new do |s| - s.name = "DateHelper" + s.name = "AFDateHelper" s.version = "3.5.1" s.summary = "Date Extension for Swift 3.0" s.description = <<-DESC Extension for NSDate in Swift for creating, modifying or comparing dates. DESC - s.homepage = "https://github.com/melvitax/AFDateHelper" - s.screenshots = "https://raw.githubusercontent.com/melvitax/AFDateHelper/master/Screenshot.png" + s.homepage = "https://github.com/melvitax/DateHelper" + s.screenshots = "https://raw.githubusercontent.com/melvitax/DateHelper/master/Screenshot.png" s.license = 'MIT' - s.author = { "Melvin Rivera" => "melvin@allforces.com" } - s.source = { :git => "https://github.com/melvitax/AFDateHelper.git", :tag => s.version.to_s } + s.author = { "Melvin Rivera" => "melvitax@gmail.com" } + s.source = { :git => "https://github.com/melvitax/DateHelper.git", :tag => s.version.to_s } s.social_media_url = 'https://twitter.com/melvitax' s.platforms = { :ios => '8.4', :tvos => '9.0', :osx => '10.10', :watchos => '2.0' } + s.ios.deployment_target = "8.4" + s.watchos.deployment_target = "2.0" + s.tvos.deployment_target = "9.0" + s.xcconfig = { 'SWIFT_VERSION' => '3.0' } - s.source_files = 'AFDateHelper/**/*' +s.source_files = "Sources/**/*.{h,swift}" end diff --git a/DateHelper.xcodeproj/project.pbxproj b/DateHelper.xcodeproj/project.pbxproj index 18267b3..8638965 100644 --- a/DateHelper.xcodeproj/project.pbxproj +++ b/DateHelper.xcodeproj/project.pbxproj @@ -25,7 +25,6 @@ 65E6A7D51D8B4C76000FAA78 /* DateHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65E6A7CE1D8B4959000FAA78 /* DateHelper.swift */; }; 65E6A7D61D8B4C76000FAA78 /* DateHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65E6A7CE1D8B4959000FAA78 /* DateHelper.swift */; }; 65E6A7D71D8B4C77000FAA78 /* DateHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65E6A7CE1D8B4959000FAA78 /* DateHelper.swift */; }; - 65E6A7D81D8B4CA7000FAA78 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 63B7E9BE1CF6DCFF00E9D8EF /* Info.plist */; }; 65E6A7DB1D8B4CBC000FAA78 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 65E6A7D91D8B4CBC000FAA78 /* Main.storyboard */; }; 65E6A7DC1D8B5096000FAA78 /* DateHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65E6A7CE1D8B4959000FAA78 /* DateHelper.swift */; }; 65E6A7DD1D8B5097000FAA78 /* DateHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65E6A7CE1D8B4959000FAA78 /* DateHelper.swift */; }; @@ -401,7 +400,6 @@ files = ( 65E6A7DB1D8B4CBC000FAA78 /* Main.storyboard in Resources */, 65B802BD1D836A06005361F4 /* Assets.xcassets in Resources */, - 65E6A7D81D8B4CA7000FAA78 /* Info.plist in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Demo iOS/Main.storyboard b/Demo iOS/Main.storyboard index 2b67f1f..602ae73 100644 --- a/Demo iOS/Main.storyboard +++ b/Demo iOS/Main.storyboard @@ -1,8 +1,9 @@ - + - + + @@ -21,34 +22,34 @@ - + - + - + - + - + - + @@ -60,7 +61,7 @@ - + diff --git a/Demo tvOS/AppDelegate.swift b/Demo tvOS/AppDelegate.swift index 1c370c2..079d32c 100644 --- a/Demo tvOS/AppDelegate.swift +++ b/Demo tvOS/AppDelegate.swift @@ -12,35 +12,10 @@ import UIKit class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - - - func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { - // Override point for customization after application launch. + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool { 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:. - } - - }