19 lines
567 B
Objective-C
19 lines
567 B
Objective-C
// OCMockito by Jon Reid, https://qualitycoding.org/
|
|
// Copyright 2020 Quality Coding, Inc. See LICENSE.txt
|
|
|
|
#import "MKTParseCallStack.h"
|
|
|
|
#import "MKTCallStackElement.h"
|
|
|
|
|
|
NSArray<MKTCallStackElement *> *MKTParseCallStack(NSArray<NSString *> *callStackSymbols)
|
|
{
|
|
NSMutableArray<MKTCallStackElement *> *result = [[NSMutableArray alloc] init];
|
|
for (NSString *rawElement in callStackSymbols)
|
|
{
|
|
MKTCallStackElement *element = [[MKTCallStackElement alloc] initWithSymbols:rawElement];
|
|
[result addObject:element];
|
|
}
|
|
return result;
|
|
}
|