Victor PavlychkoPrivate APIs, Objective-C runtime, and SwiftLearn how to combine Objective-C runtime with Swift expressiveness, to easily access private APIs in Swift.Sep 8, 2020Sep 8, 2020
Victor PavlychkoGeneric Optional Handling in SwiftSometimes you want to write a generic algorithm working on any Optional type no matter what actual type is wrapped inside. Ok, this can be…Aug 13, 20171Aug 13, 20171
Victor PavlychkoUsing Self in Swift Class ExtensionsIt might be tempting to use Self as a parameter type when extending classes but Swift only allows it in a protocol or as the result of a…Aug 10, 2017Aug 10, 2017
Victor PavlychkoManaging Temporary Files in SwiftReference counting is great in taking unused objects out of memory. The same can be applied to the temporary files we allocate.Aug 8, 2017Aug 8, 2017
Victor PavlychkoStoryboard TricksWhile looking through another sample project today, I have once again noticed how many string literals and force downcasts accompany most…Aug 6, 20172Aug 6, 20172