Developing drawing app with SwiftUI

Introduction In this post, we will build a drawing app with SwiftUI. Apart from being super fun and addictive, SwiftUI with its declarative approach, makes it a lot easier and clearer to reason about the state and updates that are happening in our apps. A drawing app is a good example of this – you […]

Sentiment analysis with Natural Language and SwiftUI

Introduction The Natural Language framework was announced at WWDC, last year. It offers a powerful set of features for analysing natural language and extracting information from it. One of the cool additions in Natural Language on iOS 13 is support for sentiment analysis. I have a full 30 pages chapter in my book on how […]

Text recognition on iOS 13 with Vision, SwiftUI and Combine

Introduction This year, WWDC was full of new and exciting features. The biggest one was probably SwiftUI, Apple’s new UI framework. However, there were a lot of other cool announcements, especially in the machine learning and augmented reality areas. Text recognition is now supported directly in the Vision framework. Previously, you would have to create […]

Swift Class Diagrams Remastered

A picture is worth a thousand words. An architecture drawing – countless explanations. Sometimes, visualising concepts and implementations can bring much better understanding of the bigger picture. We can learn much about the design of a system, the dependencies between the components, how they communicate between them, by looking at different types of diagrams. Such […]

Dependency Injection in iOS using Girders for Swift

Introduction Dependency Injection is a technique in software development where the dependencies of an object are set from the outside. There are many benefits of using this technique, such as loose coupling between the objects, which enables us to easily replace an implementation in the future. With dependency injection, we can also make unit testing […]

Hand tracking with Turi Create and Core ML

Introduction The task of realtime hand tracking on a mobile device is both very interesting and challenging. The hand is one of the more difficult parts of the body to detect and track. The reason for this is that the hands can look very different, whether that’s with the form (although this holds for other […]

Building voice responsive AR apps

Introduction Augmented Reality and Conversational Interfaces are two of the hottest technologies at the moment. They both bring a broad range of opportunities to make cool and innovative apps. The question is, what happens if we combine these two emerging technologies? The answer – we get one really smart pony.