Compile Swift Podcast

Peter Witham
undefined
Aug 4, 2024 • 10min

Embracing new API's whilst retaining backwards compatibility

This week, I delved into whether to embrace or avoid new APIs in Apple's upcoming operating systems. I encountered a few challenges while working on my Mac iOS app, which I aimed to have a modern look. Inspired by Apple developer videos, I wanted to incorporate features like a navigation split view and fancy backgrounds, similar to the design of CleanMyMac.However, I hit a snag when they were in a part of the app's window. Even AI couldn't solve it. Finally, I found a solution in a video on the Apple developer portal, which involved using modifiers only available in macOS 15. Faced with a choice, I implemented conditional code to keep compatibility with macOS 14 while enabling new features for macOS 15 and beyond.Using conditional code, such as #if available(macOS 15, *), I can target specific OS versions and ensure my app remains functional across different versions without cutting off users. This technique can be applied to various scenarios, not just API availability, making it a versatile tool.Become a Patreon member and help this Podcast survivehttps://www.patreon.com/compileswiftPlease leave a review and show your supporthttps://lovethepodcast.com/compileswiftFollow me on Mastodonhttps://iosdev.space/@Compileswift Thanks to our monthly supporters Adam Wulf ★ Support this podcast on Patreon ★
undefined
Jul 28, 2024 • 20min

Beta 4 releases and a detailed walkthrough installing Sequoia on a separate drive

In this episode of the Compile Swift podcast, the latest beta four releases from Apple, including iOS 18, iPadOS 18, macOS 15, tvOS, visionOS, and watchOS.I urge listeners not to install beta versions on primary devices used for daily work to avoid potential issues.Plus, a detailed guide on safely installing macOS betas on a separate APFS container or an external Thunderbolt drive to experiment without risking primary data.Mentioned in this episodeThunderbolt 4 External drive caseNVMe 2TB drive(affiliate links to support the Podcast)Become a Patreon member and help this Podcast survivehttps://www.patreon.com/compileswiftPlease leave a review and show your supporthttps://lovethepodcast.com/compileswiftYou can also show your support by buying me a coffeehttps://peterwitham.com/bmc(00:00) - Introduction (00:18) - Beta 4 releases (01:09) - How are they to install on devices? (01:53) - Become a member (02:13) - The Pro and Con of installing (05:36) - Setting up macOS Sequoia & Sonoma (07:06) - Hardware I use (09:22) - Thunderbolt 4 external case (10:09) - SetApp (11:24) - Booting M Mac into recovery mode (15:12) - Install Sequoia beta over Sonoma (17:44) - Now have fun (18:57) - Support the podcast (19:43) - Rate and review Follow me on Mastodonhttps://iosdev.space/@Compileswift Thanks to our monthly supporters Adam Wulf ★ Support this podcast on Patreon ★
undefined
Jul 17, 2024 • 12min

All code is legacy code, deal with it now

Everything we write becomes legacy code once it's written. That means technical debt in the future, so how can we do a better job today to help future us tomorrow?Become a Patreon member and help this Podcast survivehttps://www.patreon.com/compileswiftPlease leave a review and show your supporthttps://lovethepodcast.com/compileswiftYou can also show your support by buying me a coffeehttps://peterwitham.com/bmcFollow me on Mastodonhttps://iosdev.space/@Compileswift Thanks to our monthly supporters Adam Wulf ★ Support this podcast on Patreon ★
undefined
Jul 7, 2024 • 16min

You need to promote yourself, eight tips to get you started

In this episode, I will explain why it is essential to promote yourself. The short answer is that nobody else will do it for you.So, here are eight tips to get you started on the path to success.(00:00) - Introduction (00:11) - Why should you promote yourself (02:36) - Tip 1 - Networking (04:43) - Tip 2 - Starting out (05:55) - Tip 3 - For Introverts (06:27) - Support the future of this Podcast (06:47) - Tip 4 - Be known for helping (08:32) - Tip 5 - Start a blog (10:37) - Tip 6 - Join a Discord or Slack (12:25) - Tip 7 - Podcasting (12:43) - Tip 8 - Live streaming (14:38) - Support the podcast (15:46) - Rate and review Become a Patreon member and help this Podcast survivehttps://www.patreon.com/compileswiftPlease leave a review and show your supporthttps://lovethepodcast.com/compileswiftYou can also show your support by buying me a coffeehttps://peterwitham.com/bmcFollow me on Mastodonhttps://iosdev.space/@Compileswift Thanks to our monthly supporters Adam Wulf ★ Support this podcast on Patreon ★
undefined
Jul 1, 2024 • 14min

Zed editor for Swift and collaboration, Xcode 16 predictive assist and which iPad?

