Typealias & AssociatedType!
Zack and Steve put a few logs on the campfire and start talking about their favorite programming language, Swift. Today they discuss two swift conventions that can help clean up your code, Typealias & Associatedtype.
Apple Docs for TypeAlias: https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#grammar_typealias-declaration
Apple Docs for AssociatedType (search for “Associated Type”): https://docs.swift.org/swift-book/LanguageGuide/Generics.html
Fantastic blog by the Ash Furrow of artsy: http://artsy.github.io/blog/2016/06/24/typealias-for-great-good/
Blog post by Abhimuralidharan that explains the difference between Reference and Value types (it has a nifty chart 3/4 of the way through): https://medium.com/@abhimuralidharan/difference-between-value-type-and-a-reference-type-in-ios-swift-18cb5145ad7a
Learn about Hustle and Code here: https://hustlencode.xyz/home
Register for Hustle and Code here: https://hustlencode.xyz/register/volunteer
Sentry Link $100 credit (only for new accounts): https://sentry.io/signup/?code=firesideswift
Fireside Swift Theme song by Mike “Golden Pipes” Dillingham
Blind Love Dub by Jeris (c) copyright 2017 Licensed under a Creative Commons Attribution (3.0) license. http://dig.ccmixter.org/files/VJ_Memes/55416 Ft: Kara Square (mindmapthat)