arrayWithObjects: in LW
Hi, I have following problem in LW 4.5.5. When i try to invoke method arrayWithObjects: with arguments as shown below i got the following error message: "Too many arguments in ("dave" "john" "guy") to method "arrayWithObjects:", wanted 1". I think that arrayWithObjects: method takes variable number of arguments, but may be i am worng, because of my ObjC knowledge is poor. Where's the problem ? example: (let* ((my-array (objc:invoke "NSArray" "arrayWithObjects:" "dave" "john" "guy" nil)) (my-item (objc:invoke-into 'string my-array "objectAtIndex:" 0))) Thanks.