Skip to content

Commit

Permalink
chore(sdk): update copyright year and update tag
Browse files Browse the repository at this point in the history
  • Loading branch information
softvar authored and Varun Malhotra committed Jun 15, 2022
1 parent 859a854 commit 647c09c
Show file tree
Hide file tree
Showing 67 changed files with 96 additions and 102 deletions.
2 changes: 1 addition & 1 deletion Demo/VWO Demo/APIKeyManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO Demo
//
// Created by Kaunteya Suryawanshi on 24/07/18.
// Copyright © 2018 Wingify. All rights reserved.
// Copyright © 2018-2022 Wingify. All rights reserved.
//

import UIKit
Expand Down
2 changes: 1 addition & 1 deletion Demo/VWO Demo/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO Demo
//
// Created by Kaunteya Suryawanshi on 29/09/17.
// Copyright © 2017 Wingify. All rights reserved.
// Copyright © 2017-2022 Wingify. All rights reserved.
//

import UIKit
Expand Down
4 changes: 2 additions & 2 deletions Demo/VWO Demo/Extras.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWODemoApp
//
// Created by Kaunteya Suryawanshi on 28/07/17.
// Copyright © 2017 Wingify. All rights reserved.
// Copyright © 2017-2022 Wingify. All rights reserved.
//

import UIKit
Expand All @@ -30,7 +30,7 @@ extension UIStoryboard {
static var main: UIStoryboard {
return UIStoryboard(name: "Main", bundle: nil)
}

func instantiate<T>(identifier: String) -> T {
return UIStoryboard.main.instantiateViewController(withIdentifier: identifier) as! T
}
Expand Down
4 changes: 2 additions & 2 deletions Demo/VWO Demo/MenuVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWODemoApp
//
// Created by Kaunteya Suryawanshi on 25/07/17.
// Copyright © 2017 Wingify. All rights reserved.
// Copyright © 2017-2022 Wingify. All rights reserved.
//

import UIKit
Expand Down Expand Up @@ -53,7 +53,7 @@ extension MenuVC : UITableViewDelegate {
self.slideMenuController()?.closeLeft()
delegate?.selectedMenuItem(item: HamburgerMenuItem.all[indexPath.row])
}

func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 45
}
Expand Down
2 changes: 1 addition & 1 deletion Demo/VWO Demo/Sorting campaign/Phone.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO Demo
//
// Created by Kaunteya Suryawanshi on 17/07/18.
// Copyright © 2018 Wingify. All rights reserved.
// Copyright © 2018-2022 Wingify. All rights reserved.
//

import UIKit
Expand Down
3 changes: 1 addition & 2 deletions Demo/VWO Demo/Sorting campaign/PhoneCellView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWODemoApp
//
// Created by Kaunteya Suryawanshi on 25/07/17.
// Copyright © 2017 Wingify. All rights reserved.
// Copyright © 2017-2022 Wingify. All rights reserved.
//

import UIKit
Expand All @@ -14,4 +14,3 @@ class PhoneCellView: UITableViewCell {
@IBOutlet weak var priceLabelField: UILabel!
@IBOutlet weak var titleLabelField: UILabel!
}

6 changes: 3 additions & 3 deletions Demo/VWO Demo/Sorting campaign/PhoneDetailVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWODemoApp
//
// Created by Kaunteya Suryawanshi on 28/07/17.
// Copyright © 2017 Wingify. All rights reserved.
// Copyright © 2017-2022 Wingify. All rights reserved.
//

import UIKit
Expand All @@ -15,7 +15,7 @@ class PhoneDetailVC: UIViewController {
@IBOutlet weak var nameLabel: UILabel!
@IBOutlet weak var priceLabel: UILabel!
var phone: Phone!

override func viewWillAppear(_ animated: Bool) {
updateViewForPhone()
}
Expand All @@ -25,7 +25,7 @@ class PhoneDetailVC: UIViewController {
phoneImageHandle.image = phone.image
priceLabel.text = "$\(phone.price)"
}

@IBAction func actionBuy(_ sender: Any) {
}
}
2 changes: 1 addition & 1 deletion Demo/VWO Demo/Sorting campaign/PhoneListVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO Demo
//
// Created by Kaunteya Suryawanshi on 16/07/18.
// Copyright © 2018 Wingify. All rights reserved.
// Copyright © 2018-2022 Wingify. All rights reserved.
//

