• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tiny.m
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Tiny.m
  • Next by Date: Re: (SOLVED) MainWindow.xib required or not? (Philip McIntosh)
  • Previous by thread: Tiny.m
  • Next by thread: Re: (SOLVED) MainWindow.xib required or not? (Philip McIntosh)
  • Index(es):
    • Date
    • Thread