Swift 4.0 Using Swift variables in Objective-C : Swift 4 Edition Today I ran into weird problem which prompted me to write this blog post on Objective-C and Swift interconnectedness. Before Swift 4 came along, the sure way to access Swift variables in Objective-C was to inherit class from NSObject (Swift structs cannot be used in the Objective-C) and prefix it