iOS Dev Weekly - iOS Dev Weekly - Issue 654

Yes, Uber.app, this intro was inspired by you and your complete fiction of an "Allow offers and promos..." setting! 🙄
 

iOS Dev Weekly

 
View on the Web    Archives

ISSUE 654  March 29th 2024

 
Comment

  Comment  

 

It’s that time of year again! Apple is hosting their now-usual one-day event, but I’m sure there will be community events popping up all over to complement it. I wish you luck if you’ve applied for a ticket!

The announcement of WWDC always prompts wishlists for enhancements to Apple’s operating systems, and this year I have one feature that I hope Apple has been working on.

I’d love a system-level API that allows developers to categorise their push notifications before, because guideline 4.5.4 isn’t working. Specifically this:

Push Notifications should not be used for promotions or direct marketing purposes unless customers have explicitly opted in to receive them via consent language displayed in your app's UI, and you provide a method in your app for a user to opt out from receiving such messages.

Yes, yes. I know there’s a difference between “should not” and “must not”, but it’s clear that this particular “should not” isn’t pulling its weight from a glance at the lock screen of most people’s phones.

I believe a good first step to solving this problem could be fairly simple, and wouldn’t take teams of people vetting messages. Apple should provide an API to let developers categorise their push notifications. That’s it! That’s the whole idea. 👍

I’m not sure you even need more than two categories, either. Maybe “essential” and “marketing”. Then, add the ability to control pushes for each category in Settings and let the user see how the app has categorised each message as they view it.

Would some apps abuse a system like this and claim everything was an essential notification? Sure they would, but even if they did we’d be no worse off than we are today. I believe most developers would act responsibly, though. The App Store Guideline could become “Push Notifications must be categorised …” and I think it would solve a significant amount of push notification spam.

There’s one final problem¹ with what I’m suggesting. How do you ensure developers don’t just ignore this as they send pushes? I’d give apps a (lengthy) period of adjustment, then set a date and say any uncategorised push after that date won’t get delivered. That should be effective persuasion for people to add the parameter.

I’m probably being horribly optimistic about how well this would work, but if I’m wrong and it needs more than what I proposed here, at least we’d be on the way to a better solution.

Are you going to make me happy in June, Apple? 🤞


Âą Who am I kidding? Apple will have needed to figure out hundreds more problems if they have been working on something along these lines, but I only have a few paragraphs here!

Dave Verwer  Permalink

 
 

  Sponsored Link  

 

Get the SOC 2 Compliance Kit from Secureframe

Security compliance can be complicated, especially when you're strapped for time and resources. This free SOC 2 compliance kit has everything you need to understand the process and get your SOC 2 report. It includes a free ebook, evidence collection spreadsheet, customizable policy templates, and an audit readiness checklist. Download the kit from Secureframe.

secureframe.com  Permalink

 
 
 

  News  

 

Dark Patterns are now illegal in India

I can’t easily find whether this became law in India, but I did find the draft guidelines from October last year. I also found another article talking about similar legislation in the EU and California, which has already resulted in a $245,000,000 fine to Epic Games. These cases are sure to hit the App Store, too, as so many apps are rife with these dark patterns. I hope we see more of this kind of legislation.

uxdesign.cc  Permalink

 
 

  Tools  

 

Customising the DocC documentation themes

Did you know you could customise the theme for your DocC documentation and that it would work both in the Xcode viewer and on your documentation generated for the web? No? Then I’ll assume you also didn’t know that if you host documentation for a Swift package, that Swift Package Index also supports these themes!

swiftpackageindex.com  Permalink

 
 

  Code  

 

Recreating Apple's beautiful visionOS search bar

Christian Selig dives back into UIkit on visionOS to match the look and feel of Apple’s visionOS search bars. I’m sure that SwiftUI will get updates to make this easier, but I love to see apps sweating the details and going above and beyond saying “That’ll do”. 👍

christianselig.com  Permalink

 

Make Your iOS App Smaller with Dynamic Frameworks

I’m not one to obsess over saving every byte in an app bundle, but this technique from Jacob Bartlett is worth doing if you have any significant asset bundles or other resources you use from extensions as well as your main app.

emergetools.com  Permalink

 

Swift Isolation Intuition

There was a trio of Swift concurrency posts this week and since it’s such a hot topic at the moment, you get all three here. First up, and the link above, is Matt Massicotte on isolation. Next is Joannis Orlandos on shared mutable state, and finally SwiftUI Views and MainActor from fatbobman. Enjoy!

massicotte.org  Permalink

 

