• 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
Parameter lists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parameter lists


  • Subject: Parameter lists
  • From: John MacMullin <email@hidden>
  • Date: Thu, 6 Nov 2003 23:18:18 -0700

I have a method in which I am trying to pass multiple parameters as
follows:

- (void)clearScreenFields:(int)sortCheck, (BOOL)redCheck
{
}

I am sending the following:

[self clearScreenFields:clearAndNoSort, redDisplay];}

This is patterned after the Objective-C pocket reference at pages 18-20.

All I get is compile errors. I suspect that I have to do something
different with multiple parameter methods in cocoa.

Any help would be greatly appreciated.

John
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Parameter lists
      • From: John Randolph <email@hidden>
    • Re: Parameter lists
      • From: j o a r <email@hidden>
    • Re: Parameter lists
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Cannot Find NSObjectController on Palette
  • Next by Date: Re: Parameter lists
  • Previous by thread: Re: Cannot Find NSObjectController on Palette
  • Next by thread: Re: Parameter lists
  • Index(es):
    • Date
    • Thread