While this doesn't exactly address what you're looking for, I'd just thought 
I'd throw in a plug for the CHDataStructures framework, which (among other 
things) contains a whole bunch of tree-based data structures (AVL, AA, RB, etc) 
so you don't have to recreate it yourself.

It's FOSS and can be found at http://cocoaheads.byu.edu/code/chdatastructures

Cheers,

Dave 

On Nov 12, 2009, at 2:01 AM, Jonathan Guy wrote:

> Hi all
> I'm having a hard time finding a good example of this on the web so I thought 
> I'd post here. I have an array of file system paths (NSStrings) and need to 
> convert this into a tree structure using parent child tree node objects. The 
> method has to be as efficient as possible as it will be crunching a lot of 
> data. Any pointers to documentation or a good example would be much 
> appreciated.
> 
> Thanks
> 
> Jonathan

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to