Creating a wrapper for a C library is a very easy task with Swift, as the language was designed for interoperability with Objective-C and C, as well as for C++ language. Although this chapter focuses on using the SQLite C API with Swift, you could easily do the reverse and call Swift from these languages. This chapter shows how to create an Objective-C wrapper around the SQLite C API, which ...
© Kevin Languedoc 2016
Kevin Languedoc, Build iOS Database Apps with Swift and SQLite, 10.1007/978-1-4842-2232-4_1
1. Creating the Objective-C Wrapper
Electronic supplementary material
The online version of this chapter (doi:10.1007/978-1-4842-2232-4_1) contains supplementary material, which is available to authorized users.