[Biococoa-dev] NSValue addition

John Timmer jtimmer at bellatlantic.net
Tue Sep 28 12:52:52 EDT 2004

Just to inform everyone:

I've added a file to the Utils section that adds a few methods as a category
to NSValue (I wrote it a little while ago, but it got lost in the shuffle).
Since a lot of what we do will use NSRanges and they can be stored in arrays
as NSValues, I added a method that assumes NSRange values, and allows
sorting of the array.

This may be the easiest way to find things like "the longest" - put all
possible ranges into the array, and then sort it.  It's how I'm handling
some of the ORF methods.



This mind intentionally left blank

More information about the Biococoa-dev mailing list