vknabel

vknabel

Valentin Knabel

Developer, cyclist, coffee nerd, human. Open Source, kindness, honesty, vegan. It is fine to be imperfect, as long as we are honest and have fun along the way.

Latest Posts

ftp-simple allows opening FTP connections as VS Code workspace!
Localizable.strings doesn’t support unicode \unnnn escapes, but only \Unnnn! In Swift the \U is for UTF-16 escapes like \Unnnnnnnn.
How to detect a URL in a String using NSDataDetector - free Swift 5.1 example code and tips https://www.hackingwithswift.com/example-code/strings/how-to-detect-a-url-in-a-string-using-nsdatadetector
The Android Studio tooling for Android apps checks and validates all translation keys. Even if they are present within the base language. This comes in handy after greater refactorings. But sadly the XML does not support XML escapes as...
An [unowned self] in a Coordinator is okay. As the coordinator should live longer than any of its screens, a crash hints to lifecycle issues.
This cheat sheet is actually not bad! https://fuckingswiftui.com/
UIView animate does not delay if there are no changes. The completion block will be called immediately!
UIImageView image is not animatable. Instead use transitions!
When setting the background color randomly in SwiftUI, you will be able to detect every single repaint! Might be helpful while debugging. https://twitter.com/steipete/status/1379483193708052480?s=12
Wnat your UICollectionViewCell transparent? Set alpha on contentView! => Setting alpha on the UICollectionViewCell itself doesn’t work.
When developing Swift in Visual Studio Code there were a few cases, where I preferred Xcode. Beside the obvious cases like iOS Development, managing certificates and provisioning profiles, there was one big case left: Writing unit tests....
The past few days I created a new server using Vapor and hit vapor new <project> --auth which created a Vapor 3 server. Later I upgraded the young project to Vapor 4, but found some lack of practical information about the upgrade on the...
Editors like Visual Studio Code live from a wide range of extensions and customization. In contrast there are IDEs like Xcode and AppCode, which have everything set up and are ready to go. In order to provide a rich set of features, they...
Running and debugging your targets in Visual Studio Code is not prepared by default. Especially for us Swift developers this might come unexpected, especially in comparison to Xcode. In VS Code we require extensions and configs for this...
Async operators debounce, throttle or delay that functional reactive programming libraries as RxSwift and ReactiveSwift provide are super useful and expressive. Though their biggest benefit lays within composability. This playground...
Search Random