MMKBaseMapObjectCollection
@interface MMKBaseMapObjectCollection : MMKMapObject |
Undocumented
Summary
Instance methods
- (void)traverseWithMapObjectVisitor: |
- (void)removeWithMapObject:(nonnull MMKMapObject *)mapObject; |
- (void)clear; |
- (void)addListenerWithCollectionListener: |
- (void)removeListenerWithCollectionListener: |
Instance methods
traverseWithMapObjectVisitor:
- (void)traverseWithMapObjectVisitor: |
Traverses through the collection with a visitor object. Used for iteration over map objects in the collection.
The class does not retain the object in the 'mapObjectVisitor' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.
removeWithMapObject:
- (void)removeWithMapObject:(nonnull MMKMapObject *)mapObject; |
Removes the given map object from the collection.
clear
- (void)clear; |
Removes all map objects from the collection.
addListenerWithCollectionListener:
- (void)addListenerWithCollectionListener: |
Adds a listener to track notifications of changes to the collection.
The class does not retain the object in the 'collectionListener' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.
removeListenerWithCollectionListener:
- (void)removeListenerWithCollectionListener: |
Removes a listener.