The main reason is actually that we just prefer people use NSPropertyListSerialization API to read or write property lists. One big reason: that API has the possibility of giving you an error, whereas the collection methods do not.
Thanks for the quick reply, Tony, that makes sense. I also hadn't realized the nice correspondence of PropertyListSerialization and JSONSerialization until a friend pointed that out to me. It makes sense to separate the (de-)serialization step from the actual data type.
Ole _______________________________________________ swift-corelibs-dev mailing list swift-corelibs-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-corelibs-dev