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

Iran's Charming Kitten Deploys BellaCPP: A New C++ Variant of BellaCiao Malware

Wednesday, December 25, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Software Testing Weekly - Issue 251

Wednesday, December 25, 2024

GitHub Copilot is free! 🤖 View on the Web Archives ISSUE 251 December 25th 2024 COMMENT Welcome to the 251st issue! In case you missed it — GitHub Copilot is free! The free version works with Visual

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a

😱 AzureEdge.net DNS Retiring Jan. 2025, 🚀 Microsoft Phi-4 AI Outperforms, 🔒 Microsoft Secure Future Initiative

Tuesday, December 24, 2024

Blog | Advertise | View Online Your trusted source for Cloud, AI and DevOps guidance with industry expert Chris Pietschmann! Phi-4: Microsoft's New Small Language Model Outperforms Giants in AI

Mapped | The Top Health Insurance Companies by State 🏥

Tuesday, December 24, 2024

In 13 US states, a single company dominates the health insurance market, holding at least half of the total market share. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power

The Stanford Grad Who Forgot How To Think

Tuesday, December 24, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 24, 2024? The

The next big HDMI leap is coming

Tuesday, December 24, 2024

Sora side hustles; Casio's tiny watch comes to the US -- ZDNET ZDNET Tech Today - US December 24, 2024 Ecovacs Deebot T30S Combo robot vacuum and mop The next big HDMI leap is coming next month -

⚙️ Robo-suits

Tuesday, December 24, 2024

Plus: The data center energy surge ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