• 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
Issues with NSWindowDelegate on multiple Mac OS X platforms
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issues with NSWindowDelegate on multiple Mac OS X platforms


  • Subject: Issues with NSWindowDelegate on multiple Mac OS X platforms
  • From: Tron Thomas <email@hidden>
  • Date: Tue, 06 Oct 2009 21:32:18 -0700

I recently got a MacBook Pro running Mac OS X 10.6.1 and Xcode 3.2

When I tried to build a project I was working on, I would get an error like this:

warning: class 'MyClass' does not implement the 'NSWindowDelegate' protocol

I was able to eliminate the warning by doing this:

@interface MyClass : NSResponder <NSWindowDelegate>

However when I go to build the same project on my PowerMac G5 running Mac OS X 10.5.8 with Xcode 3.1.3, I now get this compilation error:

error: cannot find protocol declaration for 'NSWindowDelegate'

What is needed so the project will build with no errors or warnings on both platforms?

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Issues with NSWindowDelegate on multiple Mac OS X platforms
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: CoreData async fetch request
  • Next by Date: Re: Suggest reasons for this crash?
  • Previous by thread: [Solved] Re: "remote" binding problem
  • Next by thread: Re: Issues with NSWindowDelegate on multiple Mac OS X platforms
  • Index(es):
    • Date
    • Thread