Skip to content

Enumerated Type

   

This is a sample code of how to write enum and enum.
Here, we created a class called “person” and registered Kabigon's name and hometown using enum.

  1. How to learn how to program iPhone apps
  2. Using UserDefaults to save parameters
  3. Selecting values using the UIPickerView
  4. Repeating at a certain time
  5. Create a collection view with custom layouts
  6. UDP communication in Swift and sending a string
  7. Removing @objc inference warnings when migrating from Swift3 to Swift4