• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Objective-C runtime questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Objective-C runtime questions
      • From: Clark Cox <email@hidden>
    • Re: Objective-C runtime questions
      • From: Nicko van Someren <email@hidden>
    • Re: Objective-C runtime questions
      • From: Kay Röpke <email@hidden>
  • Prev by Date: Re: Loading Cocoa Bundles
  • Next by Date: Re: Objective-C runtime questions
  • Previous by thread: Re: LSOpenFromURLSpec () problems
  • Next by thread: Re: Objective-C runtime questions
  • Index(es):
    • Date
    • Thread