> Design Patterns > Iterator > Iterator Design Pattern In Objective C

Iterator Design Pattern In Objective C

Iterator design pattern in Objective C to access and traverse an aggregate object without exposing its internal structure.


Iterator design pattern In Objective C

Output

Element = AAAA
Element = BBBB
Element = CCCC
Element = DDDD


Suresh Kumar Srivastava is founder of online learning site coursegalaxy.com and author of popular books C In Depth, Data Structures Through C In Depth. He has 18+ years experience in industry and worked on architecture and design of multiple products. This article Iterator Design Pattern In Objective C is from his Design Patterns course.