Comments for Erica Sadun http://ericasadun.com Where technology meets something or other Tue, 27 Jun 2017 23:44:15 +0000 hourly 1 https://wordpress.org/?v=4.8 Comment on Holy War: Why I utterly loathe the new app switcher in iOS 11 by Sarah http://ericasadun.com/2017/06/23/holy-war-why-i-utterly-loathe-the-new-app-switcher-in-ios-11/#comment-9744 Tue, 27 Jun 2017 23:44:15 +0000 http://ericasadun.com/?p=5726#comment-9744 I don’t get that last screenshot (the “oh you have to be kidding me” one) – what do you want to tell us with that? That Safari’s upside down? Because guess what – it’s called a beta for a reason …

]]>
Comment on Holy War: Why I utterly loathe the new app switcher in iOS 11 by Jeff http://ericasadun.com/2017/06/23/holy-war-why-i-utterly-loathe-the-new-app-switcher-in-ios-11/#comment-9743 Tue, 27 Jun 2017 22:04:15 +0000 http://ericasadun.com/?p=5726#comment-9743 It’s a bit dishonest to compare apples (iPhone UI) to oranges (iPad UI) like this. But being honest, and comparing the old iPhone UI to the new one would not have made the author’s point. It also would have interfered with the author’s point to acknowledge that the new iPad UI is configurable, and that there do not have to be so many controls visible.

]]>
Comment on Holy War: Why I utterly loathe the new app switcher in iOS 11 by Barry http://ericasadun.com/2017/06/23/holy-war-why-i-utterly-loathe-the-new-app-switcher-in-ios-11/#comment-9742 Tue, 27 Jun 2017 22:00:59 +0000 http://ericasadun.com/?p=5726#comment-9742 “Holy war”?

]]>
Comment on Working with optional errors in completion handlers by Richard http://ericasadun.com/2017/06/27/working-with-optional-errors-in-completion-handlers/#comment-9741 Tue, 27 Jun 2017 21:26:05 +0000 http://ericasadun.com/?p=5731#comment-9741 This works in Xcode 9 beta 2, as well. The only warning that remains is for not consuming the value “error”.


if let _ = error as NSError? {
print("Worked")
}

works just fine

]]>
Comment on Holy War: Why I utterly loathe the new app switcher in iOS 11 by jeremy pereira http://ericasadun.com/2017/06/23/holy-war-why-i-utterly-loathe-the-new-app-switcher-in-ios-11/#comment-9740 Tue, 27 Jun 2017 19:22:19 +0000 http://ericasadun.com/?p=5726#comment-9740 I think I’ll quit apps whenever I damn well feel like. It’s absurd to suggest iOS can’t handle me quitting an app. This was a solved problem for operating systems decades ago.

Anyway, sometimes you need to quit an app. It might be draining your battery or it might need a “reset”.

]]>
Comment on Holy War: Why I utterly loathe the new app switcher in iOS 11 by Jen http://ericasadun.com/2017/06/23/holy-war-why-i-utterly-loathe-the-new-app-switcher-in-ios-11/#comment-9739 Tue, 27 Jun 2017 19:15:55 +0000 http://ericasadun.com/?p=5726#comment-9739 I so agree with you. I just put the public beta on my iPad and I can’t BELIEVE how cumbersome it is to close apps! I googled it because I thought surely I was missing a new, easier, faster way to close apps. But no. This is a huge step backwards. And yeah, I have no idea what those icons are and I have been an Apple-only user for 10 years.

]]>
Comment on Working with optional errors in completion handlers by Dave Murdock http://ericasadun.com/2017/06/27/working-with-optional-errors-in-completion-handlers/#comment-9738 Tue, 27 Jun 2017 18:33:12 +0000 http://ericasadun.com/?p=5731#comment-9738 Also running Xcode 8.3.3, and the warning on let error = error as? NSError is intermittently generated.

]]>
Comment on Working with optional errors in completion handlers by Dean http://ericasadun.com/2017/06/27/working-with-optional-errors-in-completion-handlers/#comment-9737 Tue, 27 Jun 2017 17:01:53 +0000 http://ericasadun.com/?p=5731#comment-9737 Oh, some of you folks are on Xcode 9 Betas. I used Xcode 8.3.3 and the last example worked fine without parens.

]]>
Comment on Working with optional errors in completion handlers by Theodore http://ericasadun.com/2017/06/27/working-with-optional-errors-in-completion-handlers/#comment-9736 Tue, 27 Jun 2017 15:39:42 +0000 http://ericasadun.com/?p=5731#comment-9736 Hi Erica,

Thanks for the tips! I’ve tried running the code without the parentheses

enum Bad: Error { case luck }

let error: Bad? = Bad.luck

if let error = error as NSError? {
print(“Worked”)
}

and it works for me. the error inside if statement is correctly cast to NSError.
i’m running this on Xcode 8.3.2 playground though so i’m not sure if things changed on Xcode 9.

]]>
Comment on Working with optional errors in completion handlers by Dave Murdock http://ericasadun.com/2017/06/27/working-with-optional-errors-in-completion-handlers/#comment-9735 Tue, 27 Jun 2017 15:36:01 +0000 http://ericasadun.com/?p=5731#comment-9735 I spoke to soon. Xcode 9 Beta 1 I wasn’t seeing this as a warning (AFAIR), but just tried in Beta 2 before fixing it and it showed the warning.

]]>