【发布时间】:2016-02-12 11:00:22
【问题描述】:
我注意到比在 OSX 中,NSTextView 不能作为弱引用(如果你尝试链接它弱,你会得到)
Cannot form weak reference to instance (0x600000122da0) of class NSTextView. It is possible that this object was over-released, or is in the process of deallocation.
默认情况下,XCode 的出口也被创建为分配
为什么不能有弱引用?可能是什么原因?
【问题讨论】:
-
this question 可能就是您要找的。span>
标签: objective-c macos cocoa nstextview