I am creating ios app in xcode 4.2.
I have outside file with database. I dont wanna download data in every view. How should i create one global variable for tabbar application? And when should i upload this database before closing of application?
I am creating ios app in xcode 4.2. I have outside file with database.
Share
I use singletones like this: in class DataBase with some arrays of data i implement share method:
and then in some classes: self.dataBase = [DataBase share];