This MR is a proposal to remove direct use of UserDefaults, and instead access values through a wrapper VLCDefaults.
UserDefaults
VLCDefaults
Pros:
Codable
Cons:
If this is wanted, I will continue.