I am trying to # import the Objective-C class into my Project-Bridging-Header.h. The problem is that the same class has #import for my Project-Swift.h file. So - I get a compilation error.
How can i solve this?
You can make the following listing declaration:
enum myEnum;
But this is not very impressive . The prevailing wisdom is to identify any cross-language transitions in the context of Ojective-C.
Source: https://habr.com/ru/post/977480/More articles:Create a rectangle rectangle with a transparent circle using only CSS - htmlHow to parse Python 2.x with Python 3.x ast module? - pythonIOS 8 NSLocationAlwaysUsageDescription own translation - iosTopojson - Arc for Singapore and Hong Kong - data-visualizationerror in g ++ 4.8.2 when initializing the argument list method by default - c ++Golang - Unexpected behavior with multiple tasks - goChanging the look of a popover created with popper segue on OS X - cocoaAligning the embedded block center - htmlPrerequisites for Learning Assembly Language - assemblyhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/977485/how-to-authenticate-by-access-token-in-code-using-python-social-auth&usg=ALkJrhhQbjPjuxYWTcOxOl-Z7ZAZmCK2JgAll Articles