import UIKit
Expand Down
2 changes: 1 addition & 1 deletion Demo/VWO Demo/VWOManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO Demo
//
// Created by Kaunteya Suryawanshi on 24/07/18.
// Copyright © 2018 Wingify. All rights reserved.
// Copyright © 2018-2022 Wingify. All rights reserved.
//

import UIKit
Expand Down
2 changes: 1 addition & 1 deletion Demo/VWO Demo/Variable campaign/HouseCollectionCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO Demo
//
// Created by Kaunteya Suryawanshi on 16/07/18.
// Copyright © 2018 Wingify. All rights reserved.
// Copyright © 2018-2022 Wingify. All rights reserved.
//

import UIKit
Expand Down
2 changes: 1 addition & 1 deletion Demo/VWO Demo/Variable campaign/HouseCollectionVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO Demo
//
// Created by Kaunteya Suryawanshi on 16/07/18.
// Copyright © 2018 Wingify. All rights reserved.
// Copyright © 2018-2022 Wingify. All rights reserved.
//

import UIKit
Expand Down
12 changes: 6 additions & 6 deletions Demo/VWO DemoTests/VWO_DemoTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,34 @@
// VWO DemoTests
//
// Created by Kaunteya Suryawanshi on 29/09/17.
// Copyright © 2017 Wingify. All rights reserved.
// Copyright © 2017-2022 Wingify. All rights reserved.
//

import XCTest
@testable import VWO_Demo

class VWO_DemoTests: XCTestCase {

override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method in the class.
}

override func tearDown() {
// Put teardown code here. This method is called after the invocation of each test method in the class.
super.tearDown()
}

func testExample() {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}

func testPerformanceExample() {
// This is an example of a performance test case.
self.measure {
// Put the code you want to measure the time of here.
}
}

}
2 changes: 1 addition & 1 deletion Socket/VWOSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 26/03/18.
// Copyright © 2018 vwo. All rights reserved.
// Copyright © 2018-2022 vwo. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down
4 changes: 2 additions & 2 deletions Socket/VWOSocket.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 26/03/18.
// Copyright © 2018 vwo. All rights reserved.
// Copyright © 2018-2022 vwo. All rights reserved.
//

#import "VWOSocket.h"
Expand Down Expand Up @@ -32,7 +32,7 @@ - (void)launchWithAppKey:(NSString *)appKey userName:(NSString *)deviceName {
VWOLogWarning(@"Already connected or connecting");
return;
}

NSURL* url = [[NSURL alloc] initWithString:@"https://mobilepreview.vwo.com:443"];
manager = [[SocketManager alloc] initWithSocketURL:url config:nil];
SocketIOClient *socket = manager.defaultSocket;
Expand Down
4 changes: 2 additions & 2 deletions VWO.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "VWO"
s.version = "2.9.0"
s.version = "2.10.0"
s.summary = "VWO SDK for A/B Testing iOS apps."
s.description = "VWO iOS SDK enables you to A/B test mobile apps."
s.documentation_url = "http://developers.vwo.com/reference#ios-sdk-reference"
Expand All @@ -17,7 +17,7 @@ Pod::Spec.new do |s|
s.subspec 'Core' do |ss|
ss.source_files = 'VWO/**/*.{m,h}'
end

s.subspec 'All' do |ss|
ss.source_files = 'Socket/**/*.{m,h}', 'VWO/**/*.{m,h}'
ss.dependency 'Socket.IO-Client-Swift', '~> 15.2.0'
Expand Down
2 changes: 1 addition & 1 deletion VWO/Extensions/NSDate+VWO.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 17/11/17.
// Copyright © 2017 vwo. All rights reserved.
// Copyright © 2017-2022 vwo. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion VWO/Extensions/NSDate+VWO.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 17/11/17.
// Copyright © 2017 vwo. All rights reserved.
// Copyright © 2017-2022 vwo. All rights reserved.
//

#import "NSDate+VWO.h"
Expand Down
2 changes: 1 addition & 1 deletion VWO/Extensions/NSString+VWO.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 17/11/17.
// Copyright © 2017 vwo. All rights reserved.
// Copyright © 2017-2022 vwo. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion VWO/Extensions/NSString+VWO.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 17/11/17.
// Copyright © 2017 vwo. All rights reserved.
// Copyright © 2017-2022 vwo. All rights reserved.
//

