Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ playground.xcworkspace
# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
.swiftpm/
.build/

# CocoaPods
Expand Down
1 change: 1 addition & 0 deletions ArrayUpdater.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Pod::Spec.new do |s|
s.osx.deployment_target = '10.10'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.swift_versions = ['4.2', '5.0']

s.source_files = 'Sources/*.swift'
end
31 changes: 30 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// swift-tools-version:5.0
// Package.swift
//
// Copyright (c) 2016 Todd Kramer (http://www.tekramer.com)
Expand All @@ -24,5 +25,33 @@ import PackageDescription

let package = Package(
name: "ArrayUpdater",
exclude: ["Tests"]
platforms: [
.iOS(.v9),
.tvOS(.v9),
.macOS(.v10_10),
.watchOS(.v2)
],
products: [
.library(
name: "ArrayUpdater",
targets: ["ArrayUpdater"]
)
],
targets: [
.target(
name: "ArrayUpdater",
path: "Sources",
exclude: ["Info.plist"]
),
.testTarget(
name: "ArrayUpdaterTests",
dependencies: ["ArrayUpdater"],
path: "Tests",
exclude: ["Info.plist"]
)
],
swiftLanguageVersions: [
.v4_2,
.v5
]
)
47 changes: 47 additions & 0 deletions Package@swift-4.2.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// swift-tools-version:4.2
// Package.swift
//
// Copyright (c) 2016 Todd Kramer (http://www.tekramer.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
import PackageDescription

let package = Package(
name: "ArrayUpdater",
products: [
.library(
name: "ArrayUpdater",
targets: ["ArrayUpdater"]
)
],
targets: [
.target(
name: "ArrayUpdater",
path: "Sources",
exclude: ["Info.plist"]
),
.testTarget(
name: "ArrayUpdaterTests",
dependencies: ["ArrayUpdater"],
path: "Tests",
exclude: ["Info.plist"]
)
]
)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ArrayUpdater

[![Build Status](https://travis-ci.org/toddkramer/ArrayUpdater.svg?branch=master)](https://travis-ci.org/toddkramer/ArrayUpdater) ![CocoaPods Version](https://cocoapod-badges.herokuapp.com/v/ArrayUpdater/badge.png) [![Swift](https://img.shields.io/badge/swift-4.2-orange.svg?style=flat)](https://developer.apple.com/swift/) ![Platform](https://cocoapod-badges.herokuapp.com/p/ArrayUpdater/badge.png) [![Swift Package Manager compatible](https://img.shields.io/badge/SPM-compatible-4BC51D.svg?style=flat)](https://github.com/apple/swift-package-manager) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![Build Status](https://travis-ci.org/toddkramer/ArrayUpdater.svg?branch=master)](https://travis-ci.org/toddkramer/ArrayUpdater) ![CocoaPods Version](https://cocoapod-badges.herokuapp.com/v/ArrayUpdater/badge.png) [![Swift](https://img.shields.io/badge/swift-5.0_4.2-orange.svg?style=flat)](https://developer.apple.com/swift/) ![Platform](https://cocoapod-badges.herokuapp.com/p/ArrayUpdater/badge.png) [![Swift Package Manager compatible](https://img.shields.io/badge/SPM-compatible-4BC51D.svg?style=flat)](https://github.com/apple/swift-package-manager) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

- [Overview](#overview)
- [Usage](#usage)
Expand Down Expand Up @@ -157,7 +157,7 @@ The above is an example of how you might implement a table view data source usin

## Installation

> _Note:_ ArrayUpdater requires Swift 3 (and [Xcode][] 8) or greater.
> _Note:_ ArrayUpdater requires Swift 4.2 (and [Xcode][] 10) or greater.
>
> Targets using ArrayUpdater must support embedded Swift frameworks.

Expand Down