Author Archives: Dejan Agostini

About Dejan Agostini

iOS developer@❤️ I’m just a guy passionate about technology who can’t wait to see what tomorrow brings.

Edge-Weighted Digraph in Swift

      4 Comments on Edge-Weighted Digraph in Swift

You’ve probably heard of graphs in computer science, and you might even be dreading them a bit. After all, graphing algorithms are one of the favourite questions on technical interviews. In this article we’ll implement the edge-weighted digraph in swift. This is an essential structure that we’ll use later on… Read more »

Automatic Screenshots With fastlane snapshot

There’s a lot of boring tasks that you can automate in your development career. Taking screenshots is definitely one of them. fastlane comes bundled with a nice little tool that makes this very simple. In this article we’ll go over setting up your project to use fastlane snapshot. Before You… Read more »

Simple Code Signing With match

      2 Comments on Simple Code Signing With match

If you ever worked in a team you know how messy certificates and provisioning profiles can get. Lately Xcode mitigates most of these age-old problems, but there’s one little tool that brings a whole different concept to managing certificates and provisioning profiles. In this article we’ll learn how to manage… Read more »

Keyboard Handling With Interface Builder Objects

Keyboard handling code is something you’ll use and reuse across your project. There’s a very simple way that you can do this using interface builder objects. It’s as simple as dropping an object and connecting two outlets. In this short post we’ll create a class that will handle the keyboard… Read more »

Debugging on iOS With Unified Logging System

Unified logging system in a relatively new logging mechanism that was introduced with iOS 10. It’s blazingly fast and gives you a fine-grained control over your logs. In this article we’ll explore the features of unified logging system and see how you can use it to make your debugging time… Read more »

Design Patterns in Swift: Composite Pattern

Composite pattern is a nice little pattern that will help you manage complex hierarchies. It’s commonly used to represent menus and directories/files. In this article we’ll go over the theory and learn on an example how to implement this pattern. We’ll use a slightly more colourful example, just to keep… Read more »

Design Patterns in Swift: Iterator Pattern

Iterator pattern is a perfect choice for you when you need to traverse a collection of objects. It’s fairly simple and it’s so widely used that most collection types implement this pattern in the swift standard library. In this article you’ll learn how to implement the iterator pattern. This will… Read more »

Design Patterns in Swift: Command Pattern

Command pattern is a very simple pattern that allows you to decouple a class that invokes a command from a class that knows how to perform it. This gives you incredible flexibility. In this article we’ll go over the theory of what command pattern is after which we’ll follow-up with… Read more »

Design Patterns in Swift: Chain of Responsibility

Chain of responsibility is a well-known pattern that you probably ran into without realising it. In this article we’ll continue our journey on design patterns in swift and learn more about chain of responsibility pattern. We’ll cover some theory at first and then we’ll implement a cascading cache with an… Read more »