In this episode, I introduce the open-source code editor Zed and its new features like Swift support and real-time collaboration.I also share my experiences with the predictive assist feature in Xcode 16 beta.Lastly, I provide an in-depth comparison of various iPads, discussing the pros and cons of potential upgrades as an iPad Pro M1 owner.Zed code editorBecome a Patreon member and help this Podcast survivehttps://www.patreon.com/compileswiftPlease leave a review and show your supporthttps://lovethepodcast.com/compileswiftYou can also show your support by buying me a coffeehttps://peterwitham.com/bmcFollow me on Mastodonhttps://iosdev.space/@Compileswift(00:00) - Introduction (00:13) - Zed code editor (03:46) - CompileDev livestreams (04:03) - Xcode 16 predictive assist (06:33) - Support the future of this podcast (06:53) - iPad upgrading decisions (12:20) - Support the podcast (13:08) - Rate and review Thanks to our monthly supporters Adam Wulf ★ Support this podcast on Patreon ★
undefined
Jun 16, 2024 • 7min

The one after WWDC24, what comes next

I reflect on WWDC 2024 and share my thoughts on the new technologies and updates from the conference.I discuss my plans to transition to SwiftData, explore the new AI technologies announced, and provide insights into RealityKit and Vision Pro.Additionally, I recommend which WWDC videos to watch to get the most out of the new updates.Become a Patreon member and help this Podcast survivehttps://www.patreon.com/compileswiftPlease leave a review and show your supporthttps://lovethepodcast.com/compileswiftYou can also show your support by buying me a coffeehttps://peterwitham.com/bmcFollow me on Mastodonhttps://iosdev.space/@Compileswift Thanks to our monthly supporters Adam Wulf ★ Support this podcast on Patreon ★
undefined
Jun 11, 2024 • 44min

WWDC24 Roundtable on all the new things

I am joined by some good friends to discuss the opening day of the Apple developer conference and all the new announcements. As a consumer and a developer, I am excited about many things this year.(00:00) - Introduction (00:09) - WWDC24 Roundtable (00:35) - Cocoatype (00:47) - Nutterfi (00:59) - Those streamer folks (01:12) - All the new OS versions (01:22) - visionOS 2 (05:46) - iPhone & Apple Intelligence (16:28) - Become a member (16:48) - macOS (18:02) - watchOS (21:54) - iPadOS (23:21) - New API fun (27:00) - Nutterfi SwiftUI Father (29:10) - Swift 6 (31:48) - SetApp (33:03) - Xcode 16 (41:57) - The wrap (42:25) - Nutterfi (42:55) - Cocoatype (43:18) - CompileSwift (43:34) - Support the podcast (43:45) - Rate and review Guests in this episodeCocoatypeNutterfiBecome a Patreon member and help this Podcast survivehttps://www.patreon.com/compileswiftPlease leave a review and show your supporthttps://lovethepodcast.com/compileswiftYou can also show your support by buying me a coffeehttps://peterwitham.com/bmcFollow me on Mastodonhttps://iosdev.space/@Compileswift Thanks to our monthly supporters Adam Wulf ★ Support this podcast on Patreon ★
undefined
Jun 8, 2024 • 9min

The episode before WWDC24, wants and hopes for developers

We are just a few days from WWDC24 as this Podcast hits the feed. I'm not making predictions; I'm making some sensible wishes and hopes for what we might get, mostly from the perspective of a developer.--------Join the DevClub Discord to take part in our WWDC24 celebrations.--------Become a Patreon member and help this Podcast survivehttps://www.patreon.com/compileswiftPlease leave a review and show your supporthttps://lovethepodcast.com/compileswiftYou can also show your support by buying me a coffeehttps://peterwitham.com/bmcFollow me on Mastodonhttps://iosdev.space/@Compileswift Thanks to our monthly supporters Adam Wulf ★ Support this podcast on Patreon ★
undefined
Jun 4, 2024 • 11min

What I do when starting a new app before coding?

Starting a new app? Jot down your idea to avoid forgetting it! Focus on core features and sketch a quick interface design. Take a break to research similar apps but don’t overdo it—momentum is key! Use a whiteboard app to consolidate your thoughts, and let your ideas simmer for a few days. Create a functional mockup for controls and prototype unknown technical aspects with small projects. Keep your handwritten notes as a valuable resource for future projects!
undefined
9 snips
May 27, 2024 • 11min

CoreData, CloudKit and user data sync, a few tips

Explore the complexities of using CloudKit for data sync, including handling user login verification and managing data synchronization challenges. Gain practical tips for smooth app development and learn from real-world scenarios to enhance sync processes.

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app