iphone GData 电子表格无法识别的选择器
我已经使用 MAC 的 GData 电子表格代码编写了相应的 iPhone 版本(相同的代码),但抛出了异常: [GDataEntryBase worksheetsFeedURL]:无法识别的选择器发送到实例... 在我看来,当从电子表格提要中获取条目时,我得到了一组 GDataEntryBase (iPhone 版本)而不是 GDataEntrySpreadsheet。 任何帮助将不胜感激!
谢谢。
I've used the GData spreadsheets code for MAC to write a corresponding iPhone version (the same code), but I get a exception thrown:
[GDataEntryBase worksheetsFeedURL]: unrecognized selector sent to instance ...
It appears to me that when fetching the entries from the spreadsheet feed, I got a array of GDataEntryBase (iPhone version) instead of GDataEntrySpreadsheet.
Any help will be highly appreciated!
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当所需的子类未编译并链接到应用程序中时,将创建基类。
确保为您的项目设置了 -ObjC 链接器标志,并且为包含电子表格类的目标定义了
-DGDATA_REQUIRE_SERVICE_INCLUDES=1
和-DGDATA_INCLUDE_SPREADSHEET_SERVICE=1
。 (在GData.xcodeproj > Build Settings > Other Linker Flags
中)这些内容在 BuildingTheLibrary 项目的 wiki 页面。
The base class is created when the needed subclasses aren't compiled and linked into the application.
Be sure the -ObjC linker flag is set for your project, and that
-DGDATA_REQUIRE_SERVICE_INCLUDES=1
and-DGDATA_INCLUDE_SPREADSHEET_SERVICE=1
are defined for the target that includes the spreadsheet classes. ( inGData.xcodeproj > Build Settings > Other Linker Flags
)These are discussed on the BuildingTheLibrary wiki page for the project.