Structures

The following structures are available globally.

  • The ExternalLink type represents an external resource related to some taxon (a LinkOut item in the NCBI’s terminology).

    See more

    Declaration

    Swift

    public struct ExternalLink
  • The LineageAlignment struct parses the contents of a lineage tree and aligns its nodes in a succession of columns 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 more

    Declaration

    Swift

    public struct LineageAlignment
  • A wrapper containing metadata related to a specific taxon. Generated by the Taxonomy.retrieveWikipediaAbstract method when a match is found on Wikipedia servers and an extract could be retrieved from the article.

    See more

    Declaration

    Swift

    public struct WikipediaResult
  • A struct used to transform Locale language codes into the different localized Wikipedia subdomains.

    See more

    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 more

    Declaration

    Swift

    public struct WikipediaAttributedExtract