Build beautiful charts in your SwiftUI apps

Photo by Tran Mau Tri Tam on Unsplash

Apple introduced SwiftUI in 2019 as a lightweight and easy-to-use way to create user interfaces. This article is the third in a series that explores how the SwiftUI framework can help us build clean, simple, and stunning data visualization tools. …


Build beautiful charts in your SwiftUI apps

Photo by Lukas Blazek on Unsplash

Apple introduced SwiftUI in 2019 as a lightweight and easy-to-use way to create user interfaces. This article is the second in a series that explores how the SwiftUI framework can help us build clean, simple, and stunning data visualization tools. …


Build beautiful charts in your SwiftUI apps

Charts
Photo by Luke Chesser on Unsplash.

Apple introduced SwiftUI in 2019 as a lightweight and easy-to-use way to create user interfaces. This article series will explore how the SwiftUI framework can help us build clean, simple, and stunning data visualization tools, starting with the radar chart.

What Is a Radar Chart?

A radar chart (also known as a web chart, spider…


A guide to decomposing complex tasks and getting them right

Photo by Siavash Ghanbari on Unsplash

Sometimes you are assigned to program something that you know. It may be a piece of UI that you have created before, or it may be an algorithm that you know by heart and can work out in a matter of minutes.

Other times, you are faced with harder problems…


Add the power of UIKit to your SwiftUI toolbox.

Photo by Emile Perron on Unsplash

SwiftUI has spellbound an entire developer community since the introduction at WWDC 2019, and it is quite easy to understand why. It is fast, concise, and lets you build an entire working application with very few lines of code.

However, SwiftUI is still in its infancy and lacks many of…


Add out-of-sync protection to your wrapper objects.

Photo by Christopher Gower on Unsplash

Since the birth of Swift’s property wrappers, I have seen numerous articles discussing how to create a wrapped variable that can persist itself to the UserDefaults sector. While many of the code examples suffice for the simplest case, I’ve still had some questions gnawing at the back of my head.


Leveraging protocols to increase code reuse

Photo by Mia Baker on Unsplash

Protocol Oriented Programming is probably one of the more advanced topics in Swift programming. To some, it means that a defining protocol should accompany the public interface of any class or struct in a project. To others, it is a concept that is only used by developers who like to…


How can we use Monte Carlo simulations to evaluate risks and rewards?

Photo by Jonathan Petersson on Unsplash

Some problems are impossible to know the exact answer to. They involve random variables that aren’t guaranteed to have the same value every time, which ruins our chances of drawing conclusions with certainty. When we find ourselves in such situations, we turn to probabilistic theories for help. …


Photo by Thomas Drouault on Unsplash

Working on remote is becoming increasingly popular among developers. Some of us choose to work remotely every day; some of us are happy with a few days per week. However, some still need to go into the office every single day. The issue could be that the company is not…


I believe that we, as working developers, need to be very careful about what frameworks we add to our projects. The list of questions we should ask ourselves before adding a framework to our projects is at least a mile long (depending on your font size of choice). However, there…

Jimmy M Andersson

Data Scientist | Software Engineer | Author

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store