Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个工作区。我有4个项目。像 A、B、C 和 D。A 有 appdelegate 和其他。其余项目只有课程。我想在其他类中使用 A 类 appdelegate 对象。所以请帮助我,如何做到这一点?
为了在另一个目标中查看文件 在检查器区域中选择文件并选择复选框。此外,您可以open在 swift 中使用不仅仅是公开可用的关键字。
open
open class func thisIsGlobalyVisibleFunction() -> String { return "global" }