• 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
Re: [NEWBIE] viewing implementation files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NEWBIE] viewing implementation files


  • Subject: Re: [NEWBIE] viewing implementation files
  • From: j o a r <email@hidden>
  • Date: Mon, 18 Oct 2004 00:47:38 +0200

Cocoa is not open source, so the implementation files are not available.

You don't need access to the implementation of a class in order to subclass. You only need access to the header files. The headers can usually be found in "/System/Library/Frameworks/<TheFrameworkInQuestion>/Headers".

j o a r

On 2004-10-18, at 00.32, justin webster wrote:

excuse my ignorance:
how do I view the .m file for existing cocoa classes?
I know that when I sometimes get errors I can see the contents of these files, but how do I take a look whenever I want?
I can't find the files at finder level.

eg. I would like to try subclassing NSSound and modify its existing methods but I need to copy the existing methods before overriding them.

_______________________________________________
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: [NEWBIE] viewing implementation files
      • From: Tim Lucas <email@hidden>
References: 
 >[NEWBIE] viewing implementation files (From: justin webster <email@hidden>)

  • Prev by Date: Re: Building without depencies to Frameworks
  • Next by Date: Interesting effect with NSKeyedArchiver archiveRootObject
  • Previous by thread: [NEWBIE] viewing implementation files
  • Next by thread: Re: [NEWBIE] viewing implementation files
  • Index(es):
    • Date
    • Thread