A common problem when working with Pixel Art for your games adapting your graphics for different screen sizes. Here’s how to fix Pixel Art for iOS games.
Swift Object Oriented Programming has some niceties and differences compared to other languages. This is a quick look to init, convenience init, and required init.
We use the Lazy keyword when we do not want to initialize an object or some of its properties right away, but we put off the work until we need it (The so-called JIT, or Just-In-Time mechanism).
During a code review, I learned that I was using patterns that are not really used in Swift. How to work with public getters and private setters in Swift.
How to create a 2D game for iOS with Swift and SpriteKit . We’ll take the classic Pong and do our own iteration as code exercise.