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
Apple
Apple’s Vision Thing
Today Apple finally unveiled its Vision thing that’s been rumored for some time. At a price of $3500 it doesn’t even begin to tempt me, but I wish them the best of luck!
Aim for the Trees
Once upon a time there was an app for the iPhone called Dark Sky. And everyone who tried it said it was good. It was a weather app and it had the amazing ability to predict the start and stop times of rain down to the precise minute. Even Apple maven John Gruber was impressed. … Continue reading Aim for the Trees
Barking Up the Wrong Tree
An appeals court has mostly sided with Apple in the suit with Epic. Or as John Gruber put it: “Long story short, Epic has been barking up the wrong tree.”
Apple Music Classical
Apple has finally released its app designed specifically for classical music, though I haven’t really had much of a chance to try it out yet, partly because it’s currently only available for iPhone and iPad (with Android yet to come), and I do more listening on my iMac. I do want to briefly mention two … Continue reading Apple Music Classical
Lift the Subject
Since I’ve recently complained a bit about Apple products, I thought I’d mention one of my favorite new features of its latest iOS and iPadOS systems, the ability to lift the subject of a photo. I’ve been finding it quite useful for creating photos for this fine blog. All you have to do is find … Continue reading Lift the Subject
Stand!
Seven years ago I made a video about the inability of the Apple Watch to correctly track when one was standing, even though that’s one of the three things that it claims to track. Well, it hasn’t improved. I realize that it can’t really track whether one is standing or not, but what it does … Continue reading Stand!
It Just Works
A few days ago Atrios was complaining about Apple products, in that while it was once true that they “just worked”, at least for the most part, it was no longer true. He has a point, but what he neglected to mention is that the computing environment has gotten extremely more complex in the intervening … Continue reading It Just Works
The iPhone X’s Face ID
Within just a few minutes of use I could tell that the new iPhone X's Face ID was far and away superior to the old unreliable (for me anyway) Touch ID.Touch ID was extremely fussy in its initial incarnation and a bit slow. Even in its second generation which everyone seemed to rave about, it … Continue reading The iPhone X’s Face ID