0

I've been trying to find Swift examples for FMDatabaseQueue.

All I have been able to find is Objective-C here: https://ccgus.github.io/fmdb/html/Classes/FMDatabaseQueue.html

Im not familiar with Objective-C and I'm new to Swift so I'm not sure how to port the code.

4
  • 1
    You can implement Objective-C in a Swift project. stackoverflow.com/a/24005242/1463604 Commented Sep 11, 2015 at 12:11
  • Please use FMDB docs github.com/ccgus/fmdb#swift Commented Sep 11, 2015 at 12:18
  • hash3r, I've read this FMDB doc and it does not discuss FMDatabaseQueue. I need FMDatabaseQueue examples. Commented Sep 11, 2015 at 12:32
  • Nishant, I have already implemented FMDB within my application, but I'm trying to learn how to use FMDatabaseQueue which is not discussed in the link you posted. Commented Sep 11, 2015 at 12:34

2 Answers 2

1

I've found what I was looking for here https://github.com/ccgus/fmdb/issues/291

Sign up to request clarification or add additional context in comments.

Comments

0

There exists Swift wrappers for SQLite that may be a better fit that fmdb which can run in Swift but does not use Swift features such as type safety or error handling. See for example my GRDB.swift https://github.com/groue/GRDB.swift which was heavily influenced by ccgus/fmdb.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.