Chocolate is a library containing additions to Cocoa and Cocoa Touch that simplify writing Objective C code for OSX/iOS. The things that Apple forgot.
Chocolate consists of three modules:
Foundation Additions - Categories on the Foundation classes. These are intended to be useful for all Objective C code.
Core Data Additions - Categories on Core Data classes.
Testing Additions - Categories on Foundation classes that provide functionality useful when writing Unit Tests. These are not intended to be linked in the actual Application code.
Chocolate is published as a CocoaPod, with each the three modules above listed as a separate subspec.
For example, to use Chocolate's Foundation Additions, add the following to your Podfile
pod 'TDTChocolate/FoundationAdditions'
then run
$ pod install
and finally import the public header for the Foundation Additions subspec
#import <TDTChocolate/TDTFoundationAdditions.h>
See the Release Notes.
Available under the BSD license. See the LICENSE file for more info.
Use the following rake task to create a new release. This will ask you for the new version, and then open up an editor for you to enter the release notes.
rake release
Subsequently, you need to select the "Add release notes" on the GitHub tags listing for the release to show up on the Releases page. Or you can "Draft a new release" on releases page.