Latest 2.9.4
Homepage https://github.com/talk-to/Chocolate
License BSD
Platforms ios 7.0, osx 10.8, requires ARC

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:

  1. Foundation Additions – Categories on the Foundation classes. These
    are intended to be useful for all Objective C code.

  2. Core Data Additions – Categories on Core Data classes.

  3. 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.

Usage

Chocolate is published as a CocoaPod, with each the
three modules above listed as a separate subspec.

For example, to use the first public release of Chocolate’s Foundation
Additions, we will need to add the following to our Podfile

pod 'TDTChocolate/FoundationAdditions', :git => '[email protected]:talk-to/Chocolate', :tag => '1.0.0'

then run

$ pod install

and finally import the public header for the Foundation Additions subspec

#import <TDTChocolate/TDTFoundationAdditions.h>

Changes

See the Release Notes.

Contributing

Pull Requests are welcome!

[For Maintainers] Releasing a new version

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.

Latest podspec

{
    "name": "TDTChocolate",
    "version": "2.9.4",
    "summary": "Library containing additions to Cocoa and Cocoa Touch",
    "homepage": "https://github.com/talk-to/Chocolate",
    "authors": "Talk.to",
    "license": "BSD",
    "source": {
        "git": "https://github.com/talk-to/Chocolate.git",
        "tag": "2.9.4"
    },
    "requires_arc": true,
    "platforms": {
        "ios": "7.0",
        "osx": "10.8"
    },
    "header_mappings_dir": "TDTChocolate",
    "subspecs": [
        {
            "name": "FoundationAdditions",
            "source_files": [
                "TDTChocolate/FoundationAdditions/*.{h,m}",
                "TDTChocolate/TDTFoundationAdditions.h"
            ]
        },
        {
            "name": "TestingAdditions",
            "source_files": [
                "TDTChocolate/TestingAdditions/*.{h,m}",
                "TDTChocolate/TDTTestingAdditions.h"
            ]
        },
        {
            "name": "CoreDataAdditions",
            "dependencies": {
                "TDTChocolate/FoundationAdditions": []
            },
            "source_files": [
                "TDTChocolate/CoreDataAdditions/*.{h,m}",
                "TDTChocolate/TDTCoreDataAdditions.h"
            ],
            "frameworks": "CoreData",
            "osx": {
                "exclude_files": "TDTChocolate/CoreDataAdditions/NSFetchedResultsController+TDTAdditions.{h,m}"
            }
        }
    ]
}

Pin It on Pinterest

Share This