Swiftpack.co - hughbe/OutlookRulesReader as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by hughbe.
hughbe/OutlookRulesReader 1.0.0
Specification for Outlook rules (rwz) files and experimental implementation of a reader/writer in Swift
⭐️ 16
🕓 1 year ago
.package(url: "https://github.com/hughbe/OutlookRulesReader.git", from: "1.0.0")

OutlookRulesReader

OutlookRulesReader is a reader of Outlook rules (rwz) files.

Outlook Rules Wizard File (.rwz) Specification

A PDF of the working specification for Outlook rules files (.rwz) files can be found here.

Example Usage

let data = Data(contentsOfFile: "<path-to-file>.rwz")!
let file = try OutlookRulesFile(data: data)
print(file.rules.count)
print(file.rules[0].name)
print(file.rules[0].enabled)
print(file.rules[0].conditions.count)
print(file.rules[0].actions.count)
print(file.rules[0].exceptions.count)

Contributing

All contributions to the specification and the implementation library are welcome and encouraged!

GitHub

link
Stars: 16
Last commit: 46 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics