我从ObjectiveC调用Swift函数在我的目标C代码中[delegate testFunc]; //myObjC.m:171:19: No known instance method for selector 'showCount:'
如果我不使用变量(使testfunction没有变量),它就能很好地工作我想是因为类型(Int和</em
当我使用'swift build‘进行编译时,我得到的错误是 filename "File.swift" used twice: '/Users/myself/directory1/File.swiftprivate declarations with the same name<unknown 在每个文件中,它们都使用directory1中的File.swift拥有不同的‘名称空间