The Diminishing Utility of MFMailComposeViewController

Apple gave users the ability to chose alternative default email apps, reducing the utility of MFMailComposeViewController....

January 8, 2021 · 1 min

Tappable Areas in a SwiftUI List Row

I have a problem with the tappable area in a SwiftUI list row: it doesn’t cover the entire row. Here is my code: Section(header: Text("Latest Transit News").bold(), content: { HStack(alignment: .center) { Image("Twitter") .resizable() .renderingMode(.template) .frame(width: 18.33, height: 15.14) .foregroundColor(Color("TwitterBlue")) VStack(alignment: .leading) { Text("SBS Transit") Text("@SBSTransit_Ltd").font(.caption).foregroundColor(.secondary) } Spacer() }.onTapGesture { UIApplication .shared .open(SupportURL.sbs.url, options: [UIApplication.OpenExternalURLOptionsKey.universalLinksOnly : false], completionHandler: nil) } This produces the expected row: The only tappable area in the entire row is enclosed in the red box: the Image and Text....

May 30, 2020 · 1 min

WWDC 2020 Wishlist

This WWDC wishlist is focused around the frameworks and functionality that I’ve been working with over the last year or so. It is by no means comprehensive. I’ve also not included anything that I know to be around the corner, e.g. resources in Swift Package Manager. Frameworks BackgroundTasks : The current implementation of BGAppRefreshTask gives developers the ability to schedule a task to start no earlier than than a specified time, e....

May 22, 2020 · 2 min