The Golden Rules of `weak self`
Capturing self in a closure is a common thing to do in Swift, and one that hides a lot of nuance. Do you need to make it weak to avoid a reference cycle? Is making it weak all the time a problem?
Capturing self in a closure is a common thing to do in Swift, and one that hides a lot of nuance. Do you need to make it weak to avoid a reference cycle? Is making it weak all the time a problem?
While the actual Playdate hardware may not be here yet, the Playdate SDK is. With it comes a pretty thorough simulator to help you build and run Playdate games.
The Playdate SDK provides native methods for generating Perlin noise. Let’s take a look at how to use them.
My company's website is built with Jekyll on AWS Amplify. After I routinely updated my dependencies, AWS failed to build with this error...