Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Everything that really should be in Foundation, but isn't. Future-proof with ARC
branch: master

This branch is 226 commits behind foundationkit:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
FoundationKit.xcodeproj
Sources
.gitignore
FoundationKit-Prefix.pch
LICENSE
README.md
Styleguide.md

README.md

Everything that really should be in Foundation, but isn't.

Consider FoundationKit Foundation's big brother. We add lots of useful categories, helpers, classes and macros.

FoundationKit is built With ARC for both for iOS 4.0+ and Mac OS 10.6+.

It's still very much work in progress, so don't yet use it in production. If you start a new app today, it's the perfect time to begin with it.

Conventions

  • Classes are prefixed with NK (NSKit => NSK => NK)
  • The project is set to use 2 spaces for indents
  • ARC only, no explicitly defined ivars
  • Every .h file has only a concise comment header that mentions that this file belongs to FoundationKit and credits to other 3rd parties if appropriate (see example header below). The .m files don't have a comment header.
  • Category file names must be named after the classes that they extend (e.g. NSArray+NKAdditions). Generic categories that span multiple classes are not allowed!
  • Use assert instead of NSAssert macros to ensure program exit.
  • For all other guidelines have a look at the Styleguide.md.

Example Header Comment

// Part of FoundationKit http://foundationk.it
//
// Derived from [Author] [License Type]-licensed [Project Name]: [URL]
Something went wrong with that request. Please try again.