reading classical ini file on iPhone

2019-04-02 07:13发布

问题:

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

回答1:

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



标签: iphone ini