0
我需要一些使用swift編寫xml的相關解決方案。如何使用swift修改現有的xml for IOS
例如:
var rootElement = //get Element by XMLParser
var childElement = rootElement.child.element
childElement.text = "value changed"
現在我想修改元件設置爲XML。 所以我要通過將rootElement轉換爲字符串並存儲在xml文件中來編寫整個xml。
我需要這樣的XML編寫器與迅速。
任何提示或參考將非常感謝。
嗨,我認爲NSXMLDocument不適用於IOS。 – Sweety
[AEXML](https://github.com/tadija/AEXML) –