Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sorting large tables



Actually, since I've parsed the data successfully, I suppose I could store it and reopen in Core Data. Since I am new to Cocoa and have a limited programming background, I thought I should keep things basic,. Will give it a try as well (once I've tried the merge sort). But since I will have several pools of data to prepare for use, it also makes sense to just have a generic parser / sorter that parses, sorts, and stores data for use in other apps. Thanks.

On Mar 13, 2008, at 6:43 PM, Ben Trumbull wrote:

Have you considered using Core Data ? For generic table work like you describe, it will handle this drudgery for you. Our objects work extremely well with NSSortDescriptor, so the comparison function shouldn't require any significant memory pressure (i.e. we won't needlessly generate temporary or autoreleased objects)

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.