Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Enum RawRepresentable

I was working through a Ray Wenderlich tutorial on Reusable SwiftUI Views which used an enum to Manage Colors and Styles on a Button view (tutorial lesson #3.)

While not the exact solution used in that lesson, I wondered if the enum could conform to RawRepresentable as part of the solution.

I then found this blog by Ole Begemann which provided an example. So, I grew this project to exercise both lessons learned.

Thanks to both Ray Wenderlich and Ole Begemann.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages