MaplyObjectLoaderReturn
Objective-C
@interface MaplyObjectLoaderReturn : MaplyLoaderReturn
Swift
class MaplyObjectLoaderReturn : MaplyLoaderReturn
This version of the loader return is used by the MaplyQuadPagingLoader.
The Object pager is only expecting Component Objects and will manage those as things are loaded in and out.
-
Initialize with the loader this will be attached to
Declaration
Objective-C
- (id _Nonnull)initWithLoader:(MaplyQuadLoaderBase *_Nonnull)loader;
Swift
init(loader: MaplyQuadLoaderBase)
-
If any component objects are associated with the tile, these are them. They need to start disabled. The system will enable and delete them when it is time.
Declaration
Objective-C
- (void)addCompObjs:(NSArray<MaplyComponentObject *> *_Nonnull)compObjs;
Swift
func addCompObjs(_ compObjs: [MaplyComponentObject])
-
Add a component object to the collection if it’s non null
Declaration
Objective-C
- (void)addCompObj:(MaplyComponentObject *_Nullable)compObj;
Swift
func addCompObj(_ compObj: MaplyComponentObject?)
-
Return an array of component objects that were added to this loader return
Declaration
Objective-C
- (NSArray<MaplyComponentObject *> *_Nonnull)getCompObjs;
Swift
func getCompObjs() -> [MaplyComponentObject]