Commit 1e69c3ee authored by licong's avatar licong

save

parent b094f8f2
......@@ -28,7 +28,7 @@ PODS:
- GMLibrary/Network (0.0.1):
- AFNetworking (~> 2.6.1)
- GMLibrary/Cache (~> 0.0.1)
- GMPhobos (0.0.2):
- GMPhobos (0.0.3):
- GMLibrary (~> 0.0.1)
- TMCache (2.1.0)
......@@ -42,7 +42,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
AFNetworking: cb8d14a848e831097108418f5d49217339d4eb60
GMLibrary: c31039ad32bc93f866d6c3052c20acb8cf9c1568
GMPhobos: fa1d3cf45aea2dfb7677bc8ce1fac91d2fb34bd3
GMPhobos: 323de3d8423310d8009ee291b694a3fe007fbd99
TMCache: 95ebcc9b3c7e90fb5fd8fc3036cba3aa781c9bed
COCOAPODS: 0.39.0
../../../../../Pod/Classes/Phobos.h
\ No newline at end of file
../../../../../Pod/Classes/ReplaceMe.h
\ No newline at end of file
{
"name": "GMPhobos",
"version": "0.0.2",
"version": "0.0.3",
"summary": "A short description of GMPhobos.",
"homepage": "http://git.gengmei.cc/gengmeiios/GMPhobos",
"license": "MIT",
......@@ -9,7 +9,7 @@
},
"source": {
"git": "http://git.gengmei.cc/gengmeiios/GMPhobos.git",
"tag": "0.0.2"
"tag": "0.0.3"
},
"platforms": {
"ios": "7.0"
......
......@@ -28,7 +28,7 @@ PODS:
- GMLibrary/Network (0.0.1):
- AFNetworking (~> 2.6.1)
- GMLibrary/Cache (~> 0.0.1)
- GMPhobos (0.0.2):
- GMPhobos (0.0.3):
- GMLibrary (~> 0.0.1)
- TMCache (2.1.0)
......@@ -42,7 +42,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
AFNetworking: cb8d14a848e831097108418f5d49217339d4eb60
GMLibrary: c31039ad32bc93f866d6c3052c20acb8cf9c1568
GMPhobos: fa1d3cf45aea2dfb7677bc8ce1fac91d2fb34bd3
GMPhobos: 323de3d8423310d8009ee291b694a3fe007fbd99
TMCache: 95ebcc9b3c7e90fb5fd8fc3036cba3aa781c9bed
COCOAPODS: 0.39.0
This diff is collapsed.
......@@ -14,7 +14,7 @@
buildForArchiving = "YES">
<BuildableReference
BuildableIdentifier = 'primary'
BlueprintIdentifier = '3800332E5A7E07DE0DC419F7'
BlueprintIdentifier = '6878D0B263EF5483F564BFC8'
BlueprintName = 'GMPhobos'
ReferencedContainer = 'container:Pods.xcodeproj'
BuildableName = 'GMPhobos.framework'>
......
#import <UIKit/UIKit.h>
#import "ReplaceMe.h"
#import "Phobos.h"
FOUNDATION_EXPORT double GMPhobosVersionNumber;
FOUNDATION_EXPORT const unsigned char GMPhobosVersionString[];
......
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.0.2</string>
<string>0.0.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
......@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = "GMPhobos"
s.version = "0.0.2"
s.version = "0.0.3"
s.summary = "A short description of GMPhobos."
# This description is used to generate tags and improve search results.
......@@ -24,7 +24,7 @@ Pod::Spec.new do |s|
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
s.license = 'MIT'
s.author = { "licong" => "licong@gmei.com" }
s.source = { :git => "http://git.gengmei.cc/gengmeiios/GMPhobos.git", :tag => "0.0.2" }
s.source = { :git => "http://git.gengmei.cc/gengmeiios/GMPhobos.git", :tag => "0.0.3" }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.platform = :ios, '7.0'
......
//
// Phobos.h
// GengmeiDoctor
// Data Statistic Client For Mars
// Created by Thierry on 16/1/26.
// Copyright © 2016年 wanmeizhensuo. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Phobos : NSObject
/**
* @brief 开启Phobos统计,默认以BATCH方式发送log.
*
* @param appName
* @param channelId
*
* @return
*
* @since <#1.8.0#>
*/
+ (Phobos *)clientWithAppName:(NSString *)appName channelId:(NSString *)channelId;
+ (instancetype)sharedClient;
+ (void)setSharedClient:(Phobos *)client;
/**
* @brief 设置是否打印sdk的log信息,默认不开启
*
* @param value 设置为YES,phobos SDK 会输出log信息,记得release产品时要设置回NO.
*
* @since <#1.8.0#>
*/
- (void)setLogEnabled:(BOOL)value;
/**
* @brief 自定义事件,数量统计.
*
* @param eventId 事件Id
* @attributes 参数
* @sendNow 是否实时发送,默认为NO
*
* @since <#1.8.0#>
*/
- (void)track:(NSString *)eventId;
- (void)track:(NSString *)eventId attributes:(NSDictionary *)attributes;
- (void)track:(NSString *)eventId attributes:(NSDictionary *)attributes sendNow:(BOOL)sendNow;
@end
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment