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
Post a Comment