Skip to content

Commit

Permalink
Merge pull request #48 from TimOliver/spm
Browse files Browse the repository at this point in the history
Fixed SPM support
  • Loading branch information
TimOliver authored Oct 8, 2023
2 parents 3848f64 + fcba91e commit 7bed12c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ x.y.z Release Notes (yyyy-MM-dd)

* Re-calculating the darker tap color when moving between light and dark mode.
* Changed the tap-down animation to always use a fluid zoom animation.
* A broken symlink reference in the SPM integration.

1.1.3 Release Notes (2020-12-12)
=============================================================
Expand Down
11 changes: 3 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
// swift-tools-version:5.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "TORoundedButton",
platforms: [
.iOS(.v10)
.iOS(.v12)
],
products: [
.library(
name: "TORoundedButton",
type: .static,
targets: ["TORoundedButton"]
)
],
targets: [
.target(
name: "TORoundedButton",
path: ".",
sources: [
"TORoundedButton/TORoundedButton.m"
],
publicHeadersPath: "include"
path: "spm"
)
]
)
1 change: 1 addition & 0 deletions TORoundedButton/TORoundedButton.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ NS_ASSUME_NONNULL_BEGIN

@class TORoundedButton;

NS_SWIFT_NAME(RoundedButtonDelegate)
@protocol TORoundedButtonDelegate <NSObject>

/// Called when the user taps on the associated button.
Expand Down
1 change: 0 additions & 1 deletion include/TORoundedButton.h

This file was deleted.

1 change: 1 addition & 0 deletions spm/TORoundedButton.m
1 change: 1 addition & 0 deletions spm/include/TORoundedButton.h

0 comments on commit 7bed12c

Please sign in to comment.