Recreating C++ atoi Function in Swift
Hallo iedereen, Leo hier. Today’s topic is how to solve a Leetcode problem that asks to recreate the atoi function in Swift that C/C++ has. This article is inspired by a Leetcode problem number 8 that is Integer to String(atoi) and we will solve that using Swift. We also have something interesting about integers in […]
How to Scan Texts, QR Codes, and Barcodes in Swift
Hallo broeders en zusters, Leo hier. The topic today is how to use your camera to Scan Texts, QR Codes, and Barcodes in Swift and iOS. It was never so easy to accomplish those tasks. Really. In a few lines of code, you can create a structure that reads QR Codes and texts. And that […]
Common Swift Task Continuation Problem
Hallo allemaal, Leo hier. Today we will discuss some very common asynchronous Swift Task Continuation Problem. The new Swift structured concurrency brings a whole new world of adventures and things that we can use to make our code more expressive and less prone to errors. Meanwhile, it also has a delightful syntax to write and […]
SwiftUI Toast in UIKit
Hallo knap en mooi, Leo hier. Today we will explore how you can use an animated SwiftUI Toast in UIKit. This is a scorching topic since we are walking slowly but surely toward all apps having SwiftUI as the primary UI framework. Don’t blame yourself if you already don’t know how to use SwiftUI properly, no […]
Algorithm: Binary Tree Right Side View in Swift
Hallo vrienden, Leo hier. The Leetcode problem we will solve today is called Binary Tree Right Side View. We will explore a binary tree problem. Binary tree problems usually are down to two main approaches, breadth-first search, and depth-first search, which are BFS and DFS respectively. In our case, we will use BFS, because it […]
The Trade-offs of Using Mirror API to do Code Reflection in Swift
Hallo vrienden, Leo hier. The topic is about code reflection in Swift and what you should consider when using a solution like this in your codebase. We will talk about exotic magic in programming, yes everyone, we will talk about Reflection. I particularly find this naming perfect for the technique because this is a computer […]
How to Start iOS Development Career Part 6 – Architecture and iOS Tooling
Hallo eindkandidaten, Leo hier. The topic today is Architecture, iOS Tooling, and how to study them at the beginning of your career as an iOS developer. If you didn’t read the Introduction, Part 2, Part 3, Part 4 and Part 5 I would strongly suggest doing so. This is the sixth and last part of […]
How to Start iOS Development Career Part 5 – Programmatically Testing your Code
Hallo allemaal, Leo hier. The topic today is how to Programmatically Testing your Code. This is the fifth part of my series “How to start iOS Development Career”. If you didn’t read the introduction, Part 2, Part 3 and Part 4 I would strongly suggest doing so. If you came here, you probably have everything […]
How to Start iOS Development Career Part 4 – Common iOS Programming Features
Hallo zielen en geesten, Leo hier. The topic today is Common iOS Programming Features and how to study each of them. This is the fourth part of my series “How to start iOS Development Career”. If you didn’t read the introduction, Part 2, and Part 3 I would strongly suggest doing so. Today we will […]
How to Start iOS Development Career Part 3 – Building User Interfaces
Hallo collega’s, Leo Hier. Building user interfaces in iOS with Swift is a great theme, and today we will have a long discussion about it. This is the third part of my series “How to start iOS Development Career”. If you didn’t read the introduction and part 2, I would strongly suggest doing so. The […]