When I'm typing out new instance variables, they appear white. To turn them green, I do a space/backspace between the semicolon. Is there an XCode secret to automatically going through all of my classes and recognize the variables it has missed?
Something similar happens with the orange #define variables used throughout code too.
UPDATE: This problem appears to be solved in xcode 3.2 with snow leopard.
To do this for a single file I usually select all text, cut, and paste it (cmd-A, cmd-X, cmd-V).
Make sure you've saved the header file with the instance variable first.
Xcode is rather fail that way. I hope they fix this in Snow Leopard.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With