views:

21

answers:

0

My ipad app draws large amounts of text from an xml file and displays them on individual pages in a UIWebView, with the page determined by the XML element containing the text.

What is the best way to enable the user to search the entire text for an input string? Should I have Objective-C search the XML and get back the page data, etc? Or run javascript in the UIWebView.

I have never programmed a text-search before, either, so any help pointing me towards tutorials/common algorithms is much appreciated.