开发者

Objective-C Load XML file into NSTableView

开发者 https://www.devze.com 2023-02-09 17:06 出处:网络
Can anyone help me, I\'m a n00b at this and still learning. I simply need to load an XML file into a table v开发者_如何学Ciew and add a search function to it which filters the table view. I was look

Can anyone help me, I'm a n00b at this and still learning.

I simply need to load an XML file into a table v开发者_如何学Ciew and add a search function to it which filters the table view. I was looking for a tutorial on this or some sample code.

This is for a Mac app.


Here is the apple tableview guide http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/TableView/TableView.html

and here is the NSXML guide

http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/NSXML_Concepts/NSXML.html

If you look at my post here I am using a NSURL connection to get local xml, in place of a web service. Accessing Local file using NSURL

I would strongly suggest getting a copy of the Big Nerd Ranch iOS programming guide, it covers exactly what I think you want to do near the end of the book.

0

精彩评论

暂无评论...
验证码 换一张
取 消