• 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: Objective C Compiler Settings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective C Compiler Settings


  • Subject: Re: Objective C Compiler Settings
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Mon, 29 Jun 2009 08:29:42 +0200


On 29 Jun 2009, at 07:10, Graham Cox <email@hidden> wrote:



On 29/06/2009, at 9:18 AM, Michael Ash wrote:

On Sun, Jun 28, 2009 at 4:12 PM, Tommy Nordgren<email@hidden
wrote:
Are there any compiler flags you can provide when compiling
Objective C
code,
that causes an exception to be triggered when a category implements
a method
that is already implemented in the target class?

Not an exception, but you can get the runtime to log any replaced methods by setting the OBJC_PRINT_REPLACED_METHODS environment variable when running your app. This and other environment variables can be found by running an ObjC program with the OBJC_HELP enviroment variable set. This will print out a brief bit of documentation about all the debugging variables supported by the runtime.


Cool, that's really useful and previously unknown to me - where did
you get to know about this? Can you point to documentation?

<file:///Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.DeveloperTools.docset/Contents/Resources/Documents/technotes/tn2004/tn2124.html >


Kind regards,

Gerriet.

_______________________________________________

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


  • Prev by Date: Re: Tool-tips on NSTabViewItem
  • Next by Date: Re: NSCell subclassing nightmares
  • Previous by thread: Re: Objective C Compiler Settings
  • Next by thread: Placement of window using interface builder on different size displays
  • Index(es):
    • Date
    • Thread