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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your