Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / July 2008



Tip: Looking for answers? Try searching our database.

Stumped - Can YOU see the problem? I can't...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Don Bruder - 21 Jul 2008 17:54 GMT
They say a picture is worth a thousand words - So here's the picture
(OK, would you believe a < 100K PDF screenshot of my Xcode window?)

<http://home.comcast.net/~dakiddfishhook/Problem.pdf>

Comments in it give the details, and I think I've managed to make
everything that's relevant visible. Needless to say, this one is a
stumper for me. Any help out there?

Signature

Don Bruder - dakidd@sonic.net - If your "From:" address isn't on my whitelist,
or the subject of the message doesn't contain the exact text "PopperAndShadow"
somewhere, any message sent to this address will go in the garbage without my
ever knowing it arrived. Sorry... <http://www.sonic.net/~dakidd> for more info

Patrick Machielse - 21 Jul 2008 18:24 GMT
> They say a picture is worth a thousand words - So here's the picture
> (OK, would you believe a < 100K PDF screenshot of my Xcode window?)
[quoted text clipped - 4 lines]
> everything that's relevant visible. Needless to say, this one is a
> stumper for me. Any help out there?

Could it be that you defined 'isTheValueAtIndex:::' on
TableViewController, when you really want in in NSDictionaryAdditions?

(as an aside, naming an NSDictionary ivar 'ItemList' is a bit confusing)

patrick
Tom Harrington - 21 Jul 2008 18:30 GMT
> They say a picture is worth a thousand words - So here's the picture
> (OK, would you believe a < 100K PDF screenshot of my Xcode window?)
[quoted text clipped - 4 lines]
> everything that's relevant visible. Needless to say, this one is a
> stumper for me. Any help out there?

The error message indicates that the object called ItemList is a
dictionary object, while the method you're calling appears to be defined
on your TableViewController class.

Signature

Tom "Tom" Harrington
Independent Mac OS X developer since 2002
http://www.atomicbird.com/

Russell Sheptak - 21 Jul 2008 18:34 GMT
> http://home.comcast.net/~dakiddfishhook/Problem.pdf

At a guess, the indicated selector needs to be a method on class
NSMutableDictionary, but you have it as a method on class
TableViewController.  Your code sends the message to a dictionary, not
the controller.

rus
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.