objective c - How to save (and retrieve) NSAttributedString in a NSDictionary -
i trying save , retrieve xml data file.
for purpose using nsdictionary's writetofile:
question is, how write , retrieve attributed string , file on disk using nsdictionary's writetofile:?
nsattributedstring not a property list object, writetofile: won't work.
it does, however, conform nscoding, can write archive dictionary root object (assuming other objects in dictionary conform).
Comments
Post a Comment