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.
有没有什么工具可以读取一个xib文件并吐出对应的loadView方法?
我想用 xib 创建视图,然后将其转换为 Objective C 代码并从那时起使用它。
您可以在 github 上找到一个名为 nib2objc 的工具: https ://github.com/akosma/nib2objc