Latest 1.1.1
Homepage https://github.com/detroit-labs/dlr-foundation-ios
License MIT
Platforms ios , requires ARC
Authors

CI Status
Version
License
Platform

Installation

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

pod "DLRFoundation"

Author

Nathan Walczak, [email protected]

License

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

Examples

NSArray+DLR
/** Returns a filter array with only objects of a specific kind of class.
    An empty array is returned if none found. */
- (NSArray *)dlr_filteredArrayWithKindOfClass:(Class)aClass;

/** Returns the object located after specificed object.
    If last object, returns first object. */
- (id)dlr_objectAfterObject:(id)object;

/** Returns the object located before specificed object.
    If first object, returns last object. */
- (id)dlr_objectBeforeObject:(id)object;

/** Returns true if the array contains an instance of the specified class or its
    subclasses. */
- (BOOL)dlr_containsKindOfClass:(Class)aClass;

/** Returns true if the array contains a member of the specified class. */
- (BOOL)dlr_containsMemberOfClass:(Class)aClass;
NSString+DLR
/** Returns a string by trimming all of the leading and trailing whitespace characters.
If the receiver is composed entirely of whitespace characters, an empty string is returned. */
- (NSString *)dlr_stringByTrimmingWhitespaceCharacters;

/** If the receiver has a lenght of zero, nil is returned.  Otherwise the receiver is returned. */
- (NSString *)dlr_nilIfEmpty;

Latest podspec

{
    "name": "DLRFoundation",
    "version": "1.1.1",
    "summary": "A collection of Foundation categories.",
    "homepage": "https://github.com/detroit-labs/dlr-foundation-ios",
    "license": "MIT",
    "authors": {
        "Nathan Walczak": "[email protected]"
    },
    "source": {
        "git": "https://github.com/detroit-labs/dlr-foundation-ios.git",
        "tag": "1.1.1"
    },
    "social_media_url": "https://twitter.com/detroitlabs",
    "platforms": {
        "ios": null
    },
    "requires_arc": true,
    "source_files": "DLRFoundation/source/**/*",
    "public_header_files": "DLRFoundation/source/**/*.h"
}

Pin It on Pinterest

Share This