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.

Using Dependency Injection

      No Comments on Using Dependency Injection

In this post, we’ll cover one very useful technique called dependency injection and we’ll look at some examples on to use it in your iOS project. What is it? Dependency Injection is a technique where you would inject dependencies into an object. Let’s say you’re building an app that will display… Read more »

Book Review | Soft Skills: The software developer’s life manual

I came across this book on Amazon by accident: Soft Skills: The software developer’s life manual by John Sonmez. I was looking for some great new books to read, and this book kept popping out in my search results, in my recommended books, everywhere. What got my attention was the… Read more »

Creating a Simple Keychain Wrapper

      1 Comment on Creating a Simple Keychain Wrapper

In this short blog post, we’ll cover some basics on how to use the keychain on iOS, and we’ll create a simple wrapper for the keychain. You’ve probably heard of an iOS keychain. If not, it’s a secure persistent storage, meant to be used to store sensitive information, like passwords,… Read more »

Sending Data From Your App to Apple Watch Using WCSession

In one of my previous posts, I talked about how to create a temperature sensor using an Arduino and a BLE breakout circuit, and how to read that data from your iOS app. You can read more about it here: Creating a Temperature Sensor for iOS Using BLE and Arduino. In… Read more »

Creating a Temperature Sensor for iOS Using BLE and Arduino

Today we’ll create something cool, a temperature sensor and an iOS app that connects to it. For this project, we’ll be using an Arduino with a BLE breakout circuit. On the iOS side, we’ll be using CoreBluetooth. Don’t worry if some of these things are unfamiliar to you, I’ll try to… Read more »

Course Review: How to Create a Blog That Boosts Your Software Development Career

I’ve read a great book recently, Soft Skills: The software developer’s life manual by John Sonmez. I borrowed that book to a friend, and somehow he stumbled on a blog course that covers some of the topics covered in the book. Since I enjoyed the book, I decided to give it… Read more »

Binary Search Array Extension in Swift

      5 Comments on Binary Search Array Extension in Swift

There are more than a few search algorithms. Today we’ll examine one of them, the Binary Search Algorithm, and we’ll implement this algorithm using an array extension in swift. We’ll also compare the performance of this algorithm to your standard brute force search, and see how it compares. Binary Search Algorithm… Read more »