i.e. I want to bring this in my code:
static BOOL MyConstantBool = YES;
Must it be before or after @implementation? Are there rules where t
Globals can go pretty much wherever you want; just put it in whatever place makes sense stylistically. I prefer to see globals near the top of source files, personally.
While you could put the definition into a header file, I don't recommend it. Putting any kind of definition in a header file can lead to multiply-defined symbol linker errors on down the road. If you need more than one compilation unit to see the variable, you can't make it static anyway - you'll need to define it in an implementation file somewhere and use extern to make it visible amongst various source files.