NSMapTable C function API equivalent

2009-06-01 Thread George King
I just read in the NSMapTable Class Reference that I can use the class to map to and from pointers to C structs: You can configure an NSMapTable instance to operate on arbitrary pointers and not just objects, although typically you are encouraged to use the C function API for void * pointer

Re: Problem Embedding Cocoa Framework

2009-05-07 Thread George King
Is there a particular reason you are embedding a version of libxml rather than the one that ships with the system ( /usr/lib/ libxml2.dylib )? Does the somewhat newer version have features that you need or have needed bugfixes? The system installed version of libxml2 on 10.5.6 is 2.6.16. Th

Re: Problem Embedding Cocoa Framework

2009-05-06 Thread George King
Do I need some other linker flag on the application side? Thanks for all your help. I realize that perhaps these Build Settings questions should go to the Xcode list instead. - George On May 6, 2009, at 5:25 PM, Nick Zitzmann wrote: On May 6, 2009, at 6:13 PM, George King wrote: C

Problem Embedding Cocoa Framework

2009-05-06 Thread George King
27;m surprised that I don't get a linker error if that is the case., because there is nothing at the path displayed by otool. Thank you, George King ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mode

Re: NSXMLParser memory consumption

2009-04-05 Thread George King
I hit a stumbling block when passing large files (multi-GB) to NSXMLParser. Are you doing this in 64 bit? Yes, I switched to building x86_64 because NSXMLParser was refusing files over 4GB. It appears that NSXMLParser's initWithContentsOfURL: method loads the contents of the entire file

NSXMLParser memory consumption

2009-04-04 Thread George King
Hi List, I hit a stumbling block when passing large files (multi-GB) to NSXMLParser. It appears that NSXMLParser's initWithContentsOfURL: method loads the contents of the entire file into memory, which is causing virtual memory thrashing for at file sizes approaching my physical RAM (2 GB