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 #1446 [Medium]

Sunday, May 19, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a set of closed intervals, find the smallest set of numbers that covers

RD#456 Data Fetching Patterns in Single-Page Applications

Sunday, May 19, 2024

Five patterns to help Single Page Applications fetch data from remote sources ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

C#506 .NET 9 LINQ Performance Edition

Sunday, May 19, 2024

The team has been working on improving performance ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

PD#574 Programming like it’s 1977

Sunday, May 19, 2024

128 bytes of RAM, no operating system, and limited types of sprites ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Defeating Mouse Lint 🖱️

Sunday, May 19, 2024

How optical mice scrolled past rubber balls. Here's a version for your browser. Hunting for the end of the long tail • May 19, 2024 Hey all, sorry this is running a little late. Last week's odd

Android Weekly #623 🤖

Sunday, May 19, 2024

View in web browser 623 May 19th, 2024 Articles & Tutorials Sponsored Webinar: Compiler Technology vs Wrapper Solutions The right mobile app protection secures apps and SDKs against threats such as

Does AI spell doom for the open web?

Sunday, May 19, 2024

Plus, a proposal for Melinda French Gates View this email online in your browser By Anthony Ha Sunday, May 19, 2024 Image Credits: Google OpenAI and Google both made big announcements this week —

Sunday Digest | Featuring 'Visualizing the Tax Burden of Every U.S. State' 📊

Sunday, May 19, 2024

Every visualization published this week, in one place. Visual Capitalist Sunday Digest logo May 19, 2024 | View Online | Subscribe | VC+ The Best of This Week's Visuals Presented by Voronoi: The

Setapp's alternative mobile App Store & Subconscious winding down

Sunday, May 19, 2024

AI's major alien concept is transparency, Setapp launches alternative mobile App Store, The Happiness Trinity, and a lot more in this week's issue of Creativerly. Creativerly Setapp's

This Week's Daily Tip Roundup

Sunday, May 19, 2024

Missed some of this week's tips? No problem. We've compiled all of them here in one convenient place for you to enjoy. Happy learning! iPhoneLife Logo View In Browser Your Tip of the Day is