AnsweredAssumed Answered

Copy a Graphic iOS

Question asked by bt_kdunaway on Jul 30, 2014
Latest reply on Jul 31, 2014 by apascual-esristaff

How can I make a copy of an existing graphic, make changes to the copy, and add it as a new feature.

 

AGSGraphic *newGraphic = oldGraphic;

 

newGraphic setAttributes(whatever) also changes the attributes of oldGraphic, because of the pointer to a pointer.

 

How do I just make a copy?

 

Thanks.

Outcomes