[Objective-C] Generate method to get a queryset