gpt4 book ai didi

iphone - -ObjC 链接器标志有什么作用?

转载 作者:IT老高 更新时间:2023-10-28 12:19:00 24 4
gpt4 key购买 nike

我有一个可以使用和不使用链接器标志的应用程序。但是,如果没有链接器标志,我在向 View 中添加数据时会得到非常不同的行为。

最佳答案

This flag causes the linker to load every object file in the library that defines an Objective-C class or category. While this option will typically result in a larger executable (due to additional object code loaded into the application), it will allow the successful creation of effective Objective-C static libraries that contain categories on existing classes.

从此Technical Q&A

关于iphone - -ObjC 链接器标志有什么作用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6629979/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com