Was it ever explained why the syntax is different?
--
Chris McIntyre
> On Jul 18, 2017, at 6:46 PM, Jens Persson via swift-users
> wrote:
>
> That is not true. Structs can have delegating initializers but they cannot be
> marked with `convenience` (only the
Hi Jens,
While I’m not familiar with the integer API in the standard library, structs
and enums certainly can have convenience initializers. They must delegate to
another initializer (either convenience or designated) rather than initializing
the fields of the type one by one.
Slava
> On Jul