A
A
Aleksandr Govorukhin2018-07-30 15:30:35
iOS
Aleksandr Govorukhin, 2018-07-30 15:30:35

Where and how to store textual information?

Hello!)
The question is that I'm going to write a training manual for the organization and, accordingly, there will be many chapters and text. Those. there will be a table with chapters and pictures, select the one you are interested in and get the full article. How and where to actually store the text for articles and pictures for them. What are the smart solutions?
The application is offline and it is necessary that after the first launch all the necessary information should fall into place. Pictures, as I understand it, should be stored in FileManager, instead of Assets, and pulled out from there? Or is there absolutely no difference if the table is large where to get pictures from? It’s just that there are noticeable delays when scrolling, again, is this due to the fact that the pictures are taken from Assets, or is there no difference?
If anyone can tell me I would be very grateful :)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
DevMan, 2018-07-30
@SnapSh0t

if the pictures are all of the same resolution, then there is not much difference, it should work equally in assets, which is just in a folder. it is easier to deal with this experimentally (make 2 tables with each option and compare).
if pictures of different resolutions (@2x/@3x/etc), then only assets:
1. they are easier to manage in the project
2. when installing the application on the device, only pictures with the resolution for the user’s device will be downloaded, and not all.

T
tegrato, 2018-07-30
@tegrato

I saw an implementation option using a SQLite database. The database contained all the content, incl. and links to pictures.

S
Saboteur, 2018-07-30
@saboteur_kiev

1. windows help file?
2. a set of documents in pure html / JS (without a backend) - expanded into a folder, made a link to the index file. And cross-platform in addition and easily placed on a network drive or web server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question