Kiarash VosoughinDivar Mobile EngineeringTired Of Objc Method Swizzling? Check Out Swifty Alternative.In this article, I will demonstrate an alternative to Objc method swizzling, with extension even for swift’s structs and enums.Dec 17, 2022Dec 17, 2022
Kiarash VosoughDistinguish Protocols Requirement Which Has Same SignatureKeeping separate implementations of a method defined by two protocols with exact signatures.Dec 6, 20221Dec 6, 20221
Kiarash VosoughinDivar Mobile EngineeringA Disaster Named NSHashTable🤯Let’s see how to store objects in an array with many options And Many Pitfalls.Sep 10, 20222Sep 10, 20222
Kiarash VosoughinDivar Mobile EngineeringStructural Mocking In SwiftI will demonstrate how to mock with a simple structure in this article.Aug 6, 2022Aug 6, 2022
Kiarash VosoughinDivar Mobile EngineeringSort Collections Even Easier In SwiftAre you tired of using closure to define comparison strategy or the sort method multiple times for sorting collections? Here is the…Jul 30, 2022Jul 30, 2022
Kiarash VosoughinDivar Mobile EngineeringCreate Publisher For UIControlThis article will teach you how to listen to UIControl’s events with combine’s publisher.Jul 22, 2022Jul 22, 2022
Kiarash VosoughinDivar Mobile EngineeringUse Singleton Pattern Or Not?In this article, I will go through the cons and pros of the singleton pattern, and in much more detail, I will answer the question above.Jul 19, 20222Jul 19, 20222
Kiarash VosoughLabeling For Loop In SwiftEver think of breaking from inner nested loops to the outer ones? Follow up for the trick!May 1, 2022May 1, 2022
Kiarash VosoughSwift Numbers (Part 2)Move Your Knowledge About Numbers To Next StepApr 8, 2022Apr 8, 2022
Kiarash VosoughSwift NumbersMove Your Knowledge About Swift Numbers To Next StepMar 26, 2022Mar 26, 2022