Imagine you have a structure like: [[String, String], [String, String], [String, String],] and you need to replace a second value. How to do that?
How to reload translations strings from remote at runtime?
At some point your app may need lot of supported languages, which sooner or later will come to common problem – each translation change requires app release via […]
Simple UNNotificationServiceExtension with Firebase Push and image display
As you probably already know, sending push notification from Firebase will not display attached image on device. This example assumes you know how to configure push notifications in […]
Internal error when trying to open XIB in XCode 10.3
If you already upgraded XCode to newest 10.3 version, you may notice that opening XIBs created in older versions causes “Internal error” and UI elements are not visible. […]
RxSwift: How to stream values with dynamic delay
Imagine such case – you have list of messages, each one with timestamp. And you want to show them in the same way they arrived, with same timings. […]
How to check object’s reference count in Swift 3?
Sooner or later, you will face the problem with object which are not deallocating. How to check if object gets deallocated? Just use deinit method like below: deinit […]
How to use JSContext from JavaScriptCore to create two way communication with web page
What is “JavaScriptCore”? Well, it is a name for internal Safari javascript engine. Is it useful? For most of us it is not, but if you thinking about […]
Fatal error: unexpectedly found nil while unwrapping an Optional value
This can be really painful when you just started with Swift. It really happens very often and can be confusing. Where it comes from?
Jenkins & XCode: User interaction is not allowed when executing task
Getting “User interaction is not allowed” error in your build task? If yes, solution is very simple. Just login your build user (usually “jenkins”) via the GUI (which […]