iOS Dev Weekly - iOS Dev Weekly - Issue 586

What's the difference between a package registry and a package index? šŸ¤·ā€ā™‚ļø
 

iOS Dev Weekly

 
View on the Web    Archives

ISSUE 586  November 25th 2022

 
Comment

  Comment  

 

Having a visible evolution process for the Swift language is great, but it can be easy to get tied up in the weeds of specific proposals and lose the broader picture, so it was great to see John McCallā€™s post about the Swift projectā€™s plans for 2023.

You should read the whole post, but I was delighted to see a section on a topic close to my heart: Package registries.

It might have been a while since you heard mention of package registries, but they are a critical part of a robust package ecosystem. Your current interaction with Swift packages is from your package manifest directly through to their git repositories. That works well on a basic level, but while git repositories work exceptionally well for code development, theyā€™re not a great repository for package artefact storage. The most serious problem by far is that they are not immutable. Git tags can be moved around, meaning that what two consumers have as a specific version may not be identical. šŸ˜¬ There are other problems, though. Itā€™s not great to download the entire commit history of a package to use it, and donā€™t forget that git repositories can move around or change owner. Tying everything to a git URL isnā€™t perfect.

Package registries solve that by providing a mechanism to deliver guaranteed, compressed versions of packages from a stable location. Anyone can make a registry, too, so it wonā€™t necessarily be a centralised repository hosted by just one company, although weā€™ll see how that plays out in reality! The client side of package registry support was implemented in Swift 5.7, but you almost certainly wonā€™t have used it yet, because there is no public package registry, and thatā€™s what Apple is announcing in this post. They will be creating an open-source implementation of a package registry server. Exciting news!

Where does that leave the Swift Package Index? Our plan has always been to support package registries as soon as they gain adoption, and we will work with Apple as they implement the package registry service. Once implemented, we will aggregate and provide discovery for packages, just as we do today.

Swift already has a great package ecosystem, and I couldnā€™t be happier to hear this announcement. šŸŽ‰

Dave Verwer

 
 

  Sponsored Link  

 

Mobile Testing Made Easy

Waldo provides your team with the managed infrastructure and tooling you need to quickly build and maintain your automated tests. Try it for free today!

waldo.com

 
 
 

  News  

 

Black Friday Deals

Happy Thanksgiving to those who celebrate it, and Happy Black Friday to everyone, as that has certainly become a worldwide phenomenon in the last few years. šŸ˜¬

This repository, maintained by Marius Landwehr gets better every year. This year there are hundreds of Black Friday offers if you want to grab a bargain on a book, training course, or app.

github.com

 

Q&A: 10 Questions with Design Evangelism

This is great. Itā€™s a conversation with the Apple Design Evangelism team, and itā€™s well-written and full of great tips. Itā€™s certainly worth a read.

Iā€™ll also repeat my request that this format would be a great way for Apple to summarise the content from the ā€œdigital loungeā€ Slack sessions that have been part of WWDC and the Ask Apple events.

apple.com

 
 

  Tools  

 

AppDab

Wouldnā€™t it be better if you use a native app to manage your App Store listings, devices, certificates, and many of the other things that App Store Connect can do? Hereā€™s Morten Bjerg Gregersen with a brand new app that does exactly that. Itā€™s free to manage one app, paid if you have more than one, and it looks great.

One thing that made me smile is that the ā€œfeatureā€ of this app remembering your device, so you donā€™t need to 2FA every single time, is mentioned almost at the top of the App Store listing for the app. I really wish Apple would either remove that ā€œTrustā€ button or fix whatever stops it working.

appdab.app

 
 

  Code  

 

Using complex gestures in a ScrollView

There are some good tips in this article from Daniel Saidi for enabling multiple gestures to work together with SwiftUI. However, whenever you need the techniques in this article, Iā€™d also spend a few minutes considering whether there may be another way to organise your UI so you donā€™t need multiple gestures. Gestures are great, but it can be easy to make the UI more challenging for your users as well as the code for you!

danielsaidi.com

 

Better SwiftUI navigation APIs

Navigation was one of Appleā€™s major areas of focus with this yearā€™s SwiftUI updates, but that doesnā€™t mean itā€™s perfect! Thatā€™s what Brandon Williams and Stephen Celis have written about here, with an update to their swiftui-navigation library.

pointfree.co

 

Developing Apps with the HomeKit Accessory Simulator

If youā€™ve never worked with HomeKit, you may not be aware that Apple provide a HomeKit Accessory Simulator. I certainly had no idea! Luckily, Moritz Philip Recke has written up a great post showing us what it can do.

createwithswift.com

 

Redacting information in Lock Screen Widgets

Letā€™s finish this weekā€™s code links with a quick tip from Alexander WeiƟ about considering what information you might like to hide in your Lock Screen widgets. šŸ¤«

alexanderweiss.dev

 
 

  Design  

 

Icon speedrun guides

I always loved it when Marc Edwards would tweet an icon speedrun, and while I learned a lot from them, I sometimes wished I could understand more of what he was doing. Wouldnā€™t it be great if he wrote up some guides? šŸ¤Æ The one linked above is the pushpin, but he also wrote up the flag, pen nib, and fingerprint. šŸŽ‰

bjango.com

 
 

  Jobs  

 

iOS SDK Developer @ Stream ā€“ Do you want to work on an open-source chat SDK used by hundreds of high-profile companies and startups that impact billions of users? If you are a product-minded engineer and care about software quality, apply on the link below. ā€“ Remote (within European timezones) or on-site (Netherlands)

