As you guys probably notices, it was a while since last post here. I was quite busy with lot of projects, so did not had time for blogging.
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?
interfaceOrientation is deprecated in iOS8
Are you still using self.interfaceOrientation and getting deprecation warning? Well, don’t. Not only because it is depracated, but it can give you wrong result. Device might be in […]
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 […]
Swift 3: Unexpected nil when using NSCoder
If you were using NSCoder in Swift 2, I’m pretty sure you used such code: decoder.decodeObject(forKey: “name”) as! String decoder.decodeObject(forKey: “number”) as! Int Now, in Swift 3, using […]
WatchConnectivity: Payload could not be delivered
So you are trying to send instant message to parent iPhone app and still receiving “Payload could not be delivered”? This happens only if one of those two […]