0

If I have an object like

AType *object = nil;

and I set nil to the object property like

object.property = nil;

Is it completly fine to do that, or could I run in some problem with some particular case?

Alberto Scampini
  • 800
  • 9
  • 26

1 Answers1

1

You can send any message to nil object, it's absolutely fine.

Igor
  • 1,527
  • 10
  • 12