This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
A Swift enumeration case lets you clearly spell out a mode of operation in the call site of a function. The downside is that by their nature they are “closed” and can’t be extended from outside the library they are declared. Once you define then, that’s it, they can’t be extended without another release. Recent additions to Swift 5.5 give you more tools fore creating API that is both ergonomic and…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.