X XcodeNewb macrumors member Original poster Feb 13, 2009 #1 I have a text file with a couple of thousands lines in it. Is there an easy way to convert this to a plist file? Thanks for the help. Really, no one knows?
I have a text file with a couple of thousands lines in it. Is there an easy way to convert this to a plist file? Thanks for the help. Really, no one knows?
J jnic macrumors 6502a Feb 16, 2009 #2 Regex find and replace? Seriously, it's just an XML file. Fire up your favorite editor and wrap the relevant bits in <key> and <string> tags, then add the standard header on top and the corresponding closing tags beneath.
Regex find and replace? Seriously, it's just an XML file. Fire up your favorite editor and wrap the relevant bits in <key> and <string> tags, then add the standard header on top and the corresponding closing tags beneath.
F firewood macrumors G3 Feb 16, 2009 #3 Sounds like something you should be able to do with a few lines of perl script (or whatever other text scripting language you know).
Sounds like something you should be able to do with a few lines of perl script (or whatever other text scripting language you know).