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

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

Weekend Reading — More time to write

Sunday, November 24, 2024

More Time to Write A fully functional clock that ticks backwards, giving you more time to write. Tech Stuff Martijn Faassen (FWIW I don't know how to use any debugger other than console.log) People

🕹️ 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