Swift Higher_order_function Resources