Ray Wenderlich Functions and Types Course - Part 7
Here we go! Tricky to get much done this week as I've been working on an application for a potential promotion at work. This is a big deal - if I do get it, it will mean a substantial difference to me short and long term. If I don't, then it may well be a sign that I need to ease my way away from teaching... we shall see! In the mean-time, back to Catie's course. Still a fair bit to do. Aiming to finish it in a few more entries. Start Time - 17:48 Switch Statements All of this is fine so far. Enums from before used... enum Month : Int { case january = 1 , february , march , april , may , june , july , august , september , october , november , december } enum Season : String , CaseIterable { /// ☃️ case winter /// 🌸 case spring /// 😎 case summer /// 🍂 case autumn } func getSeason (month: Month ) -> Season { switch month { case ...