Home » Swift

Swift

Extend all Swift Objects

December 5, 2017 Swift Leave a comment

Questions: Is it possible to extend all existing Swift objects as when adding a category over NSObject in Objective C? According to this article, all Swift objects inherit from the SwiftObject class, ...

AFNetworking and Swift

December 5, 2017 Swift Leave a comment

Questions: I’m trying to get a JSON response using Swift. I sniffed the request and response -> everything ok. However the return value is always nil. let httpClient = AppDelegate.appDelegate...