是的,可以set,只是在get的时候crash
解决方案 »
- QQ2010登陆界面如何实现
- sina微博
- 跪求XCODE开发上农历转公历的算法,以及计算两个农历日相差天数的算法
- Iphone开发,怎么获取文件的字节数,然后计算共有多少页
- 怎么找到storyboard中定义的viewcontroller
- objective-C 中为什么 const 变量的值可以被修改而不报错是
- iOS竖屏应用,但要在一个页面里横屏显示?找了很多方法都不起作用,求大神帮忙
- Organization Name和Organization Identify怎么写?
- 新手求助!关Thread 1: signal SIGABRT的错误
- 如何以编程的方式用root权限创建一个NSTask进程
- IOS开发 如果获取当前链接的wifi的加密方式啊!
- 如何开发类似美团一样的APP
奇怪了,你怎么可以设置上去呢?? NSDictionary *dict=[[NSDictionary alloc] init];
[dict setValue:@"dd" forKey:@"asf@dasf"];
我这么写根本运行不通过啊
reason: '[<__NSDictionaryI 0x7fbe81e0b8f0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key asf@dasf.'
奇怪了,你怎么可以设置上去呢?? NSDictionary *dict=[[NSDictionary alloc] init];
[dict setValue:@"dd" forKey:@"asf@dasf"];
我这么写根本运行不通过啊
reason: '[<__NSDictionaryI 0x7fbe81e0b8f0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key asf@dasf.'的确是非常奇怪,不过我的工程使用的是C++和Objective-C混合的mm文件,不知道会不会和这个有关,如果是,不知道算不算XCode的bug.
奇怪了,你怎么可以设置上去呢?? NSDictionary *dict=[[NSDictionary alloc] init];
[dict setValue:@"dd" forKey:@"asf@dasf"];
我这么写根本运行不通过啊
reason: '[<__NSDictionaryI 0x7fbe81e0b8f0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key asf@dasf.'的确是非常奇怪,不过我的工程使用的是C++和Objective-C混合的mm文件,不知道会不会和这个有关,如果是,不知道算不算XCode的bug.对了,有个情况忘记说了,我的Key并不是直接写的字符串,是通过StringWith...从C++的array中得到的,不会看到明文@字符的。