concept group in category ios

appears as: groups, group
iOS 7 in Action

This is an excerpt from Manning's book iOS 7 in Action.

Table view controllers (UITableViewController) contain a single table view. Table views allow you to display data as a list of rows represented by table view cells. These rows of data can also be visually separated and sectioned into groups.

Listing 7.1. Enumerating through all groups within the Assets Library
[assetsLibraryInstance enumerateGroupsWithTypes:ALAssetsGroupAll usingBlock:^(ALAssetsGroup *group, BOOL *stop) { if(stop) // Finished enumerating through groups else // Do something with 'group' } failureBlock:^(NSError *error) { // Handle error }];

Notice that you are choosing to enumerate through groups with type ALAssetsGroupAll. You can change this to specify different types of albums represented by the ALAssetsGroupType enumerable type, which are listed in table 7.1.