Objective-C runtime questions
Objective-C runtime questions
- Subject: Objective-C runtime questions
- From: Stéphane Sudre <email@hidden>
- Date: Sun, 27 Feb 2005 14:54:25 +0100
I was reading the old NeXT Developer's Library documentation entitled:
"Object-Oriented Programming and the Objective-C Language" and I came
across 2 points I'm wondering about:
- it is stated that the default returned value of a message sent to nil
for a method which returns an object is nil but that it is undefined if
the method does not return an object.
My experience has been somehow that 0 was returned in such cases. Is it
just good luck?
- it is said that you can unload Objective-C modules (Page 104).
Yet, AFAIK, you can load a NSBundle but you can't unload it. So is it
just an issue with NSBundle that can be worked around?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden