Re: Parameter lists
Re: Parameter lists
- Subject: Re: Parameter lists
- From: j o a r <email@hidden>
- Date: Fri, 7 Nov 2003 08:32:28 +0100
Try this:
- (void) clearScreenFields:(int)sortCheck :(BOOL)redCheck;
And then:
[self clearScreenFields: clearAndNoSort : redDisplay];
It's all documented here:
<
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/
index.html>
For Cocoa/ObjC conventions I also suggest reading this:
<
http://developer.apple.com/documentation/Cocoa/Conceptual/
CodingGuidelines/index.html>
j o a r
On 2003-11-07, at 07.18, John MacMullin wrote:
>
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.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.