iOS Dev Weekly - iOS Dev Weekly - Issue 573

Have we reached peak Regex with RegexBuilder? 🕺
 

iOS Dev Weekly

 
View on the Web    Archives

ISSUE 573  August 26th 2022

 
Comment

  Comment  

 

One prominent feature of Swift’s upcoming iOS 16 and macOS Ventura releases is a complete re-think of regular expressions. If you haven’t seen the new APIs in use yet, the best place to get up to speed is this WWDC video. It’s the first major step forward for regular expressions in years!

We all reach for a regular expression for rough and ready string parsing, but if you’re anything like me, you end up parsing out the same types of data every time. Maybe you’re looking to pull out a number and then a date, followed by an email address or URL. Then, next time you’re just looking for an email address and a number.

You can build that kind of parsing toolkit with the new RegexBuilder APIs, but what if you didn’t need to?

I’ve been a huge fan of Soulver for so many years now that I can’t remember when I started using it, but it remains an integral part of the apps I use every day. SoulverCore has been available for a couple of years, which is the main calculation engine that powers the app. Then, on Wednesday, Zac Cohan sent across a link to his latest library SoulverStringParsing, and I couldn’t help thinking that it’d be a better fit than even the new RegexBuilder APIs for common string parsing tasks.

You should check out the README for some examples, but it maps very much onto how I was describing my use of regular expressions. Tell it that you’re looking for a couple of numbers and an email address, and it’ll figure it out. It won’t be an ideal solution if you’re looking to strictly validate the exact format of a string, but it’s going to be a fantastic way to capture a few values quickly.

I’d be less excited about this API if it hadn’t come out of an app I use daily to mix text and calculations, and it never gets the parsing wrong. The main reason I’m talking about it, though, is that I love when something makes me re-think a problem that I thought I had all figured out. That’s happened twice this year with string parsing. First, with RegexBuilder, which I still love, and now with Zac’s new library.

Note: You may have noticed that neither SoulverCore nor SoulverStringParsing have an open-source license. They are free to use in personal or private projects, and I had a quick chat with Zac about small developers using these libraries in public/small commercial projects. It sounded like he was being very generous with licensing as long as you’re not building a Soulver clone, so drop him a note if you think you’d like to use them.

Dave Verwer

 
 

  Sponsored Link  

 

Mobile test automation for top engineering teams

Automation is an engineering responsibility, but it doesn’t have to be a chore. Waldo makes creating and maintaining reliable tests easy, allowing you to automatically check your new build for regressions from the perspective of your end user. Try Waldo for free today.

waldo.com

 
 
 

  News  

 

Start Your Engines

This isn't the call for your final release versions yet, but with the event announced for the 7th, it is time for final betas!

apple.com

 
 

  Tools  

 

Stop Xcode 14 betas draining your battery

Have you noticed your iOS simulator slowing down or taking lots of CPU with the last few Xcode betas? Chris Vasselli had and has found a workaround. It looks like something wasn’t quite right with some of the wallpapers in these latest betas.

nihongo-app.com

 

Show a "touch indicator" on a real device

It's relatively easy to show a “touch indicator” on the iOS simulator, but did you know you could do it on an actual device? David Smith found that with a Bluetooth mouse and Assistive Touch, you can get a great environment for recording your App Preview videos where you need full-blown iOS rather than the simulator.

twitter.com

 
 

  Code  

 

Pulse 2.0

This is far from the first time I’ve linked to Alexander Grebenyuk’s Pulse project! Version 2.0 adds another feature that certainly deserves a mention, though. Seeing network requests update in the log as they start and end is a powerful way to visualise your app’s network communication. I think you’ll be impressed as soon as you see it demonstrated in the video embedded in this launch post. 👍

kean.blog

 

How to Make Custom Test Assertions in Swift

XCTest has a good set of assertions that are enough to get anyone started, but did you know you can define your own? Jon Reid is here to show us how it’s done, with some good practical examples, too.

qualitycoding.org

 

How to bridge async/await functions to Combine's Future type in Swift

