iOS Dev Weekly - iOS Dev Weekly - Issue 630

Did you know that DocC could create interactive tutorials? Let's showcase some. 🎭
 

iOS Dev Weekly

 
View on the Web    Archives

ISSUE 630  October 6th 2023

 
Comment

  Comment  

 

When Apple unveiled DocC two years ago, I don’t think anyone was too surprised to see it produce documentation from source code comment annotations with Markdown formatting.

But that wasn’t all DocC did, and it was a pleasant surprise when we learned it could use Markdown for both navigation structure and long-form documentation to accompany your generated API reference.

No one would have raised an eyebrow if that’s where the tool’s capabilities had stopped. But there was one big surprise left with it being able to produce fully interactive tutorials, like the Apple-authored ones they created to teach SwiftUI. It makes sense for Apple’s internal teams to all use the same tool rather than having a “documentation tool” and a “tutorial tool”, but I still didn’t expect it.

The slight downside is that those tutorials, while beautiful and easy to read, with screenshots that persist while the reader scrolls past multiple tutorial steps, take a long time to create. Would anyone outside Apple be willing to put the work in to make them?

So I’ve been idly keeping track every time I spot one in the wild, and while I’d not call them common, there are still plenty around, and I’d love to showcase a few for you today.

They’re even used to create training/workshop material, which I didn’t expect.

It’s fantastic to see people put time and effort into creating such high-quality tutorials. However, if you just looked through those and felt intimidated, remember that any documentation is better than nothing. Start with API reference documentation, go deeper with Markdown articles, and only consider adding the “icing on the cake” with a tutorial after that.

It’s great to see such a strong start from DocC. This comment is already too long, but I might write about how many packages we see adopting it in the Swift Package Index at some point soon. It’s more than we expected!

Dave Verwer  Permalink

 
 

  Sponsored Link  

 

Fast, AI-powered test automation with Testim Mobile

We’re built to help Agile teams manage and scale test automation. Author tests quickly, improve stability, and run using real and virtual devices. Learn more about Testim Mobile.

testim.io  Permalink

 
 
 

  Tools  

 

SwiftFormat Automation

I’ve written about my ideal setup for formatting and linting in Xcode. However, what I wished for doesn’t exist yet, so in the mean time, you should probably read Pranav Kasetti’s approach to getting part of the way there with what we have available today.

codewithkasetti.com  Permalink

 
 

  Code  

 

Swift Splash visionOS Sample Code

This new visionOS sample code from Apple looks excellent and is a great reminder that great documentation doesn’t have to be a slick, step-by-step tutorial. These larger sample code projects are great to see several aspects of the SDK work together. 👍

apple.com  Permalink

 

Changes to URL string parsing

I wasn’t aware of this change to URL, and while Toomas Vahter is correct that there’s an “important” warning on the official API docs, if Apple changes anything about URL parsing, that needs publicising.

Switching to the newer URL specification is a big deal, and in addition, the last sentence says that the new default (…) tries to encode invalid characters. This is a big deal.

Read this article and the API docs before checking nothing has broken in your apps.

augmentedcode.io  Permalink

 

Split your data easily and efficiently

There are so many useful little utilities and helpers in swift-algorithms (and in swift-collections, while we’re at it!), Here’s Danijela Vrzan to tell us all about one in particular. 👍

danijelavrzan.com  Permalink

 

An Interactive Intro to CRDTs

You might have heard mention of CRDTs over the last few years. I don’t remember if I first encountered them in one of Drew McCormack’s posts or by talking with Chris Eidhof, but they are a tempting solution to a long-standing and challenging problem. If they’re new to you, you could do far worse than reading and playing with the interactive demos in Jake Lazaroff’s latest post. Incredible work!

After that, it might be time to check out some of these packages.

jakelazaroff.com  Permalink

 
 

  Design  

 

SF Symbols 5

Seeing how far SF Symbols has come over the last few years is always fantastic, with hundreds of new symbols in every release (making more than 5,000 total!), colour, animation, and better localisation. It’s invaluable, and this year’s release is predictably even better, with better animations and more than 700 new glyphs.

The new app will get delivered through Software Update, or at least it did for me! So, manually installing this new version is unnecessary if you already have v4.

apple.com  Permalink

 
 

  Videos  

 

Swift TO

Why not start your weekend with a few recent Swift TO conference talks? Covering everything from how SwiftUI will destroy the publishing industry to how to build accessibility at the core of your development process, you’re sure to find something you’ll be interested in!

swiftconf.to  Permalink

 
 

  Books  

 

SwiftData by Example

Available as a PDF download or an online version that you can read for free, I’m confident Paul Hudson’s is the most comprehensive look at Apple’s new persistence framework there is. Incredibly, he published this book (effectively) simultaneously with the framework itself. That’s remarkable work. 🚀

gumroad.com  Permalink

 
 

  Jobs  

 

Senior iOS Developer @ Linearity GmbH – We’re an award-winning design software suite that simplifies the asset creation process. Linearity Curve creates precision vector assets & Linearity Move is an animation software that crafts breathtaking animations in seconds. We’re crafting together a new iOS team, reach out if you're Interested! – Remote (within European timezones)

Senior iOS Engineer @ Luma AI – We are a small AI research and product company working on new kinds of creative tools for 3D. Our mission is to democratize the 3D experience for all. iOS at Luma is at the center of the product universe. We are growing the iOS team from 1-4, please reach out if you're interested! – On-site (United States in CA) with some remote work (within US timezones)

 Permalink

 

Would you like to see your company’s open positions listed above? Post your job over on iOS Dev Jobs, and check out with a “Featured Listing”, and they’ll be here next week!

 Permalink

 
 

  And finally...  

 

“Come over and see your old pals when you’re done to talking to that guy.”

Great stories.

 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 629

Friday, September 29, 2023

Should we be wishing for more custom UI in Settings.app? ⚙️ View on the Web Archives ISSUE 629 September 29th 2023 Comment I was chatting with a friend yesterday, and he asked what I thought of the new

iOS Dev Weekly - Issue 628

Friday, September 22, 2023

What does the future of testing in Swift look like? Find out, and give feedback! 📚 View on the Web Archives ISSUE 628 September 22nd 2023 Comment Happy new device day! Thanks also for all of the kind

iOS Dev Weekly - Issue 627

Sunday, September 17, 2023

No commentary today, but plenty of links! 🔗🔗🔗 View on the Web Archives ISSUE 627 September 15th 2023 Comment I hope you'll forgive me for skipping my commentary in today's issue. I've been

iOS Dev Weekly - Issue 626

Friday, September 8, 2023

Are all human eyes approximately the same distance apart? 🤷‍♂️ View on the Web Archives ISSUE 626 September 8th 2023 Comment I said last week that I don't expect any big Vision Pro news in

iOS Dev Weekly - Issue 625

Friday, September 1, 2023

Running all the tests is for pre-commit hooks and CI only! View on the Web Archives ISSUE 625 September 1st 2023 Comment I noticed Mike Gerasimenko's new XcodeSelectiveTesting library this week,

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