On Sun, Jun 28, 2009 at 4:12 PM, Tommy Nordgren<tommy.nordg...@comhem.se> 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. Mike _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com