My question, is very simple I think, but I can't find any direct info to confirm or deny.
My question is:
When enumeration thru SKNodes, should they be treated delicately using:
SKNode *someTreeNode;
NSArray *someArray = [someTreeNode children];
[someArray enumerateObjectsUsingBlock:^(id _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
//blah blah
}];
Like NSMutableArray?
If you are using GCD and manipulating the SKNode (someTreeNode), i.e. adding and removing parent? (in addition I could use dispatch barriers to block while loading someArray.
But all in all the real lowest form of this question is:
Is SKNode thread safe like NSArray, or is it unsafe like NSMutableArray?
My instinct tells me it's unsafe but like I said I cannot confirm or deny this...
Thanks