Software Dev

Retro Rampage

Yaaas! Code a Wolfenstein 3D knock-off and learn Swift 3D programming as you go! This is a hands-on Swift 3D programming tutorial with source code. I don’t see a down side here (except finding the time). 🤷🏻‍♂️

Retro Rampage is a tutorial series in which you will learn how to build a Wolfenstein-like game from scratch, in Swift.

👉 Retro Rampage (GitHub)

Even the tutorial topics sounds cool: Separation of Concerns, Mazes and Motion, Ray Casting, Texture Mapping, Sprites. 🤩

Via iOS Dev Weekly.

Screenshot
Software Dev

Best WWDC Videos of All Time (?)

There are so many amazing WWDC sessions. I probably have 50 favorited on my  TV 🤩.

Here is one persons’ brave attempt to collate the best 15 ever, found on iOS Dev Weekly.

👉 The 15 Best WWDC Videos of All Time

I genuinely appreciate the attempt, but I am perplexed that Protocol and Value Oriented Programming in UIKit Apps or Designing Fluid Interfaces didn’t make the list. 🤷🏻‍♂️

Software Dev

DI with Interface Builder

In this dated but thorough Objective-C dependency injection article is a reference to a rather old article asserting that Xcode’s Interface Builder is their “favorite di framework of all time”.

👉 Dependency Inversion Principle and iPhone

I keep feeling frustrated by the added complexity and extra code involved in dependency injection. It can make simple code complex very quickly. So I really love the idea here, which is that Xcode is perfect for DI because it lets you literally just wire up things visually with no extra code. It goes on to make the case for using Interface Builder to wire up more than just UI elements and use it for just about anything.

What’s great about it is that it doesn’t just generate a bunch of code, but instead “freeze dries” real objects to be instantiated when the program loads.

This article is so old that the images don’t load, but I love the ideas and the reminder that DI does not have to involve a bunch of extra code. Thanks to iOS Dev Weekly for the initial link. 👆

Software Dev

It’s time to break up with your networking library for URLSession

👉 https://tim.engineering/break-up-third-party-networking-urlsession/

Maybe URLSession is good to use on its own! I like this idea as a simplifier. Just use what you have! I just did this in some of my own code and was really happy with the simplified result.

This came from iOS Dev Weekly…

 I liked this article by Tim Miko on how to build a simple API client with no dependencies. There’s a simple playground example too.

iOS Dev Weekly #398

On the other hand, PromiseKit still looks amazing.