Last active
March 6, 2021 11:10
-
-
Save thatswiftguy/079182af3e5d900642671b056e40c1c0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| enum WeatherStateImage : CaseIterable { | |
| static let sun = UIImage(systemName: "sun.min") | |
| static let cloud = UIImage(systemName: "cloud") | |
| static let rainingCloud = UIImage(systemName: "cloud.drizzle") | |
| } | |
| let numOfImages = WeatherStateImage.allCases.count | |
| print(numOfImages) | |
| for i in WeatherStateImage.allCases { | |
| print(i) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment