-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Edward Smith
committed
Dec 29, 2017
1 parent
a38646f
commit 4d74797
Showing
4 changed files
with
56 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// | ||
// BranchView.h | ||
// Branch-TestBed | ||
// | ||
// Created by Sojan P.R. on 3/4/16. | ||
// Copyright © 2016 Branch Metrics. All rights reserved. | ||
// | ||
|
||
#if __has_feature(modules) | ||
@import Foundation; | ||
#else | ||
#import <Foundation/Foundation.h> | ||
#endif | ||
|
||
@interface BranchView : NSObject | ||
//-------- properties-------------------// | ||
/** | ||
Unique ID for this Branch view | ||
*/ | ||
@property (strong, nonatomic) NSString *branchViewID; | ||
/** | ||
User or Branch action associated with the Branch view | ||
*/ | ||
@property (strong, nonatomic) NSString *branchViewAction; | ||
/** | ||
Number of times this Branch view can be used | ||
*/ | ||
@property (nonatomic) NSInteger numOfUse; | ||
/** | ||
Web url to for showing html content for the Branch View | ||
*/ | ||
@property (strong, nonatomic) NSString *webUrl; | ||
/** | ||
Html content for loading the web view | ||
*/ | ||
@property (strong, nonatomic) NSString *webHtml; | ||
|
||
//---------- Methods---------------// | ||
/** | ||
Initialises Branch View with the given dictionary | ||
*/ | ||
- (id)initWithBranchView:(NSDictionary *)branchViewDict andActionName:(NSString *)actionName; | ||
/** | ||
Check Branch view for usage limit | ||
*/ | ||
- (BOOL)isAvailable; | ||
/** | ||
update the usage count for this Branch view | ||
*/ | ||
- (void)updateUsageCount; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#checksum for Branch-iOS-SDK found at https://s3-us-west-1.amazonaws.com/branchhost/Branch-iOS-SDK.zip | ||
1f54deb4a0da9c4c94c256b4ceed8bffd91d74fe Branch-iOS-SDK.zip | ||
9910655b7a0ece0f6ce0a004bde6902d9277208f Branch-iOS-SDK.zip | ||
#checksum for Branch-iOS-TestBed found at https://s3-us-west-1.amazonaws.com/branchhost/Branch-iOS-TestBed.zip | ||
9232b0c782d2061ab41496daa7b1f0c26b03d078 Branch-iOS-TestBed.zip | ||
7ee35f0af6ad3da68f44a82e662904f576cd0a5a Branch-iOS-TestBed.zip |