-
Notifications
You must be signed in to change notification settings - Fork 70
Make using property lists easier #735
Copy link
Copy link
Open
Labels
A-frameworkAffects the framework crates and the translator for themAffects the framework crates and the translator for themenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Milestone
Metadata
Metadata
Assignees
Labels
A-frameworkAffects the framework crates and the translator for themAffects the framework crates and the translator for themenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
It might make sense to add helper methods to
AnyObjectandCFTypeto allow more easily converting to common property list types (CF docs, Cocoa docs,core-foundationsource).Something like the following:
An alternative would be to wrap these in a newtype that provided much the same, but I suspect that'd be less ergonomic. Yet another alternative would be to eagerly convert to an
enum, but that'd probably be less performant.We should also make sure it's easy to use dictionary getter methods here.