Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haifengkao/hftagmanager
a open source Google Tag Manager clone for iOS
https://github.com/haifengkao/hftagmanager
Last synced: about 1 month ago
JSON representation
a open source Google Tag Manager clone for iOS
- Host: GitHub
- URL: https://github.com/haifengkao/hftagmanager
- Owner: haifengkao
- License: mit
- Created: 2015-10-29T09:32:06.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-01-08T10:00:29.000Z (almost 6 years ago)
- Last Synced: 2024-11-18T04:02:47.253Z (about 2 months ago)
- Language: Objective-C
- Size: 727 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HFTAGManager
[![CI Status](http://img.shields.io/travis/haifengkao/HFTAGManager.svg?style=flat)](https://travis-ci.org/haifengkao/HFTAGManager)
[![Coverage Status](https://codecov.io/gh/haifengkao/HFTAGManager/branch/master/graph/badge.svg)](https://codecov.io/gh/haifengkao/HFTAGManager)
[![Version](https://img.shields.io/cocoapods/v/HFTAGManager.svg?style=flat)](http://cocoapods.org/pods/HFTAGManager)
[![License](https://img.shields.io/cocoapods/l/HFTAGManager.svg?style=flat)](http://cocoapods.org/pods/HFTAGManager)
[![Platform](https://img.shields.io/cocoapods/p/HFTAGManager.svg?style=flat)](http://cocoapods.org/pods/HFTAGManager)## Usage
To run the example project, clone the repo, and run `pod install` from the Example directory first.
```objc
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](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod "HFTAGManager"
```## Author
Hai Feng Kao, [email protected]
## License
HFTAGManager is available under the MIT license. See the LICENSE file for more info.