How can a custom sqlite function be added in Swift?
The following SO question addresses the issue of using functions like acos and cos in an sqlite query involving coordinates: iOS sqlite no such function: ACOS error
The suggestion is to add a custom function. But the example is given in Objective-C. Other than bridging to Objective-C is there a native Swift function or library that allows the creation of custom functions?
Aucun commentaire:
Enregistrer un commentaire