Writing GNOME Apps with Swift

Is 2024 going to be the year of Linux on the desktop? Maybe if we all start writing apps in Swift for GNOME it could be! david-swift is here to show us how.

swift.org  Permalink

 
 

  Jobs  

 

iOS Engineer @ trivago – trivago, a metasearch engine using real-time auction and petabytes of data, enables millions of travelers compare hotel prices from hundreds of booking sites. Based in Düsseldorf, we foster a culture of learning and innovation, embracing flexibility for our talents to shape the travel industry. – On-site (Germany) with some remote work (Anywhere)

 Permalink

 

If you’d like to see your job featured in iOS Dev Weekly, post it on iOS Dev Jobs and select “Featured listing” as you check out, and it’ll be in next week’s newsletter. 🎉

 Permalink

 
 

  And finally...  

 

How much did an Apple Music subscription cost in 0024?

 Permalink

 
You received this email because you subscribed via the iOS Dev Weekly site.
We'll be sorry to see you go but you can unsubscribe instantly.
 
iOS Dev Weekly is published by Verwer Services Ltd. with a registered office at 5 Albert Road, Southsea, Hampshire, England, PO5 2SE.
 
 

 
 

RSS

 
©2024 iOS Dev Weekly | Privacy Policy | Mastodon | Suggest a Link
 
Published with Curated

Older messages

iOS Dev Weekly - Issue 653

Friday, March 22, 2024

We stand on the shoulders of so many giants that it's hard to see beneath the clouds! ☁️ View on the Web Archives ISSUE 653 March 22nd 2024 Comment Watching this video from Daniel Leivers

iOS Dev Weekly - Issue 652

Friday, March 15, 2024

We all make mistakes, but I just show 50000 people my mistakes 🫣 View on the Web Archives ISSUE 652 March 15th 2024 Comment I received two types of emails in response to last week's introductory

iOS Dev Weekly - Issue 651

Friday, March 8, 2024

How do you make a software developer deeply suspicious? Have them turn on a feature they expect to show errors but produce none! 😂 View on the Web Archives ISSUE 651 March 8th 2024 Comment Swift 5.10

iOS Dev Weekly - Issue 650

Friday, March 1, 2024

Tell me again about your new app idea… 😴 What's that? Sorry, I dropped off for a second 💤 View on the Web Archives ISSUE 650 March 1st 2024 Comment People often ask me about a new app idea they

iOS Dev Weekly - Issue 649

Friday, February 23, 2024

Platform fit? What kind of platform is it, and where are you trying to make it fit? 🫣 View on the Web Archives ISSUE 649 February 23rd 2024 Comment I know it's possibly a less popular opinion

You Might Also Like

💻 Issue 437 - Introducing local Azure Service Bus Emulator

Thursday, November 21, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 437 Release Date Nov 21, 2024 Your weekly report of the most popular .NET news, articles and projects

💎 Issue 444 - Why did people rub snow on frozen feet? (2017)

Thursday, November 21, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 444 - JavaScript Dos and Donts

Thursday, November 21, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular JavaScript news, articles

📱 Issue 438 - Reverse Engineering iOS 18 Inactivity Reboot

Thursday, November 21, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 438 Release Date Nov 21, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 362 - React Anti-Pattern: Stop Passing Setters Down the Components Tree

Thursday, November 21, 2024

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 362 Release Date Nov 21, 2024 Your weekly report of the most popular React news, articles and projects

💻 Issue 444 - Building simple event-driven applications with Pub/Sub

Thursday, November 21, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular Node.js news, articles and

📱 Issue 441 - Shift Left Is the Tip of the Iceberg

Thursday, November 21, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 441 Release Date Nov 21, 2024 Your weekly report of the most popular Swift news, articles and projects

💻 Issue 439 - Async/Await Is Real And Can Hurt You

Thursday, November 21, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 439 Release Date Nov 21, 2024 Your weekly report of the most popular Rust news, articles and projects

📲 Why I Ditched Linux for Samsung DeX — Buy This Instead of a Gaming Headset

Thursday, November 21, 2024

Also: Taking Instagram Stories to the Next Level, and More! How-To Geek Logo November 21, 2024 Did You Know Thurl Ravenscroft was both the voice behind the Christmas song "You're a Mean One,

Ranked | The World's 30 Largest Exporters 🌎

Thursday, November 21, 2024

We show the largest exporters in the world amid a surge in trade restrictions, rising populism, and shipping route disruptions. View Online | Subscribe | Download Our App 5 DAYS LEFT! Learn Visual