How to declare global variable in objective c?
Answer / Girijesh Singh
"To declare a global variable in Objective-C, you can place the declaration outside of any function or method. Here's an example:nnextern int myGlobalVar;nextime_t myGlobalTime;" (Note: External declarations require the 'extern' keyword when used in multiple files.)
| Is This Answer Correct ? | 0 Yes | 0 No |
How to reverse array in objective c?
Can a protocol have properties?
What are blocks and how are they used?
Is swift objective c?
What are the characteristics of the category?
Is nsobject a parent class or a derived class?
What is gcd?
How to call function in objective-c?
Is objective c object oriented?
What happen if we send any message to an object which is released?
What are the attributes of category?
What is instance variable objective c?