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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

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