reading classical ini file on iPhone
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
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
精彩评论