[英]Parse.com PFQueryTableViewController with Storyboard
I'm trying to get PFQueryTableViewController setup with a Storyboard and I'm following this tutorial , specifically section 2. Everything works when I use the initWithStyle method but when I try the Storyboard method I get: 'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key: classname)'. 我正在尝试使用Storyboard获得PFQueryTableViewController的设置,并且正在按照本教程 (特别是第2部分)进行操作。当我使用initWithStyle方法时,一切正常,但是当我尝试使用Storyboard方法时,我得到:'NSInvalidArgumentException',原因:'** * setObjectForKey:对象不能为nil(键:类名)。
Here's my MasterViewController.h: 这是我的MasterViewController.h:
#import <Parse/Parse.h>
@interface MasterViewController : PFQueryTableViewController
@end
Here's a shot of my Identity Inspector: 这是我的身份检查器的照片:
Thanks for your help. 谢谢你的帮助。
SOLVED. 解决了。 The problem was that the Xcode cache was pulling from older projects with the same name. 问题是Xcode缓存是从同名的旧项目中提取的。 Clearing the cache solved all of my problems. 清除缓存解决了我所有的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.