Swift

A 3-post collection

Page 1 of 1

Decode JSON nested heterogeneous item with Codable

Before all, calm down and think thoroughly If you're trying to decode JSON nested heterogeneous item on Codable, you may probably want to do it with »

saiday saiday on Swift, Codable, Heterogeneous 30 April 2020

Objective-C Notification.Name with Swift interoperability

NSNotification name has evolved from Objective-C's plain NSString type to a dedicated Notification.Name type, which is succinct and intuitive. My project is still in the »

saiday saiday on Objective C, Swift 02 January 2020

Swift lazy initializer with lookup ability if value equals nil

Why do we need it? When to use? If we are building an optional property which is massive resource consuming, the value is offed nil when »

saiday saiday on Swift, lazy 19 February 2019
Page 1 of 1
Imnotyourson © 2025
Proudly published with Ghost