-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add spm support * Add missing imports * Raise minimum ios version * Add missing import
- Loading branch information
Showing
11 changed files
with
86 additions
and
7 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'Colander' | ||
s.version = '0.2.5' | ||
s.version = '0.3.0' | ||
s.summary = 'A highly customizable iOS calendar view' | ||
|
||
s.description = <<-DESC | ||
|
@@ -14,12 +14,12 @@ Pod::Spec.new do |s| | |
s.author = { 'Bryan Oltman' => '[email protected]' } | ||
s.source = { :git => 'https://github.com/blueapron/Colander.git', :tag => s.version.to_s } | ||
|
||
s.ios.deployment_target = '10.0' | ||
s.swift_version = '5.0' | ||
s.ios.deployment_target = '13.0' | ||
s.swift_version = '5.7' | ||
|
||
s.source_files = 'Colander/Classes/**/*' | ||
s.source_files = 'Sources/Colander/Classes/**/*' | ||
|
||
s.dependency 'SnapKit', '~> 5.0.1' | ||
s.dependency 'SwiftDate', '~> 6.3.1' | ||
s.dependency 'SnapKit', '~> 5.6.0' | ||
s.dependency 'SwiftDate', '~> 7.0.0' | ||
|
||
end |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"pins" : [ | ||
{ | ||
"identity" : "snapkit", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/SnapKit/SnapKit.git", | ||
"state" : { | ||
"revision" : "f222cbdf325885926566172f6f5f06af95473158", | ||
"version" : "5.6.0" | ||
} | ||
}, | ||
{ | ||
"identity" : "swiftdate", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/malcommac/SwiftDate.git", | ||
"state" : { | ||
"revision" : "5d943224c3bb173e6ecf27295611615eba90c80e", | ||
"version" : "7.0.0" | ||
} | ||
} | ||
], | ||
"version" : 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// swift-tools-version: 5.7 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "Colander", | ||
platforms: [ | ||
.iOS(.v13) | ||
], | ||
products: [ | ||
.library( | ||
name: "Colander", | ||
targets: ["Colander"]), | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/SnapKit/SnapKit.git", from: "5.6.0"), | ||
.package(url: "https://github.com/malcommac/SwiftDate.git", from: "7.0.0") | ||
], | ||
targets: [ | ||
.target( | ||
name: "Colander", | ||
dependencies: []) | ||
], | ||
swiftLanguageVersions: [.v5] | ||
) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
Colander/Classes/DateExtensions.swift → ...ces/Colander/Classes/DateExtensions.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
#if canImport(UIKit) | ||
|
||
import Foundation | ||
import SwiftDate | ||
|
||
internal extension Calendar { | ||
static let gregorian = Calendar(identifier: Calendar.Identifier.gregorian) | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters