Re: Hillegas printing Stuck again!!
Re: Hillegas printing Stuck again!!
- Subject: Re: Hillegas printing Stuck again!!
- From: Alain Schartz <email@hidden>
- Date: Wed, 29 Aug 2007 02:11:51 -0700
Are you sure you defined your people array correctly (NSArray *people in PeopleView.h) ?
Alain
On Wednesday, August 29, 2007, at 11:05AM, "Martin Kyte" <email@hidden> wrote:
>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?
_______________________________________________
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