Databases on iOS: Making queries to SQLite in Swift (SELECT, INSERT, UPDATE and DELETE) - Tutorial
Вставка
- Опубліковано 15 вер 2024
- Using the example of an iOS mobile application, we will learn how to execute database queries (SELECT, INSERT, UPDATE and DELETE) to SQLite using the Swift programming language. The library of toolkit GRDB will help us.
How to install CocoaPods on Mac - progdevs.com/u...
All code from this tutorial - progdevs.com/i...
Thanks Igor - I'm a beginner, helps me a lot! I was looking at crazy complicated shit before I saw this...
Nice video! Helped me a lot with databases. Thank you!
I run your code but i got error while line number 74 i got fatel error if suppose i change this ! - > ?? "" i didn't get any output
I have some misunderstanding, so I`ve no errors, but data from my database doesn't display in table view, maybe you can help me, please
Привет, у меня вопрос я могу создать в любой СУБД БД(Например в PostgresSQL) и потом её так использовать как в видео ? Заранее спасибо.
Yes, sure! You can create a database in any DBMS such as PostgreSQL and then use it to store data. The video may use a particular DBMS, but concepts related to creating tables, indexes, queries, etc. are usually common to most DBMSs. So if you understand database basics, you should be able to create and use a database in PostgreSQL or another RDBMS.
Igor I have a question: how did you connect the outlets in the ProductTableViewCell to the main view? Mine won’t connect and the app is not working as a result (it runs but shows no data).
Second question, did you use a DBHelper to set the OpaquePointer, and change AppDelegate to connect to the database?
If you can answer pleeeeease 😊 Thankyou!
You have to make sure the class of the cell in the storyboard matches the cell class in your code. Then you should be able to ctrl-click and drag the connection.
@@_marlon thanks buddy
𝖕𝖗𝖔𝖒𝖔𝖘𝖒 💘