AnnotationLoadingStrategy
public protocol AnnotationLoadingStrategy
Protocol which defines the data a strategy needs to provide a [ScreenAnnotation]
-
associated type of this protocol needs to conform to
CardItemModel
Declaration
Swift
associatedtype CardItem : CardItemModel
-
cards content to be populated
Declaration
Swift
var cardContents: [CardItem] { get }
-
load screen annotations and guideImage synchronously
Declaration
Swift
func load(with manager: ARManager) throws -> (annotations: [ScreenAnnotation<CardItem>], guideImage: UIImage?)