• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Corrent Syntax for Parameter Lists?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Corrent Syntax for Parameter Lists? (From: Dave <email@hidden>)

  • Prev by Date: Re: glVertex2d_Exec crashing
  • Next by Date: Re: SpriteKit junk
  • Previous by thread: Corrent Syntax for Parameter Lists?
  • Next by thread: dispatch_semaphore crash on deletion
  • Index(es):
    • Date
    • Thread