johann / google-api-objectivec-client

Automatically exported from code.google.com/p/google-api-objectivec-client
0 stars 0 forks source link

classForAdditionalProperties for GTLCalendarEventExtendedPropertiesShared and GTLCalendarEventExtendedPropertiesPrivate #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Additional properties for calendar events are strings. But the inherited 
classForAdditionalProperties of GTLCalendarEventExtendedPropertiesShared and 
GTLCalendarEventExtendedPropertiesPrivate is GTLObject. It causes runtime 
warnings like this:
GTLRuntimeCommon: jsonFromAPIObject expected class 'GTLObject' instead got 
'__NSCFString'

Solution:
Override -classForAdditionalProperties in 
GTLCalendarEventExtendedPropertiesShared and 
GTLCalendarEventExtendedPropertiesPrivate to return [NSString class].

Original issue reported on code.google.com by an0...@gmail.com on 9 May 2012 at 10:30

GoogleCodeExporter commented 9 years ago
Investigating.

Original comment by grobb...@google.com on 10 May 2012 at 2:09

GoogleCodeExporter commented 9 years ago
We've made some changes to the library to improve this.

http://code.google.com/p/google-api-objectivec-client/source/detail?r=155

Please update your library sources with subversion.

Original comment by grobb...@google.com on 11 May 2012 at 1:46