iOS Dev Weekly - iOS Dev Weekly - Issue 623

Welcome to swift-iOS-Dev-Weekly! 🤣
 

iOS Dev Weekly

 
View on the Web    Archives

ISSUE 623  August 18th 2023

 
Comment

  Comment  

 

If you’ve listened to the last couple of episodes of the Swift Package Index podcast, Swift Package Indexing, you’ll have heard Sven and I talk about package naming.

It’s something that we both spend more time than most thinking about, given what we do, but at the risk of diving directly into one of the hard problems, I’d love to see more consistency with how the Swift community names packages.

Before SwiftPM, package/library naming was mainly PascalCase, with a few packages carrying over some pseudo namespacing left over from Objective-C. But since SwiftPM, things have started to diverge a bit, with all lowercase package names, and then, my pet peeve, packages that include “swift” in the package name. It just feels so unnecessary for packages built for the Swift package manager. 🫨

I understand that in the big wide world of GitHub repository names, you might want to make the repository name indicate the primary language¹, but package manifests have a name field that’s purely for naming, and yet…

I’d usually call for Apple to take a stand here and set a standard, but they are being quite consistent already. Unfortunately, they’re consistently adding the “swift-“ prefix. 😬

Is there some reason I’m missing as to why these names all start with “swift”? I know this is only a small nitpick in the grand scheme of things, but I’d love it if Swift package naming could head back towards PascalCase being the standard, as it used to be.


¹ Although I’d argue GitHub language filtering is better than including the language as part of the repository name.

Dave Verwer  Permalink

 
 

  Sponsored Link  

 

Stream

Stream makes it easy for you to seamlessly integrate real-time experiences into your application. Check out our Swift tutorial to learn how you can get started adding messaging or video to your apps!

getstream.io  Permalink

 
 
 

  News  

 

SSWG 2023 Annual Update

What progress has Swift on the Server had over the past year? Tim Condon and Franz Busch are here with a breakdown of what the workgroup has focused on and their plans for the future.

swift.org  Permalink

 
 

  Code  

 

Setup for remote push notifications

As Natalia Panferova said when she linked to her latest article on Mastodon:

There are a lot of steps involved in preparing an iOS project for remote push notifications.

Yes, there are! This is a blogging technique that I like to call “Writing it down for everyone, and for future you!”

nilcoalescing.com  Permalink

 

Automating Memory Leak Detection with XCTest

What a clever technique written up by Dan Torres for integrating memory leak tracking into unit tests. I really liked this and I suspect it could be even further automated with a macro. 👍

For full disclosure, Dan mentions that he learned about this technique from an Essential Developer course, and Essential Developer is a regular sponsor of this newsletter.

qualitycoding.org  Permalink

 

Adapting an App to visionOS

I enjoyed this article by Stuart Varrall, where he takes his personal cricket app and adapts it to visionOS. I love a real-world story to follow along with, and it’s worth following along with his process.

Note: I can only apologise for the reading experience when you click this link. I got a full-screen subscribe prompt, which covered every word Stuart had written, followed by the article fading out and another subscribe prompt I had to dismiss as I got about halfway through. How did Substack become such a bad reading experience so quickly? It’s not Stuart’s fault, but be warned before you click through.

substack.com  Permalink

 

Swift URL absoluteString versus path

When is a URL, not a URL? When it’s a file URL. Jesse Squires explains.

jessesquires.com  Permalink

 
 

  Design  

 

Typography is impossible

I’m struggling to think of a typography issue I’ve ever tried to solve that Marcin Wichary doesn’t explain perfectly in this wonderful article. If we still did browser bookmarks, this would be at the top of my “You’ll need this all the time” folder. ❤️

medium.engineering  Permalink

 

Lottielab

I saw this new tool as it entered public beta this week, and it looks to be fantastic. If you don’t need everything After Effects can do (and you don’t!) and are looking for something quick, simple, and free (at least during beta) to make your Lottie animations, this looks really good.

lottielab.com  Permalink

 
 

  Books  

 

Thinking in SwiftUI 2023

When I looked back to the last time I linked to Chris Eidhof and Florian Kugler’s SwiftUI book, I was surprised to see it had been over three years, so it’s time for an update! 😲 They have updated it for SwiftUI ’23, and I’d still thoroughly recommend it.

For full disclosure, I received a review copy of the book.

objc.io  Permalink

 
 

  Jobs  

 

Software Engineer, macOS @ Raycast – Build something you actually use. Ship every two weeks. No bureaucracy bs. Hack on ideas every Friday. Location-independent salary. Remote, UTC ± 3 hours. – Remote (within European timezones)

 Permalink

 

Don’t forget you can list iOS, macOS, visionOS, or any Swift job over on iOS Dev Jobs for free!

 Permalink

 
 

  And finally...  

 

I have such fond memories of every iMac I have ever owned, from a Bondi Blue original (which was tragically lost to fire) to a 27” that I used for many, many years. Happy 25th Birthday, iMac!

 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 622

Monday, August 14, 2023

Have you ever considered starting a blog? View on the Web Archives ISSUE 622 August 11th 2023 Comment I recently read this post from Danijela Vrzan on reaching one year of blogging about Swift. She

iOS Dev Weekly - Issue 621

Friday, August 4, 2023

Is it finally time for a quick take on SwiftData? 📸 View on the Web Archives ISSUE 621 August 4th 2023 Comment I've struggled to know what to write about SwiftData since its debut a few weeks ago,

iOS Dev Weekly - Issue 620

Friday, July 28, 2023

Do you want to get a Vision Pro all for yourself, spend a day with one, or have someone else spend time with one for you? 🥽 View on the Web Archives ISSUE 620 July 28th 2023 Comment I won't go into

iOS Dev Weekly - Issue 619

Friday, July 21, 2023

How do you build a habit-building UI for the long term? ♻️ View on the Web Archives ISSUE 619 July 21st 2023 Comment Note: This issue's comment relates to app design, but the writing is less

iOS Dev Weekly - Issue 618

Sunday, July 16, 2023

Hearing about the experience of using Vision Pro from a developer's perspective is important 🧑‍🔬 View on the Web Archives ISSUE 618 July 14th 2023 Comment It's been a few weeks since they were

You Might Also Like

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 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Apache Tomcat Vulnerability CVE-2024-56337 Exposes Servers to RCE Attacks

Tuesday, December 24, 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

Edge 459: Quantization Plus Distillation

Tuesday, December 24, 2024

Some insights into quantized distillation ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