iOS Dev Weekly - iOS Dev Weekly - Issue 616

Let's talk about nutrition, shall we? Wait, what do you mean "Not that type of macros!" šŸ«˜
 

iOS Dev Weekly

 
View on the Web    Archives

ISSUE 616  June 30th 2023

 
Comment

  Comment  

 

Macros in Swift are this yearā€™s big language feature. Iā€™m sure youā€™ve already watched the excellent Write Swift macros and Expand on Swift macros WWDC session videos, but what comes after that?

We immediately put them in our production code and hope for the best, right? šŸ˜¬

I wrote something similar when Swift 5.4 introduced result builders, and we saw a proliferation of experiments. Now weā€™re in that same period with macros.

The package index is already filling up with packages that contain macros, and it makes me glad we added 5.9 support so quickly. Some of the packages Iā€™m linking to below will become essential parts of the Swift package ecosystem, and some will remain experiments. Itā€™s impossible to know which yet!

Thereā€™s everything from full-featured packages like SwiftRequest and papyrus that let you define a type-safe HTTP client with function annotations to smaller utility packages like AssociatedObject, which allows variable storage in extensions. There are many, many more though. Hereā€™s a list of others I saw this week:

Thereā€™s another advantage of having these packages available as open-source. They are educational resources, too! Are you curious about how you might want to use macros in your apps? Take a look through the source of some of the packages linked above. Iā€™m sure youā€™ll learn something.

Dave Verwer  Permalink

 
 

  Sponsored Link  

 

The #1 Chat API for Custom Messaging Apps

Streamā€™s Chat SDK helps you build beautiful chat applications with as little code as possible. With our SDKs, you can bring high-quality chat experiences to all of your end users. SDKs available for UIKit and SwiftUI. Try for Free Today. 30-Day Trial.

getstream.io  Permalink

 
 
 

  News  

 

Supporting visionOS Compatibility Testing

I mentioned our adoption of 5.9 above, and we followed that up this week by rolling out another upgrade to the Swift Package Index compatibility build system. visionOS support! That takes our total tested platforms up to six! šŸŽ²

swiftpackageindex.com  Permalink

 

Exploring the New Push Notifications Console

It was easy to miss amongst all the huge announcements at this yearā€™s conference, but Appleā€™s new Push Notifications Console deserves your attention. Rizwan Ahmed has a nice overview of what it can help you with. What a handy tool!

ohmyswift.com  Permalink

 
 

  Code  

 

SwiftUI Index

Yes, Apple added API version diffing to the official documentation many years ago, but that doesnā€™t mean there isnā€™t value in alternative ways to get the information about what changes with every beta release. Kuba Suder has been working hard on this great, searchable visualisation of Appleā€™s documentation that you can view by topic or release.

mackuba.eu  Permalink

 

containerRelativeFrame

Would you click this link if I said you were about to read 1,200 words on a single view modifier? How about if Jordan Morgan wrote those words? What if those words were way more interesting than Iā€™m making them sound here? This view modifier is fascinating!

swiftjectivec.com  Permalink

 

Trailing label TextField

Is this post from Magnus Jensen packed with the hottest exclusive iOS 17 information? No. Does it cover a well-designed solution to a problem you might also face? Yes. šŸŽ‰ Iā€™d better link to it, then!

magnuskahr.dk  Permalink

 

Embracing CloudKit

Iā€™ve enjoyed Stuart Wheelwrightā€™s journey through replacing his home-grown data sharing/syncing with CloudKit over the last few months. He wrapped up the 8-part series of posts a couple of weeks ago, and here they are! Thanks for sharing, Stuart! šŸ‘

shoppingukapp.com  Permalink

 
 

  Design  

 

New design resources now available

Get your updated design resources for iOS 17, macOS Sonoma, watchOS, tvOS, and ā€¦ visionOS! Yes, if you were wondering how on earth to mock up screen designs for the headset, then Apple has Sketch and Figma design libraries ready to use.

It also includes a link to the brand new SF Symbols 5 beta, where youā€™ll find more than 700 additional glyphs, animated symbols, and more.

apple.com  Permalink

 

Redemption

I really love the way that Lukas Mathis thinks about this problem.

If your app has a streak feature, provide some way to recover from a streak loss after it has happened.

