I can see the DrawingTool struct (e.g. MyNameSpace.DrawingTool is a known type). But I can't see any of the variables that are supposed to be defined that are analogous to the values. I can't find them in the current Swift module space, or MyNameSpace. kNoTool, MyNameSpace.kNoTool and even MyNameSpace.DrawingTool.kNoTool are not found.
Is there something basic I'm missing? The documentation doesn't include example usage from the Swift side. But I'm assuming that the global variables should be trivial to access.
It does! But this is an existing codebase that already has a defined API used elsewhere. enum class would be an improvement - but that change would break other consumers of the API. I'm trying to use Swift while avoiding that larger refactor.