does != nil check for 0x0?
- by 4thSpace
I have a custom class and check that a property isn't 0x0 by doing:
if(myinstance.someproperty != nil){
//do something
}
However, even if someproperty is 0x0, I still go into the conditional. someproperty is of another class type. Is there some other way to check this?