[Swift] Provide a queryset helper method