Latest 0.0.1
Homepage https://github.com/yocaminobien/CDBSharedDateFormatter
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit
Authors

Add a category with a sharedInstance method to the NSDateFormatter

CI Status
Version
License
Platform

Example

[NSDateFormatter sharedInstance].dateStyle = kCFDateFormatterShortStyle;
NSString * result = [[NSDateFormatter sharedInstance] stringFromDate:[NSDate date]];

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

CDBSharedDateFormatter is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "CDBSharedDateFormatter"

Author

yocaminobien, [email protected]

License

CDBSharedDateFormatter is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "CDBSharedDateFormatter",
    "version": "0.0.1",
    "summary": "NSDateFormatter sharedInstance implementation",
    "description": "Add a category with a sharedInstance method to the NSDateFormatter",
    "homepage": "https://github.com/yocaminobien/CDBSharedDateFormatter",
    "license": "MIT",
    "authors": {
        "yocaminobien": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yocaminobien/CDBSharedDateFormatter.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "CDBSharedDateFormatter": [
            "Pod/Assets/*.png"
        ]
    },
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This