• 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: NSKeyedArchiver selector not recognized
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSKeyedArchiver selector not recognized


  • Subject: Re: NSKeyedArchiver selector not recognized
  • From: Mike Blaguszewski <email@hidden>
  • Date: Fri, 5 May 2006 12:24:33 -0400

On May 5, 2006, at 12:14 PM, Scott Frankel wrote:

I note, however, that the compiler returns a warning:

'NSKeyedArchiver' may not respond to '+archiveDataWithRootObject:'

The compiler is right, you've got a typo. The method is +archivedDataWithRootObject. Basically, because Objective-C is such a dynamic language, you'll get things as warnings that would be errors in other languages. That doesn't mean you should ignore them! Xcode's help viewer is very useful here. You can select a method, right- click, and say "Find Selected Text in API Reference". Or if you're not sure of the method, do the same for the class name. Or use code completion (I think it defaults to the escape key) to avoid typos altogether.


--
Mike Blaguszewski /  Ambrosia Software, Inc.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSKeyedArchiver selector not recognized
      • From: Scott Frankel <email@hidden>
References: 
 >NSKeyedArchiver selector not recognized (From: Scott Frankel <email@hidden>)

  • Prev by Date: Re: rename check? And alias...
  • Next by Date: Launching a cocoa app from a print daemon
  • Previous by thread: Re: NSKeyedArchiver selector not recognized
  • Next by thread: Re: NSKeyedArchiver selector not recognized
  • Index(es):
    • Date
    • Thread