I'm developing an application in which I have a SQLite database.
To manage the database I use FMDB, which is a library to work easily with SQLite databases.
In this application I want to insert an Today Extension which you can read and delete data from the database of this application.
My problem is that I'm developing the application with Swift and FMDB library is in Objective-C.
For my application, I used the Briding-Header file but in the Target of the Extension not let me add Briding-Headers.
I try to make a class to communicate between FMDB objects and Swift but, if I check the target option for the extension target in the file inspector, in the Swift class tell me the functions from FMDB are not accesible because not have references from FMDB in Extension.
Aucun commentaire:
Enregistrer un commentaire