HFTAGManager 1.3.0

HFTAGManager 1.3.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jan 2019

Maintained by Hai Feng Kao.



  • By
  • Hai Feng Kao

HFTAGManager

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.