Skip to content

Commit

Permalink
Updated git project name and pod spec
Browse files Browse the repository at this point in the history
  • Loading branch information
melvitax committed Sep 16, 2016
1 parent c692c52 commit d58fe19
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 48 deletions.
16 changes: 10 additions & 6 deletions AFDateHelper.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions DateHelper.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 */; };
Expand Down Expand Up @@ -401,7 +400,6 @@
files = (
65E6A7DB1D8B4CBC000FAA78 /* Main.storyboard in Resources */,
65B802BD1D836A06005361F4 /* Assets.xcassets in Resources */,
65E6A7D81D8B4CA7000FAA78 /* Info.plist in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
27 changes: 14 additions & 13 deletions Demo iOS/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="6Pl-1Z-F17">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11201" systemVersion="15G1004" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="6Pl-1Z-F17">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Navigation Controller-->
Expand All @@ -21,34 +22,34 @@
</objects>
<point key="canvasLocation" x="-438" y="-285"/>
</scene>
<!--AF Date Helper-->
<!--Date Helper-->
<scene sceneID="Jhf-fe-Yk7">
<objects>
<tableViewController id="sgH-7a-lds" customClass="ViewController" customModule="AFDateHelper" customModuleProvider="target" sceneMemberID="viewController">
<tableViewController id="sgH-7a-lds" customClass="ViewController" customModule="DateHelper" customModuleProvider="target" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" allowsSelection="NO" rowHeight="60" sectionHeaderHeight="22" sectionFooterHeight="22" id="hdY-Qh-42s">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Cell" textLabel="8xd-f2-dkY" detailTextLabel="OOo-dd-wrM" style="IBUITableViewCellStyleSubtitle" id="ebm-IR-qOS">
<rect key="frame" x="0.0" y="86" width="600" height="60"/>
<rect key="frame" x="0.0" y="86" width="375" height="60"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="ebm-IR-qOS" id="DQr-mx-HI7">
<rect key="frame" x="0.0" y="0.0" width="600" height="59.5"/>
<frame key="frameInset" width="375" height="60"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" id="8xd-f2-dkY">
<rect key="frame" x="15" y="9" width="35.5" height="24"/>
<frame key="frameInset" minX="15" minY="9" width="35.5" height="24"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" name="HelveticaNeue-Light" family="Helvetica Neue" pointSize="20"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Subtitle" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" id="OOo-dd-wrM">
<rect key="frame" x="15" y="33" width="52" height="19"/>
<frame key="frameInset" minX="15" minY="33" width="52" height="19"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" name="HelveticaNeue-Light" family="Helvetica Neue" pointSize="16"/>
<color key="textColor" red="1" green="0.0" blue="0.50196081400000003" alpha="1" colorSpace="calibratedRGB"/>
<color key="textColor" red="1" green="0.0" blue="0.50196081400000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
Expand All @@ -60,7 +61,7 @@
<outlet property="delegate" destination="sgH-7a-lds" id="3PU-IP-glO"/>
</connections>
</tableView>
<navigationItem key="navigationItem" title="AF Date Helper" id="rYI-Mr-t9G"/>
<navigationItem key="navigationItem" title="Date Helper" id="rYI-Mr-t9G"/>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="xYL-29-SPv" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
Expand Down
29 changes: 2 additions & 27 deletions Demo tvOS/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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:.
}


}

0 comments on commit d58fe19

Please sign in to comment.