Mutual call between swift and object-c

When dragging in the file, you will be prompted to generate a *****-bridging-Header.h

can call each other.


1. The files that are automatically dragged and generated will generate h files.

2. If you add it manually, you need to set the location of the file Objective-C Bridging Header


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325646823&siteId=291194637