Archive for the ‘ Shared Instance – Global Variable ’ Category
In this tutorial you will be able to create a shared instance class which you could use as data storage in your application. A global variables in other words which are accessed anywhere in your application. Procedure: 1.) Create an NSObject class. (for this example we use “AppSharedInstance”). Below is our header file “AppSharedInstance.h” #import [ READ MORE ]
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Join 4 other followers
Get every new post delivered to your Inbox.