re: building a story app

I’m currently building a story app and I would like to add some features that are found in book readers like iBooks reader, Kindle and Nook.

How would I go about adding a dictionary feature to the app?  Would this be built using the native api? For example when I build the text box for users to write in I use …native.newTextField() to build this in my app.

How would I find out how to do this?  I’ve done some searches, but I don’t believe I am using the correct vocabulary to find it or I am not fully understanding what I am reading.  I did find this at the Mac developers site but I don’t think this applies to me:

https://developer.apple.com/library/mac/documentation/userexperience/Conceptual/DictionaryServicesProgGuide/prepare/prepare.html#//apple_ref/doc/uid/TP40006152-CH3-SW7

The other features I am interested in adding to my app are:

a table of contents panel that appears when the icon is pushed.  When the chapter is click the app goes to that page.  Is there  a widget or api for this?  Or would this have to be programmed from scratch?

word search --type word into the appropriate box and push enter and the word is found

–highlight a word or phrase and keep and keep it highlighted (and index which have been highlighted in a list)-

-These last two are not so high of a priority for me but I am curious it they are possible with corona.