• 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
Understanding the inner workings: getting to know how functions are called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Understanding the inner workings: getting to know how functions are called


  • Subject: Understanding the inner workings: getting to know how functions are called
  • From: Mattias Arrelid <email@hidden>
  • Date: Tue, 22 Jan 2008 17:05:46 +0100

Hi everyone,

Sometimes when I subclass an existing Cocoa class, I wonder how its methods are called; when in time, from what other function (possible from another instance of another class) etc.

The "idiot" way of implementing this could of course be to add _all_ method names of the class in question and then just call [super methodName] in each method, and then use some debug macro before and after that call that prints the name of the method in question. That really isn't that productive and seems like a waste of time.

Could anyone point me in the right direction here? I'm open to all suggestions...

Regards
Mattias


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Understanding the inner workings: getting to know how functions are called
      • From: Jeff Johnson <email@hidden>
    • Re: Understanding the inner workings: getting to know how functions are called
      • From: Alastair Houghton <email@hidden>
    • Re: Understanding the inner workings: getting to know how functions are called
      • From: Bill Bumgarner <email@hidden>
    • Re: Understanding the inner workings: getting to know how functions are called
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: Re: Leopard - interaction with Spaces from own applications
  • Next by Date: Re: Understanding the inner workings: getting to know how functions are called
  • Previous by thread: QTCaptureDevice + capturecard
  • Next by thread: Re: Understanding the inner workings: getting to know how functions are called
  • Index(es):
    • Date
    • Thread