gpt4 book ai didi

iphone - NSMutableDictionary 键值

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

NSMutableDictionary 的键值只能是字符串是真的吗?

我尝试使用对象,但收到警告。

最佳答案

来自docs :

In general, a key can be any object (provided that it conforms to the NSCopying protocol—see below), but note that when using key-value coding the key must be a string (see Key-Value Coding Fundamentals).

你收到了什么警告?

关于iphone - NSMutableDictionary 键值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1983822/

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