Stephen DeStefano Swift 5 Course - Part 9 (Lectures 39 to 54)
Here's me maximising time! I'm getting on a train in little under two hours. So a perfect time to code! I've actually packed everything, apart from what one needs post shower! So time to get the 'what's new in Swift' bits done. Then it can be the practical, project-based part! That's where I tend to REALLY learn! So let's get these bits done today. Start Time - 07:44 New in Swift 4.1 Equatable protocol - allows you to compare an instance of a type against another. Not sure what all that means to be honest! Hashable - again, something that Swift can now do that used to be quite verbose code. Key decoding strategy for codable - something about going from snake case to camel case... Conditional conformance - now able to make easier comparisons. Possible to add protocol conformance to a type, as long as it satisfies the condition. It's supposed to make it all safer - the compiler won't build whereas before it would crash... Recursive ...