I have a function - (id) func: params1, ... NS_REQUIRES_NIL_TERMINATION and2: params2, ... NS_REQUIRES_NIL_TERMINATION;
The compiler says: error: expected `; 'before' and 2 'Is there a way to make a function with two lists of arguments?
Simply put: no. It's impossible.
There is, however, a workaround; you can pass instead two pointers to idthat work with null-terminated arrays, for example:
id
- (id)method:(id *)part_one withTwo:(id *)part_two
:. nil - . ( !)
nil
Source: https://habr.com/ru/post/1742822/More articles:Can I put text on top of an image with a button? - javaАвтоматический указатель для беззнакового массива char? - c++Hibernate - managing insert and update queries - javaHow to select an element from a JavaScript array when I only know the value for one of the properties of the element? - javascriptUndefined jQuery Autocomplete Results - jqueryA list with nonzero entries ends with null. Sync problem? - listDisplaying the contents (rather than saving) of a downloaded file using Django - djangoTabHost NullPointerException in layout - androidFacebook iPhone SDK: Show Progress Bar When Uploading Image - iphoneHow does this java code work? - javaAll Articles