// Create and/or Open the database file let db = YapDatabase() // Configure database: // We're going to store String's in the collection "test". // To store custom classes/structs, just implement Swift's Codable protocol. db.registerCodableSerialization(String.self, forCollection: "test") // Get a connection to the database // (You can have multiple connections for concurrency.) let connection = d
{{#tags}}- {{label}}
{{/tags}}