i have fbid a instance variable in my app delegate i want to use it in every class in my whole application without using NSUSERDEFAULT .i want to use extern data type but i am not getting any thing how to declare extern variable and how to use please help ?
Share
You can declare property variable in your
Application Delegate.Than you can access that variable anywhere as
EDIT
Let’s say you have
MyViewController//Header file
//Implementation file
This can be done in any view controller and that property value of yourStringVariable is available to any viewcontroller or any other class as above code.
Hope this clears. Leave comment if still not able to get it correctly.