ignorethecode.net  Permalink

 
 

  Jobs  

 

iPad Software Engineer @ Liquid Instruments ā€“ Liquid Instruments is a startup creating a range of modern test and measurement devices using reconfigurable FPGA hardware. We're looking for someone to help develop the beautiful iPad user interface that drives it all. ā€“ On-site (Australia)

 Permalink

 
 

  And finally...  

 

I said ā€œbut Craig uses it!ā€ šŸ’„

 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.
 
Shiny Development Ltd. Daresbury Innovation Centre Keckwick Lane Daresbury Cheshire WA4 4FS United Kingdom
 
 

 
 

RSS

 
Ā©2023 iOS Dev Weekly | Privacy Policy | Mastodon | Twitter | Suggest a Link
 
Published with Curated

Older messages

iOS Dev Weekly - Issue 615

Friday, June 23, 2023

Ride the visionOS rollercoaster with me! You can stop riding sometime in early 2024! 🎢 View on the Web Archives ISSUE 615 June 23rd 2023 Comment If you have been watching social media since the launch

iOS Dev Weekly - Issue 614

Tuesday, June 20, 2023

How many times last week did you hear "At Apple, we believe privacy is a fundamental human right. "? 🤫 View on the Web Archives ISSUE 614 June 16th 2023 Comment Did you spot this Apple

iOS Dev Weekly - Issue 613

Monday, June 12, 2023

Pass me that tape measure, I need to see how far along we are… 📏 View on the Web Archives ISSUE 613 June 9th 2023 Comment Well, they did it! This is a calibration moment. Take yourself back to a year

iOS Dev Weekly - Issue 612

Friday, June 2, 2023

In less than 75 hours, we'll know what Apple announced in this year's WWDC keynote. 🚀 View on the Web Archives ISSUE 612 June 2nd 2023 Comment In less than 75 hours, we'll know what Apple

iOS Dev Weekly - Issue 611

Friday, May 26, 2023

Just over a week to go! 🥁 View on the Web Archives ISSUE 611 May 26th 2023 Comment Now that Apple is running the primarily online but one-day on-site version of WWDC that we're about to enjoy for

You Might Also Like

📧 Building Async APIs in ASP.NET Core - The Right Way

Saturday, November 23, 2024

​ Building Async APIs in ASP .NET Core - The Right Way Read on: m​y website / Read time: 5 minutes The .NET Weekly is brought to you by: Even the smartest AI in the world won't save you from a

WebAIM November 2024 Newsletter

Friday, November 22, 2024

WebAIM November 2024 Newsletter Read this newsletter online at https://webaim.org/newsletter/2024/november Features Using Severity Ratings to Prioritize Web Accessibility Remediation When it comes to

➡️ Why Your Phone Doesn't Want You to Sideload Apps — Setting the Default Gateway in Linux

Friday, November 22, 2024

Also: Hey Apple, It's Time to Upgrade the Macs Storage, and More! How-To Geek Logo November 22, 2024 Did You Know Fantasy author JRR Tolkien is credited with inventing the main concept of orcs and

JSK Daily for Nov 22, 2024

Friday, November 22, 2024

JSK Daily for Nov 22, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component

Spyglass Dispatch: The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen

Friday, November 22, 2024

The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen The Spyglass Dispatch is a free newsletter sent out daily on

Charted | How the Global Distribution of Wealth Has Changed (2000-2023) 💰

Friday, November 22, 2024

This graphic illustrates the shifts in global wealth distribution between 2000 and 2023. View Online | Subscribe | Download Our App Presented by: MSCI >> Get the Free Investor Guide Now FEATURED

Daily Coding Problem: Problem #1616 [Easy]

Friday, November 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Alibaba. Given an even number (greater than 2), return two prime numbers whose sum will

The problem to solve

Friday, November 22, 2024

​ Use problem framing to define the problem to solve This week, Tom Parson and Krishna Raha share tools and frameworks to identify and address challenges effectively, while Voltage Control highlights

Issue #568: Random mazes, train clock, and ReKill

Friday, November 22, 2024

View this email in your browser Issue #568 - November 22nd 2024 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

Whats Next for AI: Interpreting Anthropic CEOs Vision

Friday, November 22, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 22, 2024? The HackerNoon