Hillegas printing Stuck again!!
Hillegas printing Stuck again!!
- Subject: Hillegas printing Stuck again!!
- From: Martin Kyte <email@hidden>
- Date: Wed, 29 Aug 2007 10:03:26 +0100
Hi Chaps
Seems like I'm stuck again.
I am trying to impliment multiple page printing as per Capter 24.
My problem is that I seem to be able to pass the array containing the
poeple objects (NSString and NSFloat) as
[people count] returns the correct number of elements in the array.
However when I do
Person *p = [people objectAtIndex:i];
and then try to access each part of the object
[p personName] I get selector not recognised error
-[NSCFDictionary expectedRaise]: selector not recognized [self =
0x322b40]
I cannot understand why p should be of NSCFDictionary type and not my
class type Person.
Any thoughts on how to debug this 'cos I've run out of ideas?
Thanks
Martin Kyte
Electronics Workshop
MRC Laboratory of Molecular Biology
Hills Road, Cambridge, CB2 2QH
Tel 01223 252975
email@hidden
_______________________________________________
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