Re: Corrent Syntax for Parameter Lists?
Re: Corrent Syntax for Parameter Lists?
- Subject: Re: Corrent Syntax for Parameter Lists?
- From: Keary Suska <email@hidden>
- Date: Mon, 28 Apr 2014 07:42:54 -0600
On Apr 28, 2014, at 5:21 AM, Dave wrote:
> -(BOOL) checkForError:(someObject) theObject withTitleAndMessageList:(NSString*) theTitle,...
> {
> JKErrorManager* myErrorManager;
> BOOL myStatus;
>
> myErrorManager = [self getClassMappingManagerForDomainName:kLTWClassDomainManagerDefault];
>
> myStatus = [myErrorManager checkForError:theObject withTitleAndMessageList:theTitle,…]; //********* ERROR
>
> return myStatus;
> }
>
> How do I pass the list to [myErrorManager checkForError:] ?
You can't, AFAIK. You can have a version of the method that takes a va_list argument, which is probably the more common approach. For instance, see NSLog() vs. NSLogv().
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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