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

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -