Parsing a Java Properties file in Objective-C for iPhone

后端 未结 6 918
情话喂你
情话喂你 2021-01-18 19:09

I\'m looking for a way in the iPhone SDK to read in a Properties file (not the XML flavor) for example this one:

# a comment
! a comment

a = a string
b = a          


        
6条回答
  •  后悔当初
    2021-01-18 20:00

    I would take a look at ParseKit http://parsekit.com/. Otherwise you could use RegexKitLite and create some regular expressions.

提交回复
热议问题