Skip to content

Commit 79b1bea

Browse files
committed
add Carthage files
1 parent 9f2c453 commit 79b1bea

File tree

78 files changed

+9626
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+9626
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
//
2+
// BNCConfig.h
3+
// Branch-SDK
4+
//
5+
// Created by Qinwei Gong on 10/6/14.
6+
// Copyright (c) 2014 Branch Metrics. All rights reserved.
7+
//
8+
9+
#ifndef Branch_SDK_Config_h
10+
#define Branch_SDK_Config_h
11+
12+
#define SDK_VERSION @"0.11.16"
13+
14+
#define BNC_PROD_ENV
15+
//#define BNC_STAGE_ENV
16+
//#define BNC_DEV_ENV
17+
18+
#ifdef BNC_PROD_ENV
19+
#define BNC_API_BASE_URL @"https://api.branch.io"
20+
#endif
21+
22+
#ifdef BNC_STAGE_ENV
23+
#define BNC_API_BASE_URL @"http://api.dev.branchmetrics.io"
24+
#endif
25+
26+
#define BNC_LINK_URL @"https://bnc.lt"
27+
28+
#ifdef BNC_DEV_ENV
29+
#define BNC_API_BASE_URL @"http://localhost:3001"
30+
#endif
31+
32+
#define BNC_API_VERSION @"v1"
33+
34+
#endif
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
//
2+
// BNCContentDiscoveryManager.h
3+
// Branch-TestBed
4+
//
5+
// Created by Graham Mueller on 7/17/15.
6+
// Copyright © 2015 Branch Metrics. All rights reserved.
7+
//
8+
9+
#import "Branch.h"
10+
11+
@interface BNCContentDiscoveryManager : NSObject
12+
13+
- (NSString *)spotlightIdentifierFromActivity:(NSUserActivity *)userActivity;
14+
- (NSString *)standardSpotlightIdentifierFromActivity:(NSUserActivity *)userActivity;
15+
16+
- (void)indexContentWithTitle:(NSString *)title description:(NSString *)description;
17+
18+
- (void)indexContentWithTitle:(NSString *)title description:(NSString *)description callback:(callbackWithUrl)callback;
19+
20+
- (void)indexContentWithTitle:(NSString *)title description:(NSString *)description publiclyIndexable:(BOOL)publiclyIndexable callback:(callbackWithUrl)callback;
21+
22+
- (void)indexContentWithTitle:(NSString *)title description:(NSString *)description publiclyIndexable:(BOOL)publiclyIndexable type:(NSString *)type callback:(callbackWithUrl)callback;
23+
24+
- (void)indexContentWithTitle:(NSString *)title description:(NSString *)description publiclyIndexable:(BOOL)publiclyIndexable type:(NSString *)type thumbnailUrl:(NSURL *)thumbnailUrl callback:(callbackWithUrl)callback;
25+
26+
- (void)indexContentWithTitle:(NSString *)title description:(NSString *)description publiclyIndexable:(BOOL)publiclyIndexable type:(NSString *)type thumbnailUrl:(NSURL *)thumbnailUrl keywords:(NSSet *)keywords callback:(callbackWithUrl)callback;
27+
28+
- (void)indexContentWithTitle:(NSString *)title description:(NSString *)description publiclyIndexable:(BOOL)publiclyIndexable type:(NSString *)type thumbnailUrl:(NSURL *)thumbnailUrl keywords:(NSSet *)keywords;
29+
30+
- (void)indexContentWithTitle:(NSString *)title description:(NSString *)description publiclyIndexable:(BOOL)publiclyIndexable type:(NSString *)type thumbnailUrl:(NSURL *)thumbnailUrl keywords:(NSSet *)keywords userInfo:(NSDictionary *)userInfo;
31+
32+
- (void)indexContentWithTitle:(NSString *)title description:(NSString *)description publiclyIndexable:(BOOL)publiclyIndexable thumbnailUrl:(NSURL *)thumbnailUrl userInfo:(NSDictionary *)userInfo;
33+
34+
- (void)indexContentWithTitle:(NSString *)title description:(NSString *)description publiclyIndexable:(BOOL)publiclyIndexable thumbnailUrl:(NSURL *)thumbnailUrl keywords:(NSSet *)keywords userInfo:(NSDictionary *)userInfo;
35+
36+
- (void)indexContentWithTitle:(NSString *)title description:(NSString *)description publiclyIndexable:(BOOL)publiclyIndexable type:(NSString *)type thumbnailUrl:(NSURL *)thumbnailUrl keywords:(NSSet *)keywords userInfo:(NSDictionary *)userInfo callback:(callbackWithUrl)callback;
37+
38+
- (void)indexContentWithTitle:(NSString *)title description:(NSString *)description publiclyIndexable:(BOOL)publiclyIndexable type:(NSString *)type thumbnailUrl:(NSURL *)thumbnailUrl keywords:(NSSet *)keywords userInfo:(NSDictionary *)userInfo expirationDate:(NSDate *)expirationDate callback:(callbackWithUrl)callback;
39+
40+
41+
42+
/* This one has a different callback, which includes the spotlightIdentifier, and requires a different signature
43+
It cannot be part of the stack of method signatures above, because of the different callback type.*/
44+
- (void)indexContentWithTitle:(NSString *)title description:(NSString *)description publiclyIndexable:(BOOL)publiclyIndexable type:(NSString *)type thumbnailUrl:(NSURL *)thumbnailUrl keywords:(NSSet *)keywords userInfo:(NSDictionary *)userInfo expirationDate:(NSDate *)expirationDate callback:(callbackWithUrl)callback spotlightCallback:(callbackWithUrlAndSpotlightIdentifier)spotlightCallback;
45+
46+
47+
@end

0 commit comments

Comments
 (0)