wxd

Warning: Type 'id<AGSLayerView>' does not conform to the 'NSCoding' protocol

Discussion created by wxd on Nov 16, 2010
Latest reply on Nov 23, 2010 by DGoyal-esristaff
We have finally moved to the final release of the API library.

Our application still works fine, without any errors; but the compiler produces the following warnings:
Type 'id<AGSLayerView>' does not conform to the 'NSCoding' protocol, pointing at signature of two AGSMapViewDelegate methods,
mapView:didLoadLayerForLayerView: and mapView:failedLoadingLayerForLayerView:withError:.

Again, everything seems to be working fine, but I am generally suspicious of any warnings and prefer to have an explanation. Maybe, I should perform some additional project setup.

Some system information:

  • XCode version - 3.2.3 (1688)

  • Base SDK - 3.2

  • Target device - iPad

I tried searching, but found nothing. Sorry, if this has already been discussed.

Outcomes