Skip to content

Commit

Permalink
Updated SPM integration
Browse files Browse the repository at this point in the history
  • Loading branch information
TimOliver committed Oct 8, 2023
1 parent c254a30 commit 1888499
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,20 @@ 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"
sources: ["spm"]
)
]
],
cLanguageStandard: .c11
)
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
File renamed without changes.
1 change: 1 addition & 0 deletions spm/TORoundedButton.m

0 comments on commit 1888499

Please sign in to comment.