Swift disassembled, Using NSProgress, Delegate callbacks in Swift