4 ms·
Oh wow, this is about the NeXTSTEP format for plists. That's really old! Modern plists are either XML or binary.
by ridiculous_fish 11y ago
Oh wow, this is about the NeXTSTEP format for plists. That's really old! Modern plists are either XML or binary.
- jevinskie 11y agoExcept Apple keeps using them with Xcode. Here is the xcspec for the Swift compiler. A language from 2014 using NeXTSTEP plist format! I don't know why they just don't upgrade to xml or binary. https://gist.github.com/jevinskie/98a11023f4b561d36b26 https://gist.github.com/jevinskie/98a11023f4b561d36b26 P.S. Xcode plugins are "fun" to write!
- setpatchaddress 11y ago.xcspec predates Swift -- it's an Xcode format, not a Swift format -- but I don't remember by how much.
- jevinskie 11y agoIndeed it does! I just find it very curious that Apple hasn't bothered to migrate .xcspecs to one of the newer plist formats. As far as I know, you lose no capabilities with the newer format. Perhaps the NeXTSTEP format is easier to read with a text editor? XML format isn't terrible, and Xcode itself provides a not-bad GUI editor for all plist varieties. EDIT: I believe that Xcode will load .xcspecs in any format. The .xcspec ends up getting fed into a TSPropertyListDictionary class which is backed by a plain NSDictionary. I'll test tonight. :)