Structures
The following structures are available globally.
-
The
See moreExternalLink
type represents an external resource related to some taxon (a LinkOut item in the NCBI’s terminology).Declaration
Swift
public struct ExternalLink
-
The
LineageAlignment
struct parses the contents of a lineage tree and aligns its nodes in a succession ofcolumns
based on each node’s rank in a way in which all the nodes with the same rank end up in the same column, while the ones without rank are placed in columns between the closest ranked columns.Once generated, the alignment can be used with various purposes, such as serving as a model to draw the tree in a view.
See moreDeclaration
Swift
public struct LineageAlignment
-
The
See moreTaxon
struct represents a record downloaded from the NCBI’s Taxonomy database.Declaration
Swift
public struct Taxon : TaxonRepresenting
-
The
See moreTaxonLineageItem
is a value that describes an element from a retrieved taxon’s lineage.Declaration
Swift
public struct TaxonLineageItem : TaxonRepresenting, Decodable
-
A wrapper containing metadata related to a specific taxon. Generated by the
See moreTaxonomy.retrieveWikipediaAbstract
method when a match is found on Wikipedia servers and an extract could be retrieved from the article.Declaration
Swift
public struct WikipediaResult
-
A struct used to transform
See moreLocale
language codes into the different localized Wikipedia subdomains.Declaration
Swift
public struct WikipediaLanguage
-
A struct used to hold a Wikipedia rich text extract. It can be used to generate NSAttributedString representations from it.
See moreDeclaration
Swift
public struct WikipediaAttributedExtract