Latest 0.1.0
Homepage https://github.com/games-neox/GNLazy
License MIT
Platforms ios 8.0
Dependencies GNExceptions, GNLog, GNPreconditions
Authors

CI Status
Version
License
Platform

Simple lazy loader for Objective-C/Swift.
Basis usage:

#import <GNLazy/GNLazy.h>

GNLazy<NSString*>* lazyString = [GNLazy createFromLoader:^{
    return @"lazy string";
}];

NSString* stringLoadedSafely = [lazy safeGet];
NSString* stringLoadedFast = [lazy fastGet];

Example

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

Requirements

Minimum supported iOS version: 8.x
Dependencies: GNExceptions, GNLog & GNPreconditions

Installation

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

pod "GNLazy"

Author

Games Neox, [email protected]

License

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

Latest podspec

{
    "name": "GNLazy",
    "version": "0.1.0",
    "summary": "lazy loader for Objective-C",
    "homepage": "https://github.com/games-neox/GNLazy",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Games Neox": "[email protected]"
    },
    "source": {
        "git": "https://github.com/games-neox/GNLazy.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "dependencies": {
        "GNExceptions": [],
        "GNLog": [],
        "GNPreconditions": []
    },
    "source_files": "GNLazy/Classes/*",
    "public_header_files": "GNLazy/Classes/*.h"
}

Pin It on Pinterest

Share This