I'm building a swift based project and importing the objective C files from the unbounded tracker sample file. I have my bridging header set up and all seems to be working fine when importing the .h files from the sample project except when importing TrackerThread.h (also get errors when importing ViewController.h which points to the errors in the TrackerThread.h)
If I don't #import the TrackerThread.h file the project builds just fine but importing it throws "Expected ';' at end of declaration list" for every line in the struct TrackerUpdate and then "Expected a type" for this line:
-(TrackerUpdate) waitForUpdateMoreRecentThan:(NSTimeInterval)timestamp maxWaitTimeSeconds:(double)waitTime;
Is there any reason I can't import TrackerThread.h into my swift file? Or is there something I'll need to change in order to do so?