RosettaCodeData/Task/Singly-linked-list-Traversal/Objective-C/singly-linked-list-traversal.m
Ingy döt Net 68f8f3e56b all tasks
2013-04-11 01:07:29 -07:00

6 lines
162 B
Objective-C

RCListElement *current;
for(current=first_of_the_list; current != nil; current = [current next] )
{
// to get the "datum":
// id dat_obj = [current datum];
}