Answer the question
In order to leave comments, you need to log in
How to connect prebuilt sqlite database to swift?
I have a ready-made database that needs to be attached to the application so that on each page a certain category is displayed in a list with the ability to navigate to an article.
The problem is that I can't get past the "create sqlite libraries, drag database into application" level.
I'm experimenting with a single view app - and still I can't figure out how to create, for example, 5 empty pages and list headings on them so that articles are displayed when clicked.
Give an example, a link to an article, a gigub project or a video on how the simplest database connection and its output to the page are implemented
Answer the question
In order to leave comments, you need to log in
Dark examples. I prefer the FMDB wrapper, I've used it in several applications, I'm happy as an elephant. https://habr.com/ru/post/277423/
If without any wrappers here is an article for example
https://www.raywenderlich.com/385-sqlite-with-swif...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question