Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #19 from chongsuhpark/master
Browse files Browse the repository at this point in the history
Release 3.2.4
  • Loading branch information
blavid authored Jan 27, 2017
2 parents f1b9e4a + af75f7a commit f32fcb4
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 9 deletions.
1 change: 1 addition & 0 deletions Headers/OptimizeSDK.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
#import "WTOptimizeLabel.h"
#import "WTOptimizeTextField.h"
#import "WTOptimizeTextView.h"
#import "WTOptimizeUIView.h"

#endif
6 changes: 5 additions & 1 deletion Headers/WTMultivariateOptimizeFactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,11 @@ extern NSString * const kWTFactorKeyImageInsetBottom;

-(void)resetKeyPaths:(id)object ToDefault: (id)objectWithDefaultStyle;

+(WTMultivariateOptimizeFactor *) mergeFactors:(NSArray *) factorsList;
+(WTMultivariateOptimizeFactor *) mergeFactors:(NSArray *) factorsList forView:(UIView*) view;

/**
* Consturct the merged factors information required for 'pageView' event
*/
@property (strong, nonatomic) NSMutableDictionary *mergeInfo;

@end
3 changes: 1 addition & 2 deletions Headers/WTOptimizeTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//

#import <Foundation/Foundation.h>
#import "WTDatabase.h"

@class WTOptimizeFactor;
@class WTOptimizeProject;
Expand All @@ -25,7 +24,7 @@
@property (nonatomic) NSTimeInterval expiration;

- (WTOptimizeFactor *) factorForIdentifier:(NSString *)identifier;
+(void) cleanExpiredTests:(WTDatabase *)database;
+(void) cleanExpiredTests;

/**
* Returns true if the test is expired (as defined in the Optimize test).
Expand Down
22 changes: 22 additions & 0 deletions Headers/WTOptimizeUIView.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//
// WTOptimizeUIView.h
// Webtrends-SDK
//
// Created by Taron Qalashyan on 10/11/16.
// Copyright © 2016 Webtrends. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "WTOptimizeFactor.h"

@protocol WTOptimizeUIView

/**
* The optimize identifier asscoiated with this imageview. Identifiers can identify one set of visual instructions per app, and can be thought of similarly to css classes.
*/
@property (strong, nonatomic) IBInspectable NSString *wtIdentifier;

@optional
- (void)applyTest;

@end
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
© 2015 Webtrends Inc. and affiliates. This SDK is solely for use by Webtrends clients and is subject to the terms of the Master Subscription Agreement, Terms of Subscription Service or your other applicable agreement with Webtrends. All other use is prohibited.
© 2017 Webtrends Inc. and affiliates. This SDK is solely for use by Webtrends clients and is subject to the terms of the Master Subscription Agreement, Terms of Subscription Service or your other applicable agreement with Webtrends. All other use is prohibited.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
The Webtrends SDK is a analytics library for iOS. This guide will walk you through the initial setup process, from integrating the SDK with your project, to sending events to Webtrends.

###Release Notes
Version 3.2.3 of the Webtrends Mobile Lib includes a bug fix for misreporting the Webtrends Mobile SDK version in the wt.sdk_v parameter and the user-agent header. For more details, see [the Webtrends Optimize page][Optimize] for more information. For details on implementing Optimize in your iOS application, please see [our help documentation][help].
The Webtrends iOS SDK 3.2.4 now supports the ability to deliver a test or target to the first screen an app user sees after launching the app. In addition, the ability to add a load progress indicator was added to the SDK. You can now configure the timeout value for the progress indicator as well. For users wanting more manual control of the Optimize test data cached in the SDK, the ability to manually flush the data cache and set cache refresh values has been provided. Lastly, partial test content rendering has been added to the SDK. You can now track which parts of a test were viewed and use that data to generate Infinity reports. More detail documentation is available in the [help] pages on what parameters are sent and what values they will contain.

For more details, see [the Webtrends Optimize page][Optimize] for more information. For details on implementing Optimize in your iOS application, please see [our help documentation][help].


#Installation
Expand Down
7 changes: 3 additions & 4 deletions Webtrends-SDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ Pod::Spec.new do |s|
"John Park" => "[email protected]",
"Claudine Morales" => "[email protected]"}

s.ios.deployment_target = "7.0"
s.ios.deployment_target = "8.0"
s.ios.frameworks = "Foundation", "UIKit", "SystemConfiguration", "Security", "CoreTelephony", "WebKit"

s.source = { :git => "https://github.com/webtrends/ios-sdk.git", :tag => "3.2.4" }
s.source = { :git => "https://github.com/webtrends/ios-sdk.git", :tag => s.version.to_s }

s.subspec 'Watch' do |watch|
watch.source_files = "WatchHeaders", "WatchHeaders/**/*.h"
watch.vendored_library = "libWebtrendsWatchSDK.a"
watch.watchos.deployment_target = "2.0"
watch.ios.deployment_target = "7.0"
end

s.subspec 'Core' do |core|
Expand All @@ -34,7 +33,7 @@ Pod::Spec.new do |s|
optimize.source_files = "Headers", "Headers/**/*.h"
optimize.exclude_files = "Headers/Exclude"
optimize.resources = "SharedAssets/*"

optimize.dependency 'Webtrends-SDK/Core', '~>' + s.version.to_s
optimize.libraries = "sqlite3" # sqlite3 for db
optimize.vendored_library = "libOptimizeSDK.a"
end
Expand Down
Binary file modified libOptimizeSDK.a
Binary file not shown.
Binary file modified libWebtrendsSDK.a
Binary file not shown.
Binary file modified libWebtrendsWatchSDK.a
Binary file not shown.

0 comments on commit f32fcb4

Please sign in to comment.