DHowett / go-plist

A pure Go Apple Property List transcoder
Other
414 stars 96 forks source link

Turn UID into CF$UID for (GNUstep) text format too #53

Closed Artoria2e5 closed 4 years ago

Artoria2e5 commented 4 years ago

go-plist currently does not interpret cfUID values for the text generator. This is different from the GNUstep behavior, which always generates CF$UID dictionaries so that they can be put into any plist. (Their binary encoder picks these out at write-time.)

Their NSKeyedUnarchiver seems tolerant of OpenStep-marshalled versions, since it performs an intValue: call to coerce a potential string to int.