Using Enum Instead of Struct For SwiftUI Views Daily Coding Tip 078Millie SturgeonMay 03, 2022∙ PaidShareImage by fijidji from PixabayHere I have a SwiftUI view called EnumView that is an enum rather than a struct. It has three cases: red, blue and green. For each case it unsurprisingly returns a Color, which conforms to View.Continue reading this post for free, courtesy of Type Safely.Claim my free postOr purchase a paid subscription.