I’m learning Swift, and found a Github project converting the ToDoLite app to Swift. Only thing is it was done for Beta 4 of Swift, so code is quite out of date. I spent some time this evening fixing loads of compiler errors but left with two that I can’t figure out:
self = [super initWithDocument:doc]; // No visible @interface for 'CBLModel' declares the selector 'initWithNewDocumentInDatabase:' link
self = [super initWithNewDocumentInDatabase: database]; //No visible @interface for 'CBLModel' declares the selector 'initWithDocument:' link
I see in the docs that those init methods should exist, or are the docs out of date?