How to use an old API in modern Swift code. Use small helpers to make using existing APIs more type safe and Swift-like.