2

does anybody knows how to parse an ini file ? I guess I need a regular expression or something.

I have only this pattern in the file :

varName=value;

Thanks a lot !

update : here you go : https://github.com/DrMoriarty/MetroEditor/tree/master/MetroEditor/ini

xamiro
  • 1,350
  • 1
  • 16
  • 31

1 Answers1

4

There's an INI file parser written in objective C available here - either use it directly, or read the source to pick up a few tips.

EDIT: as that link appears dead, try this alternative - thanks mc007

Paul Dixon
  • 287,944
  • 49
  • 307
  • 343