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

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -