iphone - How can I declare a global integer and use it across my app? -


How can I declare a global integer and use it in my app?

  // SomeFile.h extern int n; //SomeFile.m int n; // Someomefile.m #import "SomeFile.h"  

Now you can use global n in some of your upper file.m file


Comments

Popular posts from this blog

google indexing -

php - How to paginate multiple results in CakePHP? -

wpf - Converter stops filter working -