I am new learning swift and objective c, I am facing a problem and hope any one can hep me
I have the following swift file
class DataManager {
var splash : SplashResponse
var categories : CategoriesResponse
var banners : BannersResponse
static let instance = DataManager()
init () {
splash = SplashResponse.init();
categories = CategoriesResponse.init();
banners = BannersResponse.init();
}
}
it is a singlton class to allow me to store some data in application memory, I want to access this data in a method exist in another objective c file
How can I do that ?