#import "NSString+VWO.h"
Expand Down
2 changes: 1 addition & 1 deletion VWO/Extensions/NSURLSession+Synchronous.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 19/09/17.
// Copyright © 2017 vwo. All rights reserved.
// Copyright © 2017-2022 vwo. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion VWO/Extensions/NSURLSession+Synchronous.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 19/09/17.
// Copyright © 2017 vwo. All rights reserved.
// Copyright © 2017-2022 vwo. All rights reserved.
//

#import "NSURLSession+Synchronous.h"
Expand Down
2 changes: 1 addition & 1 deletion VWO/Models/VWOSegment.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 09/01/18.
// Copyright © 2018 vwo. All rights reserved.
// Copyright © 2018-2022 vwo. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down
4 changes: 2 additions & 2 deletions VWO/Models/VWOSegment.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 09/01/18.
// Copyright © 2018 vwo. All rights reserved.
// Copyright © 2018-2022 vwo. All rights reserved.
//

#import "VWOSegment.h"
Expand All @@ -29,7 +29,7 @@ - (nullable instancetype)initWithDictionary:(NSDictionary *)segmentDict {
self = [super init];
if (self) {
if (![self isJSONValid:segmentDict]) { return nil;}

_operator = [segmentDict[@"operator"] intValue];

// L-operand R- operand
Expand Down
2 changes: 1 addition & 1 deletion VWO/Models/VWOStack.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 09/01/18.
// Copyright © 2018 vwo. All rights reserved.
// Copyright © 2018-2022 vwo. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion VWO/Models/VWOStack.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 09/01/18.
// Copyright © 2018 vwo. All rights reserved.
// Copyright © 2018-2022 vwo. All rights reserved.
//

#import "VWOStack.h"
Expand Down
7 changes: 3 additions & 4 deletions VWO/VWO.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 08/09/17.
// Copyright © 2017 vwo. All rights reserved.
// Copyright © 2017-2022 vwo. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down Expand Up @@ -217,14 +217,13 @@ __deprecated_msg("Use objectForKey:defaultValue instead");
/**
Push the custom dimensions to the VWO servers.
* This will help to filter out the reports on VWO web-app.
@param customDimensionKey key for the custom dimension
@param customDimensionValue value corresponding to the given customDimensionKey
*/
+ (void) pushCustomDimension:(NSString *) customDimensionKey
withCustomDimensionValue:(NSString *) customDimensionValue NS_SWIFT_NAME(pushCustomDimension(customDimensionKey:customDimensionValue:));

@end
NS_ASSUME_NONNULL_END

6 changes: 3 additions & 3 deletions VWO/VWO.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 22/09/17.
// Copyright © 2017 vwo. All rights reserved.
// Copyright © 2017-2022 vwo. All rights reserved.
//

#import "VWO.h"
Expand Down Expand Up @@ -185,15 +185,15 @@ + (void)setCustomVariable:(NSString *)key withValue:(NSString *)value {
VWOController.shared.customVariables = customVariables;
});
}


+ (void)pushCustomDimension:(NSString *)customDimensionKey withCustomDimensionValue:(nonnull NSString *)customDimensionValue {
NSParameterAssert(customDimensionKey);
NSParameterAssert(customDimensionValue);
dispatch_barrier_async(VWOController.taskQueue, ^{
[VWOController.shared pushCustomDimension:customDimensionKey withCustomDimensionValue:customDimensionValue];
});

}

+ (NSString *)version {
Expand Down
2 changes: 1 addition & 1 deletion VWO/VWOCampaignFetcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 30/03/18.
// Copyright © 2018 vwo. All rights reserved.
// Copyright © 2018-2022 vwo. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion VWO/VWOCampaignFetcher.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// VWO
//
// Created by Kaunteya Suryawanshi on 30/03/18.
// Copyright © 2018 vwo. All rights reserved.
// Copyright © 2018-2022 vwo. All rights reserved.
//

#import "VWOCampaignFetcher.h"
Expand Down
Loading

0 comments on commit 647c09c

Please sign in to comment.