Adds Swift syntax for BFTask examples