Swiftpack.co - hughbe/OutlookRulesReader as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
hughbe/OutlookRulesReader
Specification for Outlook rules (rwz) files and experimental implementation of a reader/writer in Swift
.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: 5
Last commit: 3 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

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