• 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
NSMutableDictionary Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMutableDictionary Error


  • Subject: NSMutableDictionary Error
  • From: Seth Willits <email@hidden>
  • Date: Sat, 18 Jan 2003 10:08:09 -0800

When compiling, the compiler gives me the error that the NSMutableDictionary class doesn't respond to the setObject:forKey message. How can this be? It's clearly documented.


NSMutableDictionary * attribs = [NSMutableDictionary dictionary];

[attribs setObject:[NSFont fontWithName:@"Times" size:36]
forkey:NSFontAttributeName];

PB 2.1 & OS X 10.2.3

Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine - http://www.rbdeveloper.com

"Read the book! Be patient! All success comes from acquiring knowledge and experience."
-- Seth Willits
------------------------------------------------------------------------ ---
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: NSMutableDictionary Error
      • From: Nicholas Riley <email@hidden>
    • Re: NSMutableDictionary Error
      • From: mw <email@hidden>
  • Prev by Date: Re: NSWindow
  • Next by Date: Re: NSWindow
  • Previous by thread: Re: NSWindow
  • Next by thread: Re: NSMutableDictionary Error
  • Index(es):
    • Date
    • Thread