Swift

A simple extension to use Combine with PromiseKit and…

Because ServiceStack use PromiseKit for it’s async calls on Swift, i made this little extension that convert a PromiseKit request into a Combine publisher....
Sebastian Faltoni
39 sec read

How to use KeyPath on CoreData Predicate for easy…

If you come from a C# background for example you could be looking for something similar to nameof(Page.name)on Swift. If instead of hard-coded strings...
Sebastian Faltoni
37 sec read

SwiftUI 2 DataGrid like Component with LazyVGrid

In Swift UI 2 presented at WWDC 2020, they added a new Component named LazyVGrid. With it and with the help of a GeometryReader...
Sebastian Faltoni
37 sec read

Fix: SwiftUI Button or TapGesture inside ZStack tap area…

While a was developing a prototype UX with SwiftUI I have noticed a strange behavior. A button click or any Element with a onTapGesture,...
Sebastian Faltoni
1 min read

Hide disclosure arrow indicator on SwiftUI List

If you are looking to remove the arrow which appear on the right of the list row on swiftui, you can use the following...
Sebastian Faltoni
35 sec read

Remove view controllers from history iOS

To remove unwanted controller from your iOS navigation history you can use the following example. This will remove NewCustomerViewController from history, you can add...
Sebastian Faltoni
10 sec read

A better way to programmatically handle constraints on iOS

There are many libraries for simplifying constraints definition from code. The best one i have found for my self is SnapKit. Lets say that...
Sebastian Faltoni
18 sec read

File logging for iOS Apps

Are you looking how to store logs on the device file system? Here I will show you how you can achieve it. In an...
Sebastian Faltoni
37 sec read