//
//  XTCallOnMainThreadCounter.m
//  XTads
//
//  Created by Rune Berg on 28/08/2017.
//  Copyright © 2017 Rune Berg. All rights reserved.
//

#import "XTCallOnMainThreadCounter.h"


@implementation XTCallOnMainThreadCounter

static NSUInteger theCount;

+ (void)initialize
{
	theCount = 0;
}

+ (void)count
{
	theCount += 1;
}

+ (NSUInteger)getCount
{
	return theCount;
}

+ (NSString *)getCountString
{
	NSString *res = [NSString stringWithFormat:@"%lu", theCount];
	return res;
}

@end
