简体   繁体   中英

navigating a .Docset file in iphone app

I want to use a Docset i have created using Doxygen in my iPad app in a tableview, and navigate through the directories. then display the file i click.

How would i go about navigating the Docset? i can unzip it, then navigate the directories in that manner, though i'm certain there must be a way of using the file as is and then being able to run search queries on the database, etc.

Could someone please give me a pointer in the direction i should be looking?

Thank you very much

If you look inside of a docset bundle, there is a compiled .mom file (CoreData) and a couple of plist files (with various extensions). I do not think there is a straightforward way to consume all that data without knowing the schemas.

You should probably create your own core data schema, and index the HTML contents of the docset manually at the first run of your app, and reuse that for searching and such.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM