Skip to content

Commit a7253ab

Browse files
committed
Updated readme
1 parent 997dfd8 commit a7253ab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ TipKit style API to trigger an arbitrary closure, or a NSNotification based on e
1010
- ...
1111

1212
## Requirements
13-
- Swift 5.8+ (Xcode 14.3+)
13+
- Swift 5.9+ (Xcode 15+)
1414
- iOS 14+, iPadOS 14+, tvOS 14+, watchOS 7+, macOS 11+
1515

1616
## Installation
1717

1818
Install using Swift Package Manager
1919
```
2020
dependencies: [
21-
.package(url: "https://github.com/Dean151/RuleKit.git", from: "0.2.0"),
21+
.package(url: "https://github.com/Dean151/RuleKit.git", from: "0.5.0"),
2222
],
2323
targets: [
2424
.target(name: "MyTarget", dependencies: [
@@ -124,6 +124,7 @@ await RuleKit.Event.appStarted.reset()
124124
### Available options:
125125
- `.triggerFrequency(_)`: Throttle down notification donation or using given period
126126
- `.dispatchQueue(_)`: Choose the DispatchQueue you want your notification to be sent from. Defaults to main queue.
127+
- `.delay(for: _)` and `.delay(nanoseconds: _)`: Delay the trigger of a specific notification after it was fulfilled.
127128

128129
### Event.Donations properties available in the condition closure:
129130
- `count`: the number of times an event have been donated

0 commit comments

Comments
 (0)