Alert is the equivalent to UIKit’s UIAlertView in SwiftUI. This post is about creating and presenting an alert in SwiftUI.
Swift: Property wrappers
Property wrappers enables you to reuse code that specifies the access pattern of a property.
The Advantages of SwiftUI
Almost a year ago Apple introduced SwiftUI at WWDC 2019. It’s still a very young technology but it’s quite clear that it’s the future not only of iOS development, but of macOS, watchOS, and tvOS development as well. What are the advantages of using SwiftUI?
Swift: The differences between structs and classes
Compared to many other programming languages, structs are very powerful in Swift. Hence, they should be used more often.
Swift: Reference Equality and Value Equality For Classes
There are two ways for testing the equality of class instances: reference equality and value equality. In this post we will discuss both of them.
How iOS Development Has Evolved Over The Past 8 Years
I’ve been a full-time iOS developer for over 6 years now and I started learning iOS development 8 years ago. A lot has changed over the years. In this post I want to talk about the biggest changes I’ve experienced.
Sets in Swift
Sets are one of Swift’s collection types. A set stores an amount of unique values, that have no particular order. You can imagine a set to be like a box of billiard balls: They are all unique in terms of color and number, but they don’t have a certain order inside the box.
MFMailComposeViewController – sending emails from an iOS app
MFMailComposeViewController provides an easy way to present a view controller, that allows to write, edit and send an email. It’s presented modally, so the context of the app won’t be left.
Properties in Swift
There are two types of properties in Swift: stored properties and computed properties. Stored properties store values (constant or variable) as part of an instance or type, whereas computed properties don’t have a stored value.
Swift: Comparing Enums With Associated Values
Comparing enums in Swift is very straightforward – as long as they don’t have associated values. In this post we will discuss, what you can do in that case.