Once in Swift

There are times we want to run an action just once. It would be nice if we can encapsulate this


dispatch_once is meant to be used for action that runs once and only once


We can have

Then we can use it like

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.