Freelance Interview Engineer (US Only) @ Karat ā€“ We're dedicated to improving access in tech. If you are too, join us as a Karat Interview Engineer. As such, you'll conduct technical interviews of developers like you on behalf of our hiring clients (including Duolingo, Indeed, and more) using the Karat Platform and its data-tested questions. ā€“ Remote (within US timezones)

Senior Swift (iOS) Developer @ Nord Security ā€“ iOS developer has an essential role in growing the NordPass product and a lot of freedom to make an impact. There is plenty of space for experiments and constant improvement. You would be a part of a very ambitious and enthusiastic team which gives a lot of support and encouragement every day. ā€“ Remote (within European timezones)

Senior iOS Engineer @ Doximity ā€“ Doximity, the medical network used by over 80% of US clinicians, is hiring passionate iOS engineers (fully remote!). Come be part of an amazing product team + work on an app that is constantly evolving. Use your skills (Swift, TCA, Combine) to be an integral part of our growing telemed feature. ā€“ Remote (within US timezones)

Native iOS Engineer @ MartianCraft ā€“ Are you someone who enjoys collaboratively solving challenging problems? At MartianCraft, we work together to create innovative software for our clients. Youā€™ll always be surrounded by the best and brightest in the industry. ā€“ Remote (within US timezones)

 
 

  And finally...  

 

If you thought web3 was going badly, Twitter is asking web3 to hold its beer. šŸ˜¬

 
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
 
 

 
 
Ā©2022 iOS Dev Weekly | Privacy Policy | Twitter | Suggest a Link
 
Published with Curated

Key phrases

Older messages

iOS Dev Weekly - Issue 585

Friday, November 18, 2022

Are you ready to take your code samples and documentation to a whole new level? Apple isn't, but they will be! 🚀 View on the Web Archives ISSUE 585 November 18th 2022 Comment Like Marco Eidinger, I

iOS Dev Weekly - Issue 584

Friday, November 11, 2022

Does the world need another tech podcast? It absolutely does not. Have we made one anyway? Yes we have. 😅 View on the Web Archives ISSUE 584 November 11th 2022 Comment I've not talked about it in

iOS Dev Weekly - Issue 583

Friday, November 4, 2022

Should the App Store have ads? 🤷‍♂️ View on the Web Archives ISSUE 583 November 4th 2022 Comment I'm not against adverts. How could I be? I make a significant portion of my income from sponsorship

iOS Dev Weekly - Issue 582

Friday, October 28, 2022

Is it time to check that your App Store review demo account still works? 😅 View on the Web Archives ISSUE 582 October 28th 2022 Comment Along with this week's operating system releases, Apple made

iOS Dev Weekly - Issue 581

Friday, October 21, 2022

What languages and tools do you reach for to write that utility tool that'll save you time? 🎲 View on the Web Archives ISSUE 581 October 21st 2022 Comment In previous years, I'd have reached

You Might Also Like

🤓 The Meta Quest Might Be the VR Steam Deck Soon — Games to Play After Finishing Wordle

Friday, April 26, 2024

Also: Why a Cheap Soundbar Is Better Than Nothing, and More! How-To Geek Logo April 26, 2024 Did You Know TMI: Rhinotillexomania is the medical term for obsessive nose picking. 🖥️ Get Those Updates

JSK Daily for Apr 26, 2024

Friday, April 26, 2024

JSK Daily for Apr 26, 2024 View this email in your browser A community curated daily e-mail of JavaScript news A Solid primer on Signals with Ryan Carniato (JS Party #320) Ryan Carniato joins Amal

So are we banning TikTok or what?

Friday, April 26, 2024

Also: Can an influencer really tank an $800M company? View this email online in your browser By Haje Jan Kamps Friday, April 26, 2024 Image Credits: Jonathan Raa/NurPhoto / Getty Images Welcome to

[AI Incubator] 300+ people are already in. Enrollment closes tonight at 11:59pm PT.

Friday, April 26, 2024

How to decide if you're ready. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Daily Coding Problem: Problem #1423 [Medium]

Friday, April 26, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. You are given an array of nonnegative integers. Let's say you start at the

Data science for Product Managers

Friday, April 26, 2024

Crucial resources to empower you with data that matters. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Inner Thoughts

Friday, April 26, 2024

'The Inner Circle' Comes Around... Inner Thoughts By MG Siegler • 26 Apr 2024 View in browser View in browser If you'll allow me a brief meta blurb this week (not a Meta blurb, plenty of

Digest #135: Kubernetes Hacks, Terraform CI/CD, HashiCorp Acquisition, AWS Data Transfer Monitoring

Friday, April 26, 2024

Explore Advanced Kubernetes Techniques, Dive Into Terraform CI/CD Frameworks, Monitor AWS Data Transfer, and Explore Cloud Security with Gitleaks! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Build5Nines Newsletter - April 25, 2024

Friday, April 26, 2024

View this email in your browser Build5Nines Build5Nines Newsletter Thank you for subscribing! I look forward to sharing with you the latest cloud news, technical help, and other thoughts around DevOps

Ranked | Which City Has the Most Billionaires in 2024? 💰

Friday, April 26, 2024

Just two countries account for half of the top 20 cities with the most billionaires. And the majority of the other half are found in Asia. View Online | Subscribe Presented by: Discover what drives