Standard toolset classes and categories
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 21 commits ahead, 1058 commits behind Cocoanetics:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


About DTFoundation

DTFoundation is a collection of utility methods and category extensions that Cocoanetics is standardizing on. This should evolve into a toolset of well-documented and -tested code to accelerate future development.

At a Glance

Contained are several category methods

  • NSString - formatting Numbers
  • NSURL - getting direct-access URLs for preferences and the mobile app store

Other classes simplify working with specialized data

  • DTAsyncFileDeleter - asynchronous non-blocking file/folder deletion
  • DTHTMLParser - a libxml2-based HTML parser
  • DTVersion - parsing and comparing version numbers


It is open source and covered by a standard BSD license. That means you have to mention Cocoanetics as the original author of this code. You can purchase a Non-Attribution-License from us.


Documentation can be browsed online or installed in your Xcode Organizer via the Atom Feed URL.


The DTFoundation.framework is using the "Fake Framework" template put together by Karl Stenerud. All categories employ Karl's LoadabeCategory hack to avoid having to use the -all_load linker flag. If your app does not use ARC yet (but DTFoundation does) then you also need the -fobjc-arc linker flag.

  1. Include the DTFoundation.framework in your project.
  2. Import the DTFoundation.h in your PCH file or include the individual header files where needed.
  3. Add -ObjC to "Other Linker Flags".