Skip to content

Commit

Permalink
Merge pull request #2 from BarredEwe/swiftPM
Browse files Browse the repository at this point in the history
Added compatibility with Swift Package Manager
  • Loading branch information
BarredEwe authored Oct 3, 2020
2 parents 33db9cd + a4de92c commit 53ff392
Show file tree
Hide file tree
Showing 35 changed files with 212 additions and 205 deletions.
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions CRRefresh.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
Pod::Spec.new do |s|

s.name = "CRRefresh"
s.version = "1.1.3"
s.version = "1.1.4"
s.summary = "An easy way to use pull-to-refresh"
s.homepage = "https://github.com/CRAnimation/CRRefresh"
s.license = 'MIT'
s.author = { "W_C__L" => "[email protected]" }
s.platform = :ios, "8.0"
s.platform = :ios, "9.0"
s.swift_version = '5.0'
s.source = { :git => "https://github.com/CRAnimation/CRRefresh.git", :tag => s.version.to_s }
s.source_files = ['CRRefresh/CRRefresh/*.{swift}','CRRefresh/CRRefresh/Animators/**/*.{swift}']
s.resources = 'CRRefresh/CRRefresh/Animators/**/*.{bundle}'
s.source_files = ['Sources/CRRefresh/*.{swift}','Sources/CRRefresh/Animators/**/*.{swift}']
s.resources = 'Sources/CRRefresh/Animators/**/*.{bundle}'
s.frameworks = "UIKit"
s.requires_arc = true

Expand Down
24 changes: 0 additions & 24 deletions CRRefresh/Info.plist

This file was deleted.

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "CRRefresh",
platforms: [.iOS(.v9)],
products: [
.library(
name: "CRRefresh",
targets: ["CRRefresh"]),
],
targets: [
.target(
name: "CRRefresh",
resources: [
.copy("Assets/"),
// .process("Resources/config.json"),
// .copy("Resources/HTML")
]),
]
)
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 53ff392

Please sign in to comment.