• 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: NSString category name collision?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString category name collision?


  • Subject: Re: NSString category name collision?
  • From: "email@hidden" <email@hidden>
  • Date: Wed, 27 Jan 2010 11:27:24 +0000


On 27 Jan 2010, at 11:09, Jean-Daniel Dupas wrote:
> Wow, there is some people here who don't know the fantastic TN2124  ;-)
>
> http://developer.apple.com/mac/library/technotes/tn2004/tn2124.html

Now my life has meaning!

OBJC_PRINT_REPLACED_METHODS generates a lot of references to CoreFoundation/Quartz/OSA framework category replacements.

>
> If you want to full list of objc debug env var, set the OBJC_HELP env var and launch an application.
>
The 10.6.2 env variables are:

objc[4764]: Objective-C runtime debugging. Set variable=YES to enable.
objc[4764]: OBJC_HELP: describe available environment variables
objc[4764]: OBJC_PRINT_OPTIONS: list which options are set
objc[4764]: OBJC_PRINT_IMAGES: log image and library names as they are loaded
objc[4764]: OBJC_PRINT_LOAD_METHODS: log calls to class and category +load methods
objc[4764]: OBJC_PRINT_INITIALIZE_METHODS: log calls to class +initialize methods
objc[4764]: OBJC_PRINT_RESOLVED_METHODS: log methods created by +resolveClassMethod: and +resolveInstanceMethod:
objc[4764]: OBJC_PRINT_CLASS_SETUP: log progress of class and category setup
objc[4764]: OBJC_PRINT_PROTOCOL_SETUP: log progress of protocol setup
objc[4764]: OBJC_PRINT_IVAR_SETUP: log processing of non-fragile ivars
objc[4764]: OBJC_PRINT_VTABLE_SETUP: log processing of class vtables
objc[4764]: OBJC_PRINT_VTABLE_IMAGES: print vtable images showing overridden methods
objc[4764]: OBJC_PRINT_CACHE_SETUP: log processing of method caches
objc[4764]: OBJC_PRINT_FUTURE_CLASSES: log use of future classes for toll-free bridging
objc[4764]: OBJC_PRINT_RTP: log initialization of the Objective-C runtime pages
objc[4764]: OBJC_PRINT_GC: log some GC operations
objc[4764]: OBJC_PRINT_PREOPTIMIZATION: log preoptimization courtesy of dyld shared cache
objc[4764]: OBJC_PRINT_CXX_CTORS: log calls to C++ ctors and dtors for instance variables
objc[4764]: OBJC_PRINT_EXCEPTIONS: log exception handling
objc[4764]: OBJC_PRINT_ALT_HANDLERS: log processing of exception alt handlers
objc[4764]: OBJC_PRINT_REPLACED_METHODS: log methods replaced by category implementations
objc[4764]: OBJC_PRINT_DEPRECATION_WARNINGS: warn about calls to deprecated runtime functions
objc[4764]: OBJC_DEBUG_UNLOAD: warn about poorly-behaving bundles when unloaded
objc[4764]: OBJC_DEBUG_FRAGILE_SUPERCLASSES: warn about subclasses that may have been broken by subsequent changes to superclasses
objc[4764]: OBJC_DEBUG_FINALIZERS: warn about classes that implement -dealloc but not -finalize
objc[4764]: OBJC_DEBUG_NIL_SYNC: warn about @synchronized(nil), which does no synchronization
objc[4764]: OBJC_USE_INTERNAL_ZONE: allocate runtime data in a dedicated malloc zone
objc[4764]: OBJC_DISABLE_GC: force GC OFF, even if the executable wants it on
objc[4764]: OBJC_DISABLE_VTABLES: disable vtable dispatch
objc[4764]: OBJC_DISABLE_PREOPTIMIZATION: disable preoptimization courtesy of dyld shared cache

Jonathan_______________________________________________

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: NSString category name collision?
      • From: "Sean McBride" <email@hidden>
References: 
 >NSString category name collision? (From: "email@hidden" <email@hidden>)
 >Re: NSString category name collision? (From: "Sean McBride" <email@hidden>)
 >Re: NSString category name collision? (From: Greg Parker <email@hidden>)
 >Re: NSString category name collision? (From: "email@hidden" <email@hidden>)
 >Re: NSString category name collision? (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: NSString category name collision?
  • Next by Date: Re: How to access iTunes using cocoa
  • Previous by thread: Re: NSString category name collision?
  • Next by thread: Re: NSString category name collision?
  • Index(es):
    • Date
    • Thread