Latest 1.3.0
Homepage https://github.com/haifengkao/HFTAGManager
License MIT
Platforms ios 8.0, requires ARC
Dependencies ReactiveObjC
Authors

CI Status
Coverage Status
Version
License
Platform

Usage

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

HFTAGRule* rule = [[HFTAGRule alloc] initWithBlock:^[(TagRule* rule){
    NSPredicate *purchased = [NSPredicate predicateWithFormat:@"SELF.isPurchased MATCHES %@", @"1"];
    [rule setPredicate:purchased rule:@{@"gift":@"apple"}];

    // not purchased
    [rule setPredicate:nil rule:@{@"gift":@"nothing"}];
}];
NSDictionary* gift = [container dictionaryForKey:@"specialGift" defaultRule:rule];

Requirements

Installation

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

pod "HFTAGManager"

Author

Hai Feng Kao, [email protected]

License

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

Latest podspec

{
    "name": "HFTAGManager",
    "version": "1.3.0",
    "summary": "a open source Google Tag Manager clone for iOS.",
    "description": "A configuration tool to change iOS Apps' behavior on the fly. nIf you want to host Google Tag Manager on your own, this is the tool of choice.",
    "homepage": "https://github.com/haifengkao/HFTAGManager",
    "license": "MIT",
    "authors": {
        "Hai Feng Kao": "[email protected]"
    },
    "source": {
        "git": "https://github.com/haifengkao/HFTAGManager.git",
        "tag": "1.3.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "dependencies": {
        "ReactiveObjC": [
            "~> 3.0"
        ]
    }
}

Pin It on Pinterest

Share This