I'm sorry you feel that way. I've read many iOS development books and have found that all of them at one point or another have very similar issues because Xcode and Swift are always updating. I've also found that working through these issues have actually helped me understand and work through programming issues more efficiently. If you would still like a refund you can contact Apple through the iBooks Store directly.
Angelina
Oak Leaf Enterprises, Inc.