In a current iOS app I am using this perform selector approach:
[self performSelector:@selector(doSomething)
onThread:myThread
withObject:nil
waitUntilDone:NO
modes:[NSArray arrayWithObject:NSRunLoopCommonModes]];
I am not sure how to make a selector run on a specific thread in swift. Any suggestions?