gpt4 book ai didi

objective-c - 'atomic' 和非原子有什么区别?

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

<分区>

Possible Duplicate:
Atomic vs nonatomic properties

我只想知道这两行代码有什么区别:

@property(nonatomic, retain) NSString *str;

@property(atomic, retain) NSString *str;

谢谢,问候,tek3

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