Cryptographic Keys and Swift
Hello everyone, Leo here. This is the Cryptographic Keys and Swift introductory article. Today we will introduce a very nice theme about Cryptographic Keys. iOS is heavily secure based on cryptography, which Apple introduces in iPhone 5S versions and above a dedicated subsystem (mix of hardware and software) called Secure Enclave. For us, iOS developers, […]
Unit Testing UIViewController Dismiss Closure in Swift
Hallo alle mensen, Leo Hier. The topic today is unit testing UIViewController dismiss closure in your Swift code. Today we will attack some tricky unit testing code. First, let’s talk about testing UIViewController with unit tests. I’m very akin to testing everything. Literally. I think we should have unit tests for everything. Every little piece of code […]
Generate Swift Protocols with Xcode Feature
Hallo dames en heren, Leo Hier. The topic today is how to quickly Generate Swift Protocols with Xcode Feature. Today we will walk through how easily you can transform any type you have in a protocol in very small steps. It’s not rare we iOS developers to have to transform a concrete type into a […]
Using Swift to Parse Person Name with Swift 15 APIs
Hallo katten en poesjes, Leo hier. Today’s topic is how to parse person name with Swift and how to do iOS automatically stores parts of the name for you. Today we will explore the PersonNameComponents API from the foundation. From time to time we are asked to parse a person’s came into our apps. There […]
App Modularisation with Swift Package Manager
Hallo allemaal, Leo hier. The topic is an introduction to App Modularisation with Swift Package Manager and a tutorial on adding package manager to your projects. Today we will do a little project with modularisation. We will use Swift Package Manager because is how natively we have access to modularisation and it’s the way Apple […]
Autoclosure in Swift
Hallo vrienden, Leo hier. Today’s topic is autoclosure in Swift and how you can improve your code using them. We will explore the @autoclosure annotation. Autoclosure annotation is a great addition to the language and it enables you to define an argument that will be automatically wrapped by a closure. The most important thing is […]
How to create Home Screen Quick Actions in Swift
Hallo dammes en heren, Leo hier. The topic today is about Home Screen quick actions. They are a really good experience created by Apple from iOS 13 and above where you can have access to whatever feature that the app provides from your Home Screen. Imagine that you have an e-commerce app and you can […]
Reverse Linked List Using Recursion
Hallo alle mensen, Leo hier. Today’s topic is how to reverse linked list using recursion and how to do that in our custom linked list data structure. Today we will continue to explore the solution to the legendary interview problem called: Reverse Linked List. We study previously the solution using an iterative technique, now let’s […]
The Pain Points in a Developers Productivity Work
Hello everyone! Today’s topic is the pain points in a developers productivity work. Will be a very very quick post today because I literally have no time to write this week. Next week everything should be ok again… I hope. This post I made for Zigi.ai. The post is about the developer’s happiness. This is […]
Iteratively Reverse Linked List in Swift
Hallo vrienden, Leo hier. Today’s topic is how to Iteratively Reverse Linked List in Swift and how to reverse linked lists can be useful for you. This post will be very brief and very important to all involved in algorithms. Reversing Linked Lists is a legendary challenge as a common place to algorithm students. It’s […]