//
//  XTPair.m
//  XTads
//
//  Created by Rune Berg on 06/02/2021.
//  Copyright © 2021 Rune Berg. All rights reserved.
//

#import "XTPair.h"


@implementation XTPair

@synthesize firstObject = _firstObject;
@synthesize secondObject = _secondObject;

+ (instancetype)pairWithFirstObject:(NSObject *)firstObject secondObject:(NSObject *)secondObject
{
	XTPair *res = [[XTPair alloc] initWithFirstObject:firstObject secondObject:secondObject];
	return res;
}

- (instancetype)initWithFirstObject:(NSObject *)firstObject secondObject:(NSObject *)secondObject
{
	self = [super init];
	if (self) {
		_firstObject = firstObject;
		_secondObject = secondObject;
	}
	return self;
}

@end
