A
collection can be called as a container - is simply an object that
groups multiple elements into a single unit. A collection is a
Foundation framework class that is used for storing and managing
groups of objects in Cocoa and Cocoa Touch. Collection primary role
is to store objects in the form of either an
array(NSArray,NSMutableArray), a dictionary(NSDictionary),
or a set (NSSet,NSMutableSet) etc.
Markdown for AI
A clean, structured version of this page for AI assistants and LLMs.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
A collection can be called as a container - is simply an object that groups multiple elements into a single unit. A collection is a Foundation framework class that is used for storing and managing groups of objects in Cocoa and Cocoa Touch. Collection primary role is to store objects in the form of either an array(NSArray,NSMutableArray), a dictionary(NSDictionary), or a set (NSSet,NSMutableSet) etc.