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
  • 798
  • 9
  • 27

1 Answers1

1

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

Igor
  • 1,537
  • 10
  • 12