Skip to content

Commit 60a5be2

Browse files
committed
Added SPM support.
1 parent 32c3f96 commit 60a5be2

24 files changed

Lines changed: 29 additions & 6 deletions

Package.swift

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// swift-tools-version:5.3
2+
import PackageDescription
3+
4+
let package = Package(
5+
name: "STIErrorHandling",
6+
platforms: [.iOS(.v9)],
7+
products: [
8+
.library(name: "STIErrorHandling",
9+
targets: ["STIErrorHandling"])
10+
],
11+
targets: [
12+
.target(name: "STIErrorHandling",
13+
path: "Sources/STIErrorHandling",
14+
publicHeadersPath: "")
15+
]
16+
)

Pod/Assets/.gitkeep

Whitespace-only changes.

Pod/Classes/.gitkeep

Whitespace-only changes.

STIErrorHandling.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "STIErrorHandling"
3-
s.version = "0.5.1"
3+
s.version = "0.5.2"
44
s.summary = "STIErrorHandling provides an easy way to handle error presentation and creation on iOS."
55
s.description = <<-DESC
66
STIErrorHandling is a small Framework that provides a base implementation for error handling in iOS applications. It deals with the problem to streamline the presentation of errors in various parts of an application as well as provide APIs to implement error specific recovery options the user of the application can choose from.
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
2323
s.platform = :ios, '9.0'
2424
s.requires_arc = true
2525

26-
s.source_files = 'Pod/Classes/**/*.{h,m}'
26+
s.source_files = 'Sources/STIErrorHandling/**/*.{h,m}'
2727

2828
s.frameworks = 'UIKit'
2929
end
File renamed without changes.
File renamed without changes.

Pod/Classes/Private/HRSErrorCoalescingQueueItem.h renamed to Sources/STIErrorHandling/Private/HRSErrorCoalescingQueueItem.h

File renamed without changes.

Pod/Classes/Private/HRSErrorCoalescingQueueItem.m renamed to Sources/STIErrorHandling/Private/HRSErrorCoalescingQueueItem.m

File renamed without changes.

Pod/Classes/Private/HRSErrorLocalizationHelper.h renamed to Sources/STIErrorHandling/Private/HRSErrorLocalizationHelper.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
NS_ASSUME_NONNULL_BEGIN
44

5+
@import UIKit;
6+
57
@interface HRSErrorLocalizationHelper : NSObject
68

79
+ (NSString *)okLocalization;

Pod/Classes/Private/HRSErrorLocalizationHelper.m renamed to Sources/STIErrorHandling/Private/HRSErrorLocalizationHelper.m

File renamed without changes.

0 commit comments

Comments
 (0)