iOS Dev Weekly - iOS Dev Weekly - Issue 581

What languages and tools do you reach for to write that utility tool that'll save you time? 🎲
 

iOS Dev Weekly

 
View on the Web    Archives

ISSUE 581  October 21st 2022

 
Comment

  Comment  

 

In previous years, I’d have reached for Ruby (specifically rake) if I had to build a little helper tool or script that needed more than my limited knowledge of shell scripting. I wrote server code with Rails for a long time and still enjoy writing code with Ruby. It’s also great for knocking up little tools to automate repetitive tasks.

That’s changed recently, and it’s primarily down to one Swift package, swift-argument-parser. I built two small command line tools for some behind-the-scenes work on the Swift Package Index recently (1, 2) and used argument parser for both.

First of all, this package is seriously underselling itself. It should be named CommandLineKit or something that lets people know this is about much more than just parsing arguments. Making a tool that operates just how you’d expect any other command line tool to work is trivial. It’s fantastic. If you combine it with something like ShellOut you quickly find yourself with a powerful command line tool environment.

Secondly, it’s a great reminder that it’s easy to miss when a language you use regularly becomes significantly better at solving a problem. I had taken a quick look at argument parser when it first came out but hadn’t built anything with it and had missed what a step change it was for creating little utilities like these.

I hope this inspires a few of you to build your next utility with it! I don’t think you’ll regret it.

Dave Verwer

 
 

  Sponsored Link  

 

DevOps Summit- Enabling App Impact on November 10th

Mobile DevOps Summit 2022 is a one-day virtual conference powered by Bitrise that brings together over 100 speakers from Reddit, eBay, HSBC, The NY Times and more. Be part of the conversation where mobile thought leaders and industry experts discuss how they build amazing mobile apps. Register for free.

mobiledevops.io

 
 
 

  News  

 

Submissions now open for iOS 16.1

I can’t wait to see what you’ve all cooked up with Live Activities! It may not be arriving alongside Ventura and iPadOS 16 on Monday, but if it doesn’t, it won’t be far behind.

apple.com

 
 

  Tools  

 

Xcode 14 Single Size App Icon

I was happy to see that Xcode can now generate all icon sizes from a single 1024x1024 image, but I did think it might lead to some developers not worrying too much about how icons look at smaller sizes.

Of course, as Keith Harrison explains in this article, you can override any size after adding your large icon. I just hope people still do, especially for macOS app icons, where it really makes a difference.

useyourloaf.com

 
 

  Code  

 

Visualise the Matthew Effect with Swift Charts

This is such a great post from Eric Callanan. You’ll find plenty of tutorials on how to set up a basic chart with Swift Charts, and this post is not that. He digs into visualising the Matthew effect using the framework. I’d be surprised if you didn’t learn something from this!

swdevnotes.com

 

Making a Swift package manifest more readable

It was an interesting choice to make package manifests from Swift code rather than purely configuration data. I won’t get into whether I think it was the right choice right now, as there are certainly both pros and cons to the decision. One for the pros list is this tip from Sven A. Schmidt.

twitter.com

 

Three Ways to Refactor Massive SwiftUI Views

If you’ve written any SwiftUI code, you’ve probably hit the situation where you just add one more view and a couple of view modifiers and another view, and oh yeah, we need another view modifier there. Don’t forget that we also need to add that icon on the right-hand side and all the view modifiers it brings. Wait. How did we end up with a 400-line view?! 😂 Leonardo Pugliese is here to save us from ourselves.

holyswift.app

 
 

  Jobs  

 

Senior iOS Developer @ Shape Games – Join a team of talented developers who are passionate about working with Swift. We offer visa and relocation support if you want to join us in lovely Copenhagen. We are also open for fully remote team members. – Remote (within European timezones)

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 @ 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 iOS Engineer @ DuckDuckGo – Our app is now downloaded more than 50M times a year, and our private search engine packaged with it has become the #2 search engine on mobile in the U.S., Canada, Australia and the Netherlands. Oh, and we've been profitable since 2014 with revenue currently exceeding $100 million a year! – Remote (Anywhere)

