File tree Expand file tree Collapse file tree 11 files changed +93
-28
lines changed
Sources/HapticFeedback/Classes Expand file tree Collapse file tree 11 files changed +93
-28
lines changed Original file line number Diff line number Diff line change 34
34
fail-fast : false
35
35
matrix :
36
36
include :
37
+ - destination : " OS=18.1,name=iPhone 16 Pro"
38
+ name : " iOS 18.1"
39
+ xcode : " Xcode_16.1"
40
+ runsOn : macOS-14
41
+ - destination : " OS=18.0,name=iPhone 16 Pro"
42
+ name : " iOS 18.0"
43
+ xcode : " Xcode_16.0"
44
+ runsOn : macOS-14
45
+ - destination : " OS=17.5,name=iPhone 15 Pro"
46
+ name : " iOS 17.5"
47
+ xcode : " Xcode_15.4"
48
+ runsOn : macOS-14
37
49
- destination : " OS=17.0.1,name=iPhone 14 Pro"
38
50
name : " iOS 17.0.1"
39
51
xcode : " Xcode_15.0"
@@ -49,11 +61,11 @@ jobs:
49
61
50
62
discover-typos :
51
63
name : Discover Typos
52
- runs-on : macOS-12
64
+ runs-on : macOS-13
53
65
env :
54
66
DEVELOPER_DIR : /Applications/Xcode_14.1.app/Contents/Developer
55
67
steps :
56
- - uses : actions/checkout@v2
68
+ - uses : actions/checkout@v4
57
69
- name : Discover typos
58
70
run : |
59
71
export PATH="$PATH:/Library/Frameworks/Python.framework/Versions/3.11/bin"
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ excluded:
3
3
- Package.swift
4
4
- Package@swift-5.7.swift
5
5
- Package@swift-5.8.swift
6
+ - Package@swift-5.9.swift
7
+ - Package@swift-5.10.swift
6
8
- .build
7
9
8
10
# Rules
@@ -134,4 +136,4 @@ nesting:
134
136
type_name :
135
137
max_length :
136
138
warning : 40
137
- error : 50
139
+ error : 50
Original file line number Diff line number Diff line change 2
2
All notable changes to this project will be documented in this file.
3
3
4
4
#### 1.x Releases
5
+ - ` 1.1.x ` Releases - [ 1.1.0] ( #110 )
5
6
- ` 1.0.x ` Releases - [ 1.0.0] ( #100 ) | [ 1.0.1] ( #101 )
6
7
8
+ ## [ 1.1.0] ( https://github.com/space-code/haptic-feedback/releases/tag/1.1.0 )
9
+ Released on 2024-12-25.
10
+
11
+ #### Added
12
+ - Bump the Swift version to 6.0.
13
+ - Added in Pull Request [ #3 ] ( https://github.com/space-code/haptic-feedback/pull/3 ) .
14
+
7
15
## [ 1.0.1] ( https://github.com/space-code/haptic-feedback/releases/tag/1.0.1 )
8
16
Released on 2024-01-31.
9
17
Original file line number Diff line number Diff line change 1
1
GEM
2
2
remote: https://rubygems.org/
3
3
specs:
4
- addressable (2.8.5 )
5
- public_suffix (>= 2.0.2 , < 6 .0 )
4
+ addressable (2.8.7 )
5
+ public_suffix (>= 2.0.2 , < 7 .0 )
6
6
base64 (0.2.0 )
7
7
claide (1.1.0 )
8
8
claide-plugins (0.9.2 )
12
12
colored2 (3.1.2 )
13
13
cork (0.3.0 )
14
14
colored2 (~> 3.1 )
15
- danger (9.4.0 )
15
+ danger (9.5.1 )
16
+ base64 (~> 0.2 )
16
17
claide (~> 1.0 )
17
18
claide-plugins (>= 0.9.2 )
18
19
colored2 (~> 3.1 )
22
23
git (~> 1.13 )
23
24
kramdown (~> 2.3 )
24
25
kramdown-parser-gfm (~> 1.0 )
25
- no_proxy_fix
26
- octokit ( >= 6.0 , < 8.0 )
26
+ octokit ( >= 4.0 )
27
+ pstore ( ~> 0.1 )
27
28
terminal-table (>= 1 , < 4 )
28
- faraday (2.7.12 )
29
- base64
30
- faraday-net_http ( >= 2.0 , < 3.1 )
31
- ruby2_keywords ( >= 0.0.4 )
32
- faraday-http-cache (2.5.0 )
29
+ faraday (2.12.2 )
30
+ faraday-net_http ( >= 2.0 , < 3.5 )
31
+ json
32
+ logger
33
+ faraday-http-cache (2.5.1 )
33
34
faraday (>= 0.8 )
34
- faraday-net_http (3.0.2 )
35
- git (1.18.0 )
35
+ faraday-net_http (3.4.0 )
36
+ net-http (>= 0.5.0 )
37
+ git (1.19.1 )
36
38
addressable (~> 2.8 )
37
39
rchardet (~> 1.8 )
38
- kramdown (2.4.0 )
39
- rexml
40
+ json (2.9.1 )
41
+ kramdown (2.5.1 )
42
+ rexml (>= 3.3.9 )
40
43
kramdown-parser-gfm (1.1.0 )
41
44
kramdown (~> 2.0 )
45
+ logger (1.6.4 )
42
46
nap (1.1.0 )
43
- no_proxy_fix (0.1.2 )
44
- octokit (7.2.0 )
47
+ net-http (0.6.0 )
48
+ uri
49
+ octokit (9.2.0 )
45
50
faraday (>= 1 , < 3 )
46
51
sawyer (~> 0.9 )
47
52
open4 (1.3.4 )
48
- public_suffix (5.0.4 )
53
+ pstore (0.1.4 )
54
+ public_suffix (6.0.1 )
49
55
rchardet (1.8.0 )
50
- rexml (3.2.6 )
51
- ruby2_keywords (0.0.5 )
56
+ rexml (3.4.0 )
52
57
sawyer (0.9.2 )
53
58
addressable (>= 2.3.5 )
54
59
faraday (>= 0.17.3 , < 3 )
55
60
terminal-table (3.0.2 )
56
61
unicode-display_width (>= 1.1.1 , < 3 )
57
- unicode-display_width (2.5.0 )
62
+ unicode-display_width (2.6.0 )
63
+ uri (1.0.2 )
58
64
59
65
PLATFORMS
60
66
x86_64-darwin-22
Original file line number Diff line number Diff line change 1
- // swift-tools-version: 5.9
1
+ // swift-tools-version: 6.0
2
2
// The swift-tools-version declares the minimum version of Swift required to build this package.
3
3
4
4
import PackageDescription
5
5
6
6
let package = Package (
7
7
name: " HapticFeedback " ,
8
8
platforms: [
9
- . iOS( . v11 ) ,
9
+ . iOS( . v13 ) ,
10
10
] ,
11
11
products: [
12
12
. library( name: " HapticFeedback " , targets: [ " HapticFeedback " ] ) ,
Original file line number Diff line number Diff line change
1
+ // swift-tools-version: 5.10
2
+ // The swift-tools-version declares the minimum version of Swift required to build this package.
3
+
4
+ import PackageDescription
5
+
6
+ let package = Package (
7
+ name: " HapticFeedback " ,
8
+ platforms: [
9
+ . iOS( . v13) ,
10
+ ] ,
11
+ products: [
12
+ . library( name: " HapticFeedback " , targets: [ " HapticFeedback " ] ) ,
13
+ ] ,
14
+ dependencies: [ ] ,
15
+ targets: [
16
+ . target( name: " HapticFeedback " , dependencies: [ ] ) ,
17
+ ]
18
+ )
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import PackageDescription
6
6
let package = Package (
7
7
name: " HapticFeedback " ,
8
8
platforms: [
9
- . iOS( . v11 ) ,
9
+ . iOS( . v13 ) ,
10
10
] ,
11
11
products: [
12
12
. library( name: " HapticFeedback " , targets: [ " HapticFeedback " ] ) ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import PackageDescription
6
6
let package = Package (
7
7
name: " HapticFeedback " ,
8
8
platforms: [
9
- . iOS( . v11 ) ,
9
+ . iOS( . v13 ) ,
10
10
] ,
11
11
products: [
12
12
. library( name: " HapticFeedback " , targets: [ " HapticFeedback " ] ) ,
Original file line number Diff line number Diff line change
1
+ // swift-tools-version: 5.9
2
+ // The swift-tools-version declares the minimum version of Swift required to build this package.
3
+
4
+ import PackageDescription
5
+
6
+ let package = Package (
7
+ name: " HapticFeedback " ,
8
+ platforms: [
9
+ . iOS( . v13) ,
10
+ ] ,
11
+ products: [
12
+ . library( name: " HapticFeedback " , targets: [ " HapticFeedback " ] ) ,
13
+ ] ,
14
+ dependencies: [ ] ,
15
+ targets: [
16
+ . target( name: " HapticFeedback " , dependencies: [ ] ) ,
17
+ ]
18
+ )
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ HapticFeedback.notification(.heavy).generate()
31
31
```
32
32
33
33
## Requirements
34
- - iOS 11 .0+
34
+ - iOS 13 .0+
35
35
- Xcode 14.0
36
36
- Swift 5.7
37
37
Original file line number Diff line number Diff line change 6
6
import UIKit
7
7
8
8
/// Enum defining different types of haptic feedback
9
+ @MainActor
9
10
public enum HapticFeedback : Equatable {
10
11
/// Haptic feedback for impact with a specified style
11
12
case impact( UIImpactFeedbackGenerator . FeedbackStyle )
You can’t perform that action at this time.
0 commit comments