RE: message to nil? (very basic question)
RE: message to nil? (very basic question)
- Subject: RE: message to nil? (very basic question)
- From: "Smith, Bradley" <email@hidden>
- Date: Mon, 21 Jan 2002 16:02:12 -0000
I'm a Cocoa and Obj-C convert these days, but I still have to deal with C++
on an everyday basis. IMHO being able to make method calls on Nil is an
extremely bad thing to be able to get away with and it doesn't help anybody.
Going through an exercise in the Hillegas book I was struggling for an hour
because I hadn't set up an outlet properly. I was making calls on it and
there was no error but the outlet was Nil so no message was going anywhere.
Can anyone explain the logic / rationale behind it all?
Brad