I am working on mapView project. My project will take only 5 annotations on the map. Once new annotation will be added, then first annotation will be drop. I am keeping all annotations latitude and longtitude into NSMutableStringArray. Is there any short way to implement this round robin fashion. First in last out.
for example my nsmutable string:
[12.99, 35.97: 35.85,94.53: 45.44,98.91]
How could I delete first object (each string separated by column operator :) from the string to acquire the following:
[35.85,94.53: 45.44,98.91]