Mutual recursion: Difference between revisions

Content added Content deleted
Line 199: Line 199:
=={{header|Objective-C}}==
=={{header|Objective-C}}==


Basically for Objective-C is valid what stated for C. In this code we show the use of two class method; this works since we need an <tt>interface</tt> block that is like declaration of functions in C code.
Objective-C has prior declaration rules similar to those stated above for [[Mutual Recursion#C|C]], for C-like types. In this example we show the use of a two class method; this works since we need an <tt>interface</tt> block that is like declaration of functions in C code.


<lang objc>#import <objc/Object.h>
<lang objc>#import <objc/Object.h>