What tech is used for text highlighting?

Discussions around the iPhone/iPad/iPod Touch versions of the Gospel Library application.
woodtj
New Member
Posts: 1
Joined: Sun Nov 03, 2019 12:24 pm

What tech is used for text highlighting?

Post by woodtj »

I’m just curious, can anyone tell me what’s being used for rendering/highlighting Scripture text on iOS?

:T.J.
mgclark
New Member
Posts: 5
Joined: Tue Jun 02, 2015 10:13 am

Re: What tech is used for text highlighting?

Post by mgclark »

I don't know the answer to your question, but I'm curious why you want to know. A couple of years ago I requested a feature to allow you to resize an existing highlight. On the Android version, when you touch an existing highlight, handles appear at the start and end of the highlight and you can easily resize an existing highlight. This is the main reason why I use and Android phone and not an iPhone (even though all my family members are on iPhones).
User avatar
sbradshaw
Community Moderators
Posts: 6772
Joined: Mon Sep 26, 2011 9:42 pm
Location: Utah

Re: What tech is used for text highlighting?

Post by sbradshaw »

There are a lot of different parts of highlighting:
– Text selection, which is built into iOS.
– The annotation menu that pops up with options for highlighting, adding a note, etc.
– Code for rendering highlights on the page and annotation indicators in the margins.
– Change listeners for updating rendered annotations as the page adjusts width, or as annotations are added or removed.
– Tap listeners that allow the annotation menu to pop up again when you tap on a highlight.
– Code that ties the webview (where content is rendered) to the native app and its stored data.
– The sync service which keeps things synced between different devices and the Church's servers.
Samuel Bradshaw • If you desire to serve God, you are called to the work.

Return to “iPhone/iPad Gospel Library”