stephencelis / SQLite.swift

A type-safe, Swift-language layer over SQLite3.
MIT License
9.73k stars 1.57k forks source link

Documentation update create database for MacOS #841

Closed bhavers closed 3 years ago

bhavers commented 6 years ago

Documentation should be updated for database creation on MacOS (using Swift 4.2)

Link to affected documentation section: https://github.com/stephencelis/SQLite.swift/blob/master/Documentation/Index.md#read-write-databases

try FileManager.default.createDirectoryAtPath( path, withIntermediateDirectories: true, attributes: nil

should become: try FileManager.default.createDirectory( atPath: path, withIntermediateDirectories: true, attributes: nil

XCode will point this out.