On Jun 30, 2017, at 06:03 , Jerome Krinock wrote:
>
> To be honest, most of the time, I don't really *write* Swift. I throw some
> characters onto the screen and click “Fix”
You’re Doing It Wrong™. You’re supposed to throw fewer characters onto the
screen and press Return to autocomplete. Us
> On 2017 Jun 29, at 23:37, Quincey Morris
> wrote:
>
> You would get an error trying to declare the override if it did not have the
> correct method signature.
Yes, of course. To be honest, most of the time, I don't really *write* Swift.
I throw some characters onto the screen and click “
On Jun 29, 2017, at 22:37 , Jerome Krinock wrote:
>
> Is my syntax correct?
I think so. You would get an error trying to declare the override if it did not
have the correct method signature.
In what class are you doing the “presentError” invocation? Do you have any
evidence (or can you verify
I’m putting together a tiny demo project which subclasses NSDocument. It has
two targets, identical Cocoa macOS apps except one is in Objective-C and the
other in Swift. In the Objective-C target, I override -[NSDocument
willPresentError:] like this:
- (NSError*)willPresentError:(NSError *)er