A New iPad?

I didn’t have any plans to buy anew iPad (let alone an Apple Pencil), but then I watched the Keynote at Apple’s World Wide Developers’ Conference and saw this. I have the video queued up to start at the relevant point. Now it’s true, I might not have much (meaning none, nada, zero) use for … Continue reading A New iPad?

Oh, Apple!

I iterate that I generally like Apple the company and Apple’s products, but sometimes Apple frustrates me all the same. For example…  Apple has a nifty feature called Hide My Email that allows the user (i.e., meaning me) to do exactly what it says. I can create an account at a site that requires that I … Continue reading Oh, Apple!

Swift Get Web Request

import Foundation func doHttpCall(st : String) -> Data { var xmlStr = Data() let url = URL(string: st)! let semaphore = DispatchSemaphore(value: 0) let task = URLSession.shared.dataTask(with: url, completionHandler: {(data, response, error) in if let error = error { print("Error: \(error)") } else if let response = response as? HTTPURLResponse, 300..<600 ~= response.statusCode { print("Error: … Continue reading Swift Get Web Request