ios - can i use the swiftdata framework for an existing sqlite database? -


i developing ios application. using swift data framework sqlite database. can use same swift data framework existing database?

i have been looking solution couldn't find it. can me it?

if talking ryan fowler's swiftdata.swift on github, looks there info half-way down documentation page: http://ryanfowler.github.io/swiftdata/

perhaps info on method looking (regarding connecting existing db).

public static func databasepath() -> string 

and keep in mind, sqlite databases transactional. so, framework maintains path pointer , opens , closes db needed make transactions:

public static func transaction(transactionclosure: ()->bool) -> int? 

Comments

Popular posts from this blog

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -