gpt4 book ai didi

objective-c - "sending a message to nil"是什么意思,为什么是特例?

转载 作者:太空狗 更新时间:2023-10-30 03:46:18 24 4
gpt4 key购买 nike

<分区>

我刚开始阅读 Objective-C 教程,其中有一节是关于“向 nil 发送消息”:

There are several patterns in Cocoa that take advantage of this fact. The value returned from a message to nil may also be valid:

这是什么意思?我似乎跟不上它。

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