Переменное число параметров метода в Задаче C - Нужен пример

ОтObjective C Руководство по программированию (В разделе «Обмен сообщениями с объектами»),

Methods that take a variable number of parameters are also possible, though they’re somewhat rare. Extra parameters are separated by commas after the end of the method name. (Unlike colons, the commas are not considered part of the name.) In the following example, the imaginary makeGroup: method is passed one required parameter (group) and three parameters that are optional:

[receiver makeGroup:group, memberOne, memberTwo, memberThree];

Я пытался создать такой метод, и он показывает ошибку

"Expected ';' after method prototype"

когда я пытаюсь объявить функцию ниже в моем файле интерфейса (файл .h).

- (void) printMyClass: (int) x, (int) y, (int) z;

Может ли кто-нибудь привести пример для создания такого метода, какmakeGroup

Спасибо

Ответы на вопрос(2)

Ваш ответ на вопрос