init
TypeScriptstatic init(title: string, pointsOfInterest: Array<CPPointOfInterest>, selectedIndex: number): Promise<CPPointOfInterestTemplate>Swift declarationinit(title: String, pointsOfInterest: [CPPointOfInterest], selectedIndex: Int)class · iOS 14.0+ · SDK 27.1
@MainActor class CPPointOfInterestTemplatestatic init(title: string, pointsOfInterest: Array<CPPointOfInterest>, selectedIndex: number): Promise<CPPointOfInterestTemplate>Swift declarationinit(title: String, pointsOfInterest: [CPPointOfInterest], selectedIndex: Int)setPointsOfInterest(pointsOfInterest: Array<CPPointOfInterest>, selectedIndex: number): Promise<void>Swift declarationfunc setPointsOfInterest(_ pointsOfInterest: [CPPointOfInterest], selectedIndex: Int)get pointOfInterestDelegate(): Promise<(SDKHandle) | null>Swift declarationweak var pointOfInterestDelegate: (any CPPointOfInterestTemplateDelegate)? { get set }setPointOfInterestDelegate(value?: (Implements<CPPointOfInterestTemplateDelegate> | SDKHandle) | null): Promise<void>Swift declarationweak var pointOfInterestDelegate: (any CPPointOfInterestTemplateDelegate)? { get set }get pointsOfInterest(): Promise<Array<CPPointOfInterest>>Swift declarationvar pointsOfInterest: [CPPointOfInterest] { get }get selectedIndex(): Promise<number>Swift declarationvar selectedIndex: Int { get set }setSelectedIndex(value: number): Promise<void>Swift declarationvar selectedIndex: Int { get set }get title(): Promise<string>Swift declarationvar title: String { get set }setTitle(value: string): Promise<void>Swift declarationvar title: String { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CPPointOfInterestTemplate.init()
inherited init: cannot prove legal (class declares 1 custom initializer)