Documentation Language: Swift

Method

getEAnnotation(source:)

Retrieves an annotation by its source URI.

func getEAnnotation(source: String) -> EAnnotation?

Parameters

source

The source URI to search for.

Return Value

The first annotation matching the source, or nil if not found.

Discussion

This convenience method searches the eAnnotations array for an annotation with the specified source URI.