DSIconRenderingType

public enum DSIconRenderingType : String, CaseIterable

Type that defines the rendering image that defined the appearance of DSIcon.

The icon is representative of the image that will display. These images are not tinted, but DSIcon will define a standard tint. Some icons should not be tinted, including .case alert_warning.

Preferred:

let icon = DSIcon(renderingType: .beaker)

Not preferred:

let imageView = UIImageView()

imageView.image = UIImage(named: "anatomy-icon-beaker")
imageView.tintColor = .primaryBrandViolet

Enumeration Cases

  • No icon

    Declaration

    Swift

    case none
  • Lines and dots

    Declaration

    Swift

    case accums
  • Standard action menu icon

    Declaration

    Swift

    case action
  • Aetna shield

    Declaration

    Swift

    case aetna_preferred
  • Circle with right arrow inside

    Declaration

    Swift

    case arrow_in_circle
  • Lab beaker

    Declaration

    Swift

    case beaker
  • Bell

    Declaration

    Swift

    case bell
  • Brain

    Declaration

    Swift

    case brain
  • Box with an arrow pointing into it from the bottom

    Declaration

    Swift

    case browser
  • Flip calendar

    Declaration

    Swift

    case calendar
  • Vertical bar chart

    Declaration

    Swift

    case chart
  • Checkmark

    Declaration

    Swift

    case checkmark
  • Leftward facing arrowhead

    Declaration

    Swift

    case chevron_lg_left
  • Rightward facing arrowhead

    Declaration

    Swift

    case chevron_sm_right
  • Standard clear icon

    Declaration

    Swift

    case clear
  • Analog clock set to 12:20

    Declaration

    Swift

    case clock
  • X

    Declaration

    Swift

    case close
  • Standard compose icon

    Declaration

    Swift

    case compose
  • Back of a credit card with strip

    Declaration

    Swift

    case credit_card
  • Large cross mark

    Declaration

    Swift

    case cross
  • doc

    Generic document

    Declaration

    Swift

    case doc
  • Award ribbon with two tails

    Declaration

    Swift

    case double_ribbon
  • ear

    Right ear

    Declaration

    Swift

    case ear
  • Envelope with document in it

    Declaration

    Swift

    case envelope_doc
  • Envelope

    Declaration

    Swift

    case envelope
  • Filled circle with a horizontal line in the middle

    Declaration

    Swift

    case error
  • Box with an arrow pointing outward to the upper right

    Declaration

    Swift

    case exit
  • Eyeglasses

    Declaration

    Swift

    case eyeglasses
  • Hospital facade

    Declaration

    Swift

    case facility
  • Standard outlined filter icon

    Declaration

    Swift

    case filter_active
  • Standard filled filter icon

    Declaration

    Swift

    case filter_inactive
  • Antique portable storage device

    Declaration

    Swift

    case floppy_disk
  • Gear

    Declaration

    Swift

    case gear
  • Wrapped present

    Declaration

    Swift

    case gift
  • Clock in reverse

    Declaration

    Swift

    case history
  • ID card

    Declaration

    Swift

    case id_card
  • Filled circle with an i

    Declaration

    Swift

    case info
  • Empty circle

    Declaration

    Swift

    case incomplete
  • Classic light bulb

    Declaration

    Swift

    case lightbulb
  • Standard location arrow icon

    Declaration

    Swift

    case location
  • map

    Folded map

    Declaration

    Swift

    case map
  • Group of people

    Declaration

    Swift

    case medical_group
  • Loose semblence of a nurse

    Declaration

    Swift

    case nurse
  • Filled circle with a cross mark

    Declaration

    Swift

    case omit
  • Clippy without eyes

    Declaration

    Swift

    case paperclip
  • Person

    Declaration

    Swift

    case person
  • Mortar and pestle

    Declaration

    Swift

    case pharmacy
  • Classic phone receiver

    Declaration

    Swift

    case phone
  • Medicine bottle

    Declaration

    Swift

    case pill_bottle
  • Arrow facing right inside a circle

    Declaration

    Swift

    case play_media
  • A medical briefcase

    Declaration

    Swift

    case procedure_briefcase
  • Curved filled arrow to the left

    Declaration

    Swift

    case reply_lg_filled
  • Curved outlined arrow to the left

    Declaration

    Swift

    case reply_lg_outline
  • Curved smaller filled arrow to the left

    Declaration

    Swift

    case reply_sm_filled
  • Curved smaller outlined arrow to the left

    Declaration

    Swift

    case reply_sm_outline
  • Magnifying lens

    Declaration

    Swift

    case search
  • Mobile phone with a physical home button

    Declaration

    Swift

    case smartphone
  • Filled star

    Declaration

    Swift

    case star_filled
  • Half-filled star

    Declaration

    Swift

    case star_half
  • Outlined empty star

    Declaration

    Swift

    case star_outline
  • Doctor’s stethoscope

    Declaration

    Swift

    case stethoscope
  • Filled circle with a checkmark

    Declaration

    Swift

    case success
  • Home with a chimney

    Declaration

    Swift

    case tabbar_home
  • Heart with a bar chart inside

    Declaration

    Swift

    case tabbar_improve
  • Paper with follar signs

    Declaration

    Swift

    case tabbar_manage
  • Clipboard with a plus sign

    Declaration

    Swift

    case tabbar_records
  • Magnifying glass overt a plus sign

    Declaration

    Swift

    case tabbar_search
  • Disapproving

    Declaration

    Swift

    case thumbs_down
  • Approving

    Declaration

    Swift

    case thumbs_up
  • Tooth

    Declaration

    Swift

    case tooth
  • Prize trophy

    Declaration

    Swift

    case trophy
  • Open umbrella

    Declaration

    Swift

    case umbrella
  • Yellow-filled circle with an exclamation point (non-tintable)

    Declaration

    Swift

    case warning
  • Wristwatch

    Declaration

    Swift

    case watch

Static Accessors

  • Returns all the cases include in the enumeration in String form.

    Declaration

    Swift

    public static var allStrings: [String] { get }