Mac & iOS Software Engineer @ Flexibits Inc. – We make Fantastical and Cardhop, award-winning calendar and contacts apps for Mac and iOS. We were honored to win Apple's Mac App of the Year in 2020 and we're looking to make our apps even better! Our team is a 18 person, fully-remote company spread across the US and Europe. – Remote (within US or European timezones)

 
 

  And finally...  

 

I couldn’t find a recording of the Tim Cook, Laurene Powell Jobs, and Jony Ive interview immediately after it happened, and I forgot to follow up on my search.

Until this week, when I looked again and found it!

 
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

Older messages

iOS Dev Weekly - Issue 580

Friday, October 14, 2022

What would you Ask Apple, if you could? 🤷‍♂️ View on the Web Archives ISSUE 580 October 14th 2022 Comment When WWDC went virtual in 2020 and Apple replaced the in-person labs with virtual ones run over

iOS Dev Weekly - Issue 579

Friday, October 7, 2022

The question of what technologies to use has no definitive answer! 🎲🤷‍♂️ View on the Web Archives ISSUE 579 October 7th 2022 Comment Why do I link to Alexandre Colucci's articles reporting on

iOS Dev Weekly - Issue 578

Friday, September 30, 2022

Belated congratulations to the Apple Design Award winners! 🏆 View on the Web Archives ISSUE 578 September 30th 2022 Comment I am sure that winning an Apple Design Award is a dream for many of you.

iOS Dev Weekly - Issue 577

Friday, September 23, 2022

Should we all be taking a look at Kotlin? ☕️ View on the Web Archives ISSUE 577 September 23rd 2022 Comment I had an email from Derek Lee this week informing me about his latest article on getting

iOS Dev Weekly - Issue 576

Friday, September 16, 2022

Will Live Activities be a hit or a miss? 🎯 View on the Web Archives ISSUE 576 September 16th 2022 Comment Isn't it great to be back to not having a beta version of Xcode installed? I hope you

You Might Also Like

🕹️ Retro Consoles Worth Collecting While You Still Can — Is Last Year's Flagship Phone Worth Your Money?

Saturday, November 23, 2024

Also: Best Outdoor Smart Plugs, and More! How-To Geek Logo November 23, 2024 Did You Know After the "flair" that servers wore—buttons and other adornments—was made the butt of a joke in the

JSK Daily for Nov 23, 2024

Saturday, November 23, 2024

JSK Daily for Nov 23, 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

Not Ready For The Camera 📸

Saturday, November 23, 2024

What (and who) video-based social media leaves out. Here's a version for your browser. Hunting for the end of the long tail • November 23, 2024 Not Ready For The Camera Why hasn't video

Daily Coding Problem: Problem #1617 [Easy]

Saturday, November 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. You are given an string representing the initial conditions of some dominoes.

Ranked | The Tallest and Shortest Countries, by Average Height 📏

Saturday, November 23, 2024

These two maps compare the world's tallest countries, and the world's shortest countries, by average height. View Online | Subscribe | Download Our App TIME IS RUNNING OUT There's just 3

⚙️ Your own Personal AI Agent, for Everything

Saturday, November 23, 2024

November 23, 2024 | Read Online Subscribe | Advertise Good Morning. Welcome to this special edition of The Deep View, brought to you in collaboration with Convergence. Imagine if you had a digital

Educational Byte: Are Privacy Coins Like Monero and Zcash Legal?

Saturday, November 23, 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 23, 2024? The HackerNoon

🐍 New Python tutorials on Real Python

Saturday, November 23, 2024

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Black Friday Giveaway @ Real Python This Black

Re: Hackers may have stolen everyone's SSN!

Saturday, November 23, 2024

I wanted to make sure you saw Incogni's Black Friday deal, which is exclusively available for iPhone Life readers. Use coupon code IPHONELIFE to save 58%. Here's why we recommend Incogni for

North Korean Hackers Steal $10M with AI-Driven Scams and Malware on LinkedIn

Saturday, November 23, 2024

THN Daily Updates Newsletter cover Generative AI For Dummies ($18.00 Value) FREE for a Limited Time Generate a personal assistant with generative AI Download Now Sponsored LATEST NEWS Nov 23, 2024