In my iPhone apps I regularly do this in xCode v3.2.3:
- Declare a BOOL variable in the *.h file
- Use @property in the same *.h file.
- Use @sythesize in the matching *.m file.
I accidentally forgot to do #1... but it still complied fine. 0 warnings. 0 errors. 0 analyzer errors.
How can that be? Shouldn't my code to loaded with compiler-errors everywhere that variable is trying to be used?