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

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

iOS Cocoa Treats

Friday, November 22, 2024

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Using the SwiftUI ImageRenderer The SwiftUI ImageRenderer