Re: Tiny.m
Re: Tiny.m
- Subject: Re: Tiny.m
- From: Jens Alfke <email@hidden>
- Date: Mon, 28 Nov 2011 16:09:51 -0800
On Nov 28, 2011, at 4:01 PM, Bruce Stephens wrote: What has changed or what am I doing wrong?
In 10.6 many delegate APIs were made into real protocols instead of informal categories.
I have also tried @interface DemoView: NSView <NSWindowDelegate> {…
That’s the correct thing to do.
Tiny.m:93: warning: class 'NSView' does not implement the 'NSWindowDelegate’ protocol
Sounds like the compiler doesn’t know that the parameter on that line is a DemoView, not just an NSView, so try casting it to DemoView*.
—Jens |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Tiny.m (From: Bruce Stephens <email@hidden>) |