Creating a enum to encapsulate Errors.
[Read More]Swift: Deconstruct SPF: asMechanism with Qualifier
Hi,
In this article, I will walk through how I re-implemented the enum
for Qualifier
and MechanismKind
. I will also deliver a working asMechanism()
function. The diff is here
Swift: Deconstruct SPF - Qualifier and MechanismKind
Learning Swift: Enum
In this article I will be looking at defining the enums for Qualifier
and MechanismKind
. I will also be adding tests to ensure that the functions work as expected. Further I will implement a simple asMechanism()
as a proof of concept.
Swift: Deconstruct SPF an Outline and Background
What is SPF
If you have not followed my rust series on deconstructing SPF you can check it out here.
[Read More]