by Philippe Hausler on Apr.03, 2009, under MacOS X, Objective-C

Why doesn’t Foundation allow for runtime abstraction into Objective-C classes?
Why doesn’t Foundation have STL like classes for lists, deques and queues (more than NSSet, NSArray, and NSMapTable)?
Why doesn’t Foundation have regular expressions for strings?
Why doesn’t Foundation have tcp sockets as a more compatible version than NSSocket?
Aren’t base Foundation classes like, NSArray, NSString, NSData etc missing a ton of handy/commonly re-used functions?

Well now it can! Introducing FoundationAdditions.framework: a collection of classes and extensions to the base Foundation framework allowing all the way from adding unique objects to a NSMutableArray to the objective-c runtime as an abstraction to objective-c objects to STL classes implemented in objective-c (not objective-c++ btw) classes.

This is however not a complete framework yet, its missing a fair amount of commentary and usage examples. So please consider this as a work-in-progress. Most of the classes have been tested, that being said there may be some memory leaks/bugs etc.

Download FoundationAdditions.framework

Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...