B
B
Boglik2019-09-14 13:39:06
iOS
Boglik, 2019-09-14 13:39:06

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

2 answer(s)
I
iMaximus, 2019-09-14
@iMaximus

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...

U
uzolenta, 2019-09-28
@uzolenta

If you want without the use of wrappers, then I can paint, I do not use wrappers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question