Structures
The following structures are available globally.
-
The
See moreExternalLinktype represents an external resource related to some taxon (a LinkOut item in the NCBI’s terminology).Declaration
Swift
public struct ExternalLink
-
The
LineageAlignmentstruct 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 moreTaxonstruct represents a record downloaded from the NCBI’s Taxonomy database.Declaration
Swift
public struct Taxon : TaxonRepresenting
-
The
See moreTaxonLineageItemis 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.retrieveWikipediaAbstractmethod 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 moreLocalelanguage 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
View on GitHub
Install in Dash
Structures Reference