FROM : John Spicer
DATE : Thu Sep 30 21:15:40 2004
given an NSDictionary theDictionary;
and doing this:
Object a = new Object ();
Object b = new Object ();
theDictionary.setObjectForKey(a, b);
why does the java compiler give this error:
Classes/theController.java:324: cannot resolve symbol
symbol : method setObjectForKey (java.lang.Object,java.lang.Object)
the objectForKey method works fine:
Integer sTag = (Integer) theDictionary.objectForKey("theKey");
DATE : Thu Sep 30 21:15:40 2004
given an NSDictionary theDictionary;
and doing this:
Object a = new Object ();
Object b = new Object ();
theDictionary.setObjectForKey(a, b);
why does the java compiler give this error:
Classes/theController.java:324: cannot resolve symbol
symbol : method setObjectForKey (java.lang.Object,java.lang.Object)
the objectForKey method works fine:
Integer sTag = (Integer) theDictionary.objectForKey("theKey");
| Related mails | Author | Date |
|---|---|---|
| John Spicer | Sep 30, 21:15 | |
| Finlay Dobbie | Sep 30, 21:29 |






Cocoa mail archive

