gerriet
(Gerriet M. Denkmann)
1
In a mixed ObjC + Swift app I have:
CommonStuff.swift
let someKey = "my Key"
I can use someKey in all my Swift files, but not in ObjC files.
How can I avoid doing:
NSString *someKey = @"my Key"; // duplicated from CommonStuff.swift
Gerriet.
Avi
2
You can't. You have to define such constants in ObjC.