look at the description below

“@property NSMutableArray *arrayOfDirections;” now holds the directions
in string form. any direction that gets a polyline has an entry in this
array. all we need to do is pop the contents of this array somewhere
and we are onto the next step