DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SWIFT
swift enum all cases
enum Animal: CaseIterable { case monkey case leon } Animal.allCases.forEach { print($0) }
PREVIOUS
NEXT
Tagged:
#swift
#enum
#cases
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit