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.

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

      7 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 »

Implementing Common Sorting Algorithms in Swift

Sorting algorithms are an important feature of modern computing, and in this article we’ll examine some of the most common sorting algorithms in use today. Implementations of these algorithms will be done in swift, but they are language agnostic, and you should have on problems implementing them in a language… Read more »

Implementing a Stack Using a Linked List Data Structure

In computer science there are many data structures. In this post we will examine one such structure called a ‘Stack’. We’ll implement it using another data structure called a ‘Linked List’, and for the sake of comparison, we will implement the same stack data structure using plain old arrays, and… Read more »