I think everyone will agree that Swift’s new async/await concurrency features are a great step forward for the language. But if you previously adopted Combine, it’s unlikely you’ll be able to migrate your code all at once unless your app is small. Can they work together? Yes, they can, and Natascha Fadeeva is here to show us how.

tanaschita.com

 
 

  Business and Marketing  

 

How to get featured on the App Store

There was one point that came up over and over in this set of short interviews by Filip Němeček talking about submitting your app for consideration by the App Store editorial team:

If there is one big takeaway, it is that it makes sense to submit this form often. Ideally, for each significant app update.

It’s good advice.

nemecek.be

 
 

  Jobs  

 

Senior iOS Engineer @ Polywork – Polywork is a well-funded startup looking for a second iOS developer to join the team. We’re building a modern professional social network that recognizes people as more than their job titles. – Remote (within US timezones)

Mobile Full Stack Engineer @ Expensify – Join our passionate team of top-notch engineers to solve a real-world problem, and help people spend less time managing expenses and more time pursuing their real goals. – Remote (Anywhere) with some on-site work (Australia, United Kingdom, or United States in CA, MI, NY, or OR)

iOS SDK Developer @ Stream – You will write and maintain our open-source SDKs that are used by hundreds of our customers and consumed by hundreds of millions of their users. – Remote (within US or European timezones)

Senior iOS Engineer (Swift) @ GoodNotes – GoodNotes is a top-rated paid-for productivity app, available to use on iPad, iPhone and Mac devices with over 10m MAU. You will own your projects and work alongside a high-calibre cross-functional team to continue delivering a product our users love! – Remote (within European or Asia-Pacific timezones) or on-site (Hong Kong or United Kingdom)

Senior iOS Engineer @ Sendwave – We currently have a 4.6-star rating on Trustpilot — people put their faith in us to deliver their money quickly, securely, and affordably. And we’re pretty darn proud of that. – Remote (within US or European timezones)

 

Yes, we may be heading into a downturn or even a recession, but that doesn't mean great companies have stopped hiring completely! It's very much worth looking at the full list of open positions over at iOS Dev Jobs.

 
 

  And finally...  

 

My god, it’s full of stars… 👨‍🚀

 
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 572

Monday, August 22, 2022

How did I do on my quest to have more "blank days" over the last year? 🙇‍♂️ View on the Web Archives ISSUE 572 August 19th 2022 Comment I wrote these words exactly one year ago: I'm going

iOS Dev Weekly - Issue 571

Friday, August 12, 2022

Is SwiftUI less flexible or hackable than AppKit or UIKit? Maybe, but that's probably a good thing. 🪩 View on the Web Archives ISSUE 571 August 12th 2022 Comment Something struck me as I read

iOS Dev Weekly - Issue 570

Friday, August 5, 2022

Software development is a lot like rock climbing, I think! 🧗‍♂️ View on the Web Archives ISSUE 570 August 5th 2022 Comment I don't think I've ever written about it before, but I believe there

iOS Dev Weekly - Issue 569

Friday, July 29, 2022

Where would you write Swift code without Xcode? TextEdit? 👎 Microsoft Word? 👎 Or … View on the Web Archives ISSUE 569 July 29th 2022 Comment I've been meaning to check out the Swift for Visual

iOS Dev Weekly - Issue 568

Friday, July 22, 2022

To embrace or resist the new wave of AI-based APIs. That is the question! 🤖🖼 View on the Web Archives ISSUE 568 July 22nd 2022 Comment Did you see Steve Troughton-Smith's experiments using

You Might Also Like

Tesla Autopilot investigation closed

Friday, April 26, 2024

Inside the IBM-HashiCorp deal and Thoma Bravo takes another company private View this email online in your browser By Christine Hall Friday, April 26, 2024 Good afternoon, and welcome to TechCrunch PM.

Microsoft's and Google's bet on AI is paying off - Weekly News Roundup - Issue #464

Friday, April 26, 2024

Plus: AI-controlled F-16 has been dogfighting with humans; Grok-1.5 Vision; BionicBee; Microsoft's AI generates realistic deepfakes from a single photo; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

🤓 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! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