#import #import #import @interface NSArray (MGLAdditions) - (std::vector)mgl_vector; /** Returns a string resulting from inserting a separator between each attributed string in the array */ - (NSAttributedString *)mgl_attributedComponentsJoinedByString:(NSString *)separator; /** Converts std::vector into an NSArray containing dictionary representations of coordinates with the following structure: [{"latitude": lat, "longitude": lng}] */ + (NSArray *)mgl_coordinatesFromCoordinates:(std::vector)coords; /** Converts the receiver into a std::vector. Receiver must conform to the following structure: [{"latitude": lat, "longitude": lng}] */ - (std::vector)mgl_coordinates; @end