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

КОМЕНТАРІ • 10

  • @andrewkemp70
    @andrewkemp70 Рік тому +1

    Thanks Igor - I'm a beginner, helps me a lot! I was looking at crazy complicated shit before I saw this...

  • @Yulyusha
    @Yulyusha 2 роки тому +1

    Nice video! Helped me a lot with databases. Thank you!

  • @-ECE--VIGNESHN
    @-ECE--VIGNESHN Рік тому +1

    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

  • @AlinaVovkovynska
    @AlinaVovkovynska 9 місяців тому

    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

  • @zheniaserhatyi5769
    @zheniaserhatyi5769 Рік тому +1

    Привет, у меня вопрос я могу создать в любой СУБД БД(Например в PostgresSQL) и потом её так использовать как в видео ? Заранее спасибо.

    • @chiragpatel9699
      @chiragpatel9699 Рік тому +1

      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.

  • @andrewkemp70
    @andrewkemp70 Рік тому

    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!

    • @_marlon
      @_marlon Рік тому +1

      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.

    • @andrewkemp70
      @andrewkemp70 Рік тому

      @@_marlon thanks buddy

  • @raycole221
    @raycole221 2 роки тому +1

    𝖕𝖗𝖔𝖒𝖔𝖘𝖒 💘