reading classical ini file on iPhone

丶灬走出姿态 提交于 2019-12-05 04:59:30

问题


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



来源:https://stackoverflow.com/questions/6198522/reading-classical-ini-file-on-iphone

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!