如何将字符串转换为 XML 或如何在 Objective-C 上解析字符串

发布于 2024-12-28 01:18:14 字数 251 浏览 2 评论 0原文

我有两个重要问题。

所以我们想构建一个基于具有登录等功能的网站的应用程序。

输入登录名和密码后,我们通过 POST 发送这些内容。之后我们获取 NSString 形式的网站源代码。

我希望将此字符串保存到本地 XMLFile,以便我可以在保存后解析此 xmlfile。

是否可以?

  1. 问题。在我解析 XML 文件或字符串并获得日期后,我想将它们放入 TableView 中。但如何呢?

i've got two important questions.

So we wanna build an App based on a Website with a login and so on.

After we typed in the loginname and password we send those things with POST. After that we get the website source code as an NSString.

I want this String to a local XMLFile so that I'm allowed to parse this xmlfile after saving.

Is it possible?

  1. Question. After i parsed the XML File or String and i got my dates, i wanna put them in a TableView. But how?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文