Daniel Kašaj
Daniel develops in Swift

Daniel develops in Swift

Follow
Follow
homebadgesnewsletter

Tips for localizing SwiftUI apps

Aug 26, 20232 min read

I’ve recently localized my app Workout Shoes to German without ever touching the Localizable.strings file, and I’d like to share a few lessons...

Tips for localizing SwiftUI apps

error [PHPhotosErrorDomain] -1: The operation couldn’t be completed. (PHPhotosErrorDomain error -1.)

Aug 17, 20231 min read

If you're seeing PHPhotosErrorDomain error -1 after attempting to add an image to Simulator via xcrun simctl addmedia <simulatorID> image.jpeg it...

error [PHPhotosErrorDomain] -1: The operation couldn’t be completed. (PHPhotosErrorDomain error -1.)

Extend Swift types with static parameters for reuse, consistency, and faster coding

Jul 12, 20231 min read

I believe there comes a time when every developer adopts a technique for reusing common parameters. For years, I’ve been keeping all of my ”settings”...

Extend Swift types with static parameters for reuse, consistency, and faster coding

Put Swift's Logger to good use: log everything & keep your console decluttered at the same time

Jun 23, 20231 min read

Logger is an Apple framework available since Xcode 12 / iOS 14 and it’s the best way to track your app’s behavior. It offers various levels of logging...

Put Swift's Logger to good use: log everything & keep your console decluttered at the same time