Please visit my blog for a more detailed explanation.
jurezove/sharing-data-between-objects-in-swift
Sharing data between view controllers and other objects in Swift
SwiftMIT
Sharing data between view controllers and other objects in Swift
SwiftMIT
Please visit my blog for a more detailed explanation.