I have a tableView didSelectRowAt method which I want to set a boolean variable with when a certain row is tapped. However the variable (showNext) is in a separate .h view controller. What would be the correct way of accessing this variable? And what imports do I need? Presumably the header itself?
Thanks!
EDIT: I don't think this is a duplicate as I am importing a .h file to a Swift file, however the other examples are obj-c only. I am unable to import the .h file as I have dependencies that must be compiled in C++, meaning putting them in the bridging header triggers compile time errors.