Show HN: SwiftData – A SQLite library in Swiftgithub.com48 points·by greenbast·há 12 anos·18 comments
greenbast·há 9 anos·discussObligatory link to Richard Stallman on "free vs open":https://www.gnu.org/philosophy/open-source-misses-the-point....
greenbast·há 10 anos·discussThe Go code in your example could actually be written: resp, err := http.Get(someURL) if err != nil { return nil, err } return DoStuff(resp)
greenbast·há 12 anos·discussCurrently, I'm not aware of one.However, once Swift comes out of beta (and with some time) I think the best practices to distribute libraries will become evident.It would be great if Apple released a dependency manager for Swift, though!
greenbast·há 12 anos·discussPersonally, I find the CoreData API unpleasant to use ... I think SwiftData offers simplicity and the familiarity of SQL to developers.But CoreData is a great option if you have time to learn it!
https://www.gnu.org/philosophy/open-source-misses-the-point....