Like if I have in my .h file:
int index;
and then in the .m file I have:
if(index == nil)
and I haven't assigned a value to index, will that come up true?
Thanks.
EDIT: I guess nil is only used for objects. So what is the state of an int that hasn't been assigned a value?