💡Якщо ви використовуєте SwiftUI, то макрос
👉 https://www.avanderlee.com/swiftui/entry-macro-custom-environment-values/
🇺🇦 iOSDevUA
@Entry може бути вам корисний для створення кастомних змінних середовища. Деталі в коротенькій статті з прикладами!👉 https://www.avanderlee.com/swiftui/entry-macro-custom-environment-values/
🇺🇦 iOSDevUA
SwiftLee
@Entry macro: Creating custom environment values in SwiftUI
Improve data flow in your SwiftUI app with the @Entry macro. Learn how to define custom environment values and simplify your code.
💡Рекурсивні enum’и
Ключове слово
🇺🇦 iOSDevUA
Ключове слово
indirect дозволяє реалізовувати рекурсію в enum’ах. В статті розглядається, як за допомогою цієї властивості можна змоделювати файлову систему.🇺🇦 iOSDevUA
Nil Coalescing
Recursive enums in Swift
This post explains how to use recursive enums in Swift, including the indirect keyword, to effectively model and manage complex, hierarchical data structures.
👍1
🔥Apple оголошує про івент: “It’s Glowtime”. На день раніше, ніж очікувалося: понеділок, 9 вересня. Івент відбудеться в театрі Steve Jobs і буде транслюватися онлайн.
🇺🇦 iOSDevUA
🇺🇦 iOSDevUA
👍1
Hello iOS developers! New digest is here!
Hello everyone! New iOS weekly digest is here!
First things first. Apple announced "It's Glowtime" event. Monday, Sep 9, 10 am:
https://www.apple.com/apple-events/
SwiftUI for Mac 2024
https://troz.net/post/2024/swiftui-mac-2024
New Phishing Technique Bypasses Security on iOS and Android to Steal Bank Credentials
Anti-malware vendor ESET is warning of a new phishing tactic targeting iOS and Android users with web applications mimicking legitimate banking software to bypass security protections and steal login credentials:
https://www.securityweek.com/new-phishing-technique-bypasses-security-on-ios-and-android-to-steal-bank-credentials
The Epic Games Store Launches on Mobile
Fortnite, Fall Guys, and Rocket League Sideswipe All Coming to the Epic Games Store for iPhones and Android, and to AltStore
Today the Epic Games Store is available for download on iPhones in the European Union and on Android devices worldwide. The store is launching with Fortnite, Rocket League Sideswipe and the all-new Fall Guys for mobile, and we are working to enable all developers to launch their games and apps through the Epic Games Store in the future. We are also bringing our games to independent mobile stores including AltStore PAL today:
https://www.epicgames.com/site/en-US/news/the-epic-games-store-launches-on-mobile
Typed throws in Swift
Swift was promoted as a type-safe programming language on its very first day, and it is solid and safe in many aspects. The part of type safety that needed to be added was throwing functions. Swift 6.0 introduces typed throws, and we will learn all about them this week:
https://swiftwithmajid.com/2024/08/20/typed-throws-in-swift/
JSON Parsing in Swift explained with code examples
JSON parsing in Swift is a common thing to do. Almost every app decodes JSON to show data in a visualized way. Parsing JSON is definitely one of the basics you should learn as an iOS developer.
Decoding JSON in Swift is quite easy and does not require any external dependencies. The basic APIs that come with Swift will be enough to do the job, so let’s dive in:
https://www.avanderlee.com/swift/json-parsing-decoding
Let’s build iOS 18’s navigation title card in SwiftUI
iOS 18 standardizes a design pattern that could be called “navigation title cards”, for lack of an established HIG term. In their simplest form, these cards appear at the top of a list of content and provide brief explanatory text:
https://jeffverkoeyen.com/blog/2024/08/24/iOS-18-Navigation-Title-Cards
Hello everyone! New iOS weekly digest is here!
First things first. Apple announced "It's Glowtime" event. Monday, Sep 9, 10 am:
https://www.apple.com/apple-events/
SwiftUI for Mac 2024
https://troz.net/post/2024/swiftui-mac-2024
New Phishing Technique Bypasses Security on iOS and Android to Steal Bank Credentials
Anti-malware vendor ESET is warning of a new phishing tactic targeting iOS and Android users with web applications mimicking legitimate banking software to bypass security protections and steal login credentials:
https://www.securityweek.com/new-phishing-technique-bypasses-security-on-ios-and-android-to-steal-bank-credentials
The Epic Games Store Launches on Mobile
Fortnite, Fall Guys, and Rocket League Sideswipe All Coming to the Epic Games Store for iPhones and Android, and to AltStore
Today the Epic Games Store is available for download on iPhones in the European Union and on Android devices worldwide. The store is launching with Fortnite, Rocket League Sideswipe and the all-new Fall Guys for mobile, and we are working to enable all developers to launch their games and apps through the Epic Games Store in the future. We are also bringing our games to independent mobile stores including AltStore PAL today:
https://www.epicgames.com/site/en-US/news/the-epic-games-store-launches-on-mobile
Typed throws in Swift
Swift was promoted as a type-safe programming language on its very first day, and it is solid and safe in many aspects. The part of type safety that needed to be added was throwing functions. Swift 6.0 introduces typed throws, and we will learn all about them this week:
https://swiftwithmajid.com/2024/08/20/typed-throws-in-swift/
JSON Parsing in Swift explained with code examples
JSON parsing in Swift is a common thing to do. Almost every app decodes JSON to show data in a visualized way. Parsing JSON is definitely one of the basics you should learn as an iOS developer.
Decoding JSON in Swift is quite easy and does not require any external dependencies. The basic APIs that come with Swift will be enough to do the job, so let’s dive in:
https://www.avanderlee.com/swift/json-parsing-decoding
Let’s build iOS 18’s navigation title card in SwiftUI
iOS 18 standardizes a design pattern that could be called “navigation title cards”, for lack of an established HIG term. In their simplest form, these cards appear at the top of a list of content and provide brief explanatory text:
https://jeffverkoeyen.com/blog/2024/08/24/iOS-18-Navigation-Title-Cards
Apple
Apple Events
Discover all-new Siri AI powered by Apple Intelligence and helpful features across iOS 27, iPadOS 27, macOS Golden Gate, watchOS 27, and visionOS 27.
👍1
💡Приховані можливості крашлогів: як читати інформацію про помилки
Ніхто не любить краші. Іноді їх складно аналізувати, а дослідження причин може забрати багато часу (і навіть не завжди привести до рішення).
Патрік Уордл зробив величезну роботу і написав статтю, в якій пояснив, як спростити розуміння структури і інформації з крашлогів.
Він визнає, що сам процес дослідження вимагає глибокого розуміння реверс-інжинірингу, тому поверхнево торкаються тем дизасемблювання та налагодження на прикладі ARM64.
Матеріал містить багато прикладів не тільки для iOS, але й для macOS, і навіть показано баг 0day (який торкається навіть бета-версій 15 macOS).
📖 Рекомендую прочитати і зберегти дослідження.
🇺🇦 iOSDevUA
Ніхто не любить краші. Іноді їх складно аналізувати, а дослідження причин може забрати багато часу (і навіть не завжди привести до рішення).
Патрік Уордл зробив величезну роботу і написав статтю, в якій пояснив, як спростити розуміння структури і інформації з крашлогів.
Він визнає, що сам процес дослідження вимагає глибокого розуміння реверс-інжинірингу, тому поверхнево торкаються тем дизасемблювання та налагодження на прикладі ARM64.
Матеріал містить багато прикладів не тільки для iOS, але й для macOS, і навіть показано баг 0day (який торкається навіть бета-версій 15 macOS).
📖 Рекомендую прочитати і зберегти дослідження.
🇺🇦 iOSDevUA
👍1
Матеріал про те, як використовувати Concurrency у Swift.
З прикладами і поясненням, все покроково 👍
👉 https://www.massicotte.org/step-by-step-network-request
🇺🇦 iOSDevUA
З прикладами і поясненням, все покроково 👍
👉 https://www.massicotte.org/step-by-step-network-request
🇺🇦 iOSDevUA
massicotte.org
Concurrency Step-by-Step: A Network Request
👍1
💡Tophat – open source проект для поширення билд-файлів всередині компанії
Пам’ятаєте, я минулого тижня розповідав про Tuist Previews? Так ось, Shopify опенсорснули дуже схожу річ. Усі гілки автоматично збираються на CI, артефакти завантажуються в окреме сховище, посилання на них прив’язуються до PR, і додатково доступні через окремий macOS додаток. Виглядає дуже зручно, подивіться!
🇺🇦 iOSDevUA
Пам’ятаєте, я минулого тижня розповідав про Tuist Previews? Так ось, Shopify опенсорснули дуже схожу річ. Усі гілки автоматично збираються на CI, артефакти завантажуються в окреме сховище, посилання на них прив’язуються до PR, і додатково доступні через окремий macOS додаток. Виглядає дуже зручно, подивіться!
🇺🇦 iOSDevUA
👍2
💡Swift Testing стає частиною основного тулчейна
Swift Testing, який спочатку був доступний у вигляді окремого пакета, інтегрують в основну робочу гілку Swift, і з моменту релізу Swift 6.0 він офіційно стане його частиною.
🇺🇦 iOSDevUA
Swift Testing, який спочатку був доступний у вигляді окремого пакета, інтегрують в основну робочу гілку Swift, і з моменту релізу Swift 6.0 він офіційно стане його частиною.
🇺🇦 iOSDevUA
Swift Forums
An update about Swift Testing in the Swift 6 toolchain
Dearest Swift Testing adopters! If you happened to download the 2024-08-19 main-branch toolchain, you might have noticed that Swift Testing is included! 🥳 We're inching closer to adding Swift Testing into the Swift 6 toolchain, and I wanted to let you all…
💡Простий додаток на Swift/WebAssembly
Хлопці з Pointfree запустили нову серію відео, в рамках якої вони будуть розробляти кросплатформений додаток, що запускається як на iOS, так і в браузері, за допомогою експериментального компілятора Swift у WebAssembly.
🇺🇦 iOSDevUA
Хлопці з Pointfree запустили нову серію відео, в рамках якої вони будуть розробляти кросплатформений додаток, що запускається як на iOS, так і в браузері, за допомогою експериментального компілятора Swift у WebAssembly.
🇺🇦 iOSDevUA
www.pointfree.co
Video #291: Cross-Platform Swift: WebAssembly
We are going to take a Swift feature into the browser. We will set up a WebAssembly application from scratch, show how to run and debug it, and even set up some basic UI. And then we will integrate our existing model into it, all powered by the magic of Swift’s…
👍1
This media is not supported in your browser
VIEW IN TELEGRAM
🚀Як використовувати файли EditorConfig в Xcode 16
🛠 Якщо ви працювали або працюєте над кількома проєктами з різними кодстайлами, то може виникнути ситуація, коли потрібно налаштовувати параметри Xcode кожного разу при переключенні між проєктами.
А якщо в проєкті немає лінтера, який забезпечує дотримання стилю, і ви раптом забудете застосувати ці налаштування, то можна легко отримати непослідовне форматування коду в усьому проєкті.
В Xcode 16 додана підтримка файлів EditorConfig, які дозволяють задавати налаштування редактора Xcode для кожного проєкту.
📖 У цій статті ви дізнаєтеся, як налаштувати файли EditorConfig в Xcode та які налаштування підтримуються на даний момент.
🇺🇦 iOSDevUA
🛠 Якщо ви працювали або працюєте над кількома проєктами з різними кодстайлами, то може виникнути ситуація, коли потрібно налаштовувати параметри Xcode кожного разу при переключенні між проєктами.
А якщо в проєкті немає лінтера, який забезпечує дотримання стилю, і ви раптом забудете застосувати ці налаштування, то можна легко отримати непослідовне форматування коду в усьому проєкті.
В Xcode 16 додана підтримка файлів EditorConfig, які дозволяють задавати налаштування редактора Xcode для кожного проєкту.
📖 У цій статті ви дізнаєтеся, як налаштувати файли EditorConfig в Xcode та які налаштування підтримуються на даний момент.
🇺🇦 iOSDevUA
💡Хочете локалізувати свій додаток, але виникає забагато проблем з цим? Можливо, цей інструмент вам допоможе. Він перекладає все через OpenAI GPT 3.5 turbo (це не двигун від спорткара) модель. Думаю, що деякі переклади, можливо, потрібно буде виправити в подальшому, але в цілому виглядає як класна штука для пет-прокекту 👍
👉 https://swiftpackageindex.com/hidden-spectrum/swift-translate
🇺🇦 iOSDevUA
👉 https://swiftpackageindex.com/hidden-spectrum/swift-translate
🇺🇦 iOSDevUA
The Swift Package Index
SwiftTranslate – Swift Package Index
SwiftTranslate by Hidden Spectrum on the Swift Package Index – Swift Package Plugin for automatically translating your String Catalogs
👍1
Hello iOS developers! New digest is here!
Hello everyone! New iOS weekly digest is here!
Send data Between iOS Apps and Extensions Using Darwin Notifications
n iOS development, app extensions run in separate processes from their containing apps. This separation poses a challenge when you need to communicate between the main app and its extensions. While NSNotificationCenter is a common choice for passing data between view controllers within the same app, it falls short when it comes to inter-process communication. Have you ever thought about how to pass data between the main app and its extension? Darwin notifications provide a powerful solution for this scenario. In this post, we’ll explore how to implement a Darwin Notifications manager and use it to facilitate real-time data transfer between a main app and its extension:
https://ohmyswift.com/blog/2024/08/27/send-data-between-ios-apps-and-extensions-using-darwin-notifications
SwiftUI Modifiers Deep Dive: containerBackground
On this deep dive, we are exploring the containerBackground SwiftUI modifier, which was added in iOS 17:
https://swift.mackarous.com/posts/2024/08/modifiers-container-background/
A great article about concurrency with a lot of interesting examples
Concurrency Step-by-Step: A Network Request
https://www.massicotte.org/step-by-step-network-request
JavaScript to Swift and back: Bridging location services in WKWebView
https://swiftlybald.com/javascript-to-swift-and-back-bridging-location-services-in-wkwebview
SwiftUI Previewable Mac
Apple added the Previewable macro to iOS 18. This generates the boilerplate wrapper view you need to preview a view with State bindings:
https://useyourloaf.com/blog/swiftui-previewable-macro
Continuous deployment for large monorepos
A story about Uber's process of updating code
In this article, we share how we reimagined continuous deployment of microservices at Uber to improve our deployment automation and the user experience of managing microservices, while tackling some of the peculiar challenges of working with large monorepos with increasing commit volumes:
https://www.uber.com/en-UA/blog/continuous-deployment/
Hello everyone! New iOS weekly digest is here!
Send data Between iOS Apps and Extensions Using Darwin Notifications
n iOS development, app extensions run in separate processes from their containing apps. This separation poses a challenge when you need to communicate between the main app and its extensions. While NSNotificationCenter is a common choice for passing data between view controllers within the same app, it falls short when it comes to inter-process communication. Have you ever thought about how to pass data between the main app and its extension? Darwin notifications provide a powerful solution for this scenario. In this post, we’ll explore how to implement a Darwin Notifications manager and use it to facilitate real-time data transfer between a main app and its extension:
https://ohmyswift.com/blog/2024/08/27/send-data-between-ios-apps-and-extensions-using-darwin-notifications
SwiftUI Modifiers Deep Dive: containerBackground
On this deep dive, we are exploring the containerBackground SwiftUI modifier, which was added in iOS 17:
https://swift.mackarous.com/posts/2024/08/modifiers-container-background/
A great article about concurrency with a lot of interesting examples
Concurrency Step-by-Step: A Network Request
https://www.massicotte.org/step-by-step-network-request
JavaScript to Swift and back: Bridging location services in WKWebView
https://swiftlybald.com/javascript-to-swift-and-back-bridging-location-services-in-wkwebview
SwiftUI Previewable Mac
Apple added the Previewable macro to iOS 18. This generates the boilerplate wrapper view you need to preview a view with State bindings:
https://useyourloaf.com/blog/swiftui-previewable-macro
Continuous deployment for large monorepos
A story about Uber's process of updating code
In this article, we share how we reimagined continuous deployment of microservices at Uber to improve our deployment automation and the user experience of managing microservices, while tackling some of the peculiar challenges of working with large monorepos with increasing commit volumes:
https://www.uber.com/en-UA/blog/continuous-deployment/
OhMySwift
Send data Between iOS Apps and Extensions Using Darwin Notifications
In iOS development, app extensions run in separate processes from their containing apps. This separation poses a challenge when you need to communicate between the main app and its extensions. While NSNotificationCenter is a common choice for passing data…
👍1🔥1
💡Typed throws у Swift 6.0
Ще одне покращення якості життя у Swift 6 – можливість явно вказати тип помилки, яку може викидати функція. При цьому ви можете продовжувати писати код як і раніше, не вказуючи конкретний тип – компілятор сам приведе його до
🇺🇦 iOSDevUA
Ще одне покращення якості життя у Swift 6 – можливість явно вказати тип помилки, яку може викидати функція. При цьому ви можете продовжувати писати код як і раніше, не вказуючи конкретний тип – компілятор сам приведе його до
any Error.🇺🇦 iOSDevUA
💡Conditional брейкпойнти можуть уповільнювати роботу додатку
Чудова історія дебагу неочевидної проблеми з перфомансом, де сам дебаггер і став головним винуватцем.
🇺🇦 iOSDevUA
Чудова історія дебагу неочевидної проблеми з перфомансом, де сам дебаггер і став головним винуватцем.
🇺🇦 iOSDevUA
Twocentstudios
Reminder: Conditional Breakpoints are Slow
❤1
💡Як не слід використовувати DeviceCheck Framework
DeviceCheck фреймворк надає можливість зберігати довільну інформацію обсягом два біти для додатка. Ця інформація зберігається між всіма переустановками додатка, стиранням даних і навіть при зміні власників телефону. У статті розповідається, як Snapchat використовував ці два біти для збереження інформації про статус бану користувача, через що новий власник айфона не міг користуватися їхнім додатком.
🇺🇦 iOSDevUA
DeviceCheck фреймворк надає можливість зберігати довільну інформацію обсягом два біти для додатка. Ця інформація зберігається між всіма переустановками додатка, стиранням даних і навіть при зміні власників телефону. У статті розповідається, як Snapchat використовував ці два біти для збереження інформації про статус бану користувача, через що новий власник айфона не міг користуватися їхнім додатком.
🇺🇦 iOSDevUA
Finnvoorhees
Apple Repaired My iPhone Screen, but Now My Social Media Account Is Banned
👍2
💡Як підтримувати версії залежностей актуальними
👉 Призначаємо відповідального за кожен з уже доданих пакетів. Роль відповідального – оновлювати його версії, коли вони виходять.
👉 За допомогою пакета swift-outdated слідкуємо на CI за появою нових версій.
👉 Якщо з’являється нова версія, пишемо про це в Slack і повідомляємо відповідального.
👉 Якщо раптом у якогось пакета немає відповідального, генеруємо помилку.
🇺🇦 iOSDevUA
👉 Призначаємо відповідального за кожен з уже доданих пакетів. Роль відповідального – оновлювати його версії, коли вони виходять.
👉 За допомогою пакета swift-outdated слідкуємо на CI за появою нових версій.
👉 Якщо з’являється нова версія, пишемо про це в Slack і повідомляємо відповідального.
👉 Якщо раптом у якогось пакета немає відповідального, генеруємо помилку.
🇺🇦 iOSDevUA
Alejandro M. P.
Swift Package Manager Dependency Owners | Alejandro M. P.
In my team, one of the things we always make sure of is keeping our dependencies up to date. We rarely add a dependency without a really good reason, and when we do, we assign an owner who is responsible for keeping it up to date.
💡Використовуєте в Xcode таку опцію, як Build with Timing Summary?
Якщо ні, то прочитайте про це в статті. Якщо так, то теж читайте, можливо, дізнаєтеся щось нове.
Матеріал в цілому вступний, але для багатьох буде корисним.
Ось такі цікаві речі показує 👍
👉 https://pfandrade.me/blog/swift-build-times-and-module-verification/
🇺🇦 iOSDevUA
Якщо ні, то прочитайте про це в статті. Якщо так, то теж читайте, можливо, дізнаєтеся щось нове.
Матеріал в цілому вступний, але для багатьох буде корисним.
Ось такі цікаві речі показує 👍
👉 https://pfandrade.me/blog/swift-build-times-and-module-verification/
🇺🇦 iOSDevUA
❤2
💡Отримання прапора країни у вигляді емодзі у Swift
Часто потрібно відобразити емодзі для країни за її кодом.
Прапори Emoji представлені за допомогою послідовностей символів у юнікоді. Дивно, але юнікодове представлення кожного прапора безпосередньо відповідає коду згідно зі стандартом ISO (ISO 3166-1 alpha-2).
Але є й інший шлях.
📖 У цьому матеріалі розглядаються не лише принципи отримання емодзі, але й обговорюються неочевидні моменти для різних стандартів.
🇺🇦 iOSDevUA
Часто потрібно відобразити емодзі для країни за її кодом.
Прапори Emoji представлені за допомогою послідовностей символів у юнікоді. Дивно, але юнікодове представлення кожного прапора безпосередньо відповідає коду згідно зі стандартом ISO (ISO 3166-1 alpha-2).
Але є й інший шлях.
📖 У цьому матеріалі розглядаються не лише принципи отримання емодзі, але й обговорюються неочевидні моменти для різних стандартів.
🇺🇦 iOSDevUA
Hello iOS developers! New iOS news digest is here!
First thing first, if you somehow missed or haven't seen it yet - Apple released new iPhones, updates to AirPods, new Apple Watches. My favourite update - hearing aid. What about yours? Share in the comments
https://www.cnbc.com/2024/09/09/apple-event-2024-live-updates-iphone-16-apple-watch-10.html
Have you ever failed with you application, site or startup? Maybe you chose wrong idea, launched too early or too late, do you think only small companies make huge mistakes? Not at all! Read this article to know how Google failed in 2008 when tried to launch Google Maps in India
Google Maps UX: The India Conundrum
When Google Maps expanded to India in 2008, it made a major blunder. Here’s how we quickly recovered from our mistake and creatively adapted Google Maps to work in India:
https://elizlaraki.substack.com/p/google-maps-ux-the-india-conundrum
Revolutionizing Surgery and Medical Treatments with visionOS
This article has been crafted as the theoretical companion to the Speculative Spatial Design Canvas, providing an in-depth exploration of the principles and concepts that underpin the canvas’s practical application. It aims to enrich your understanding and enhance your use of the canvas, ensuring you can apply it more effectively to create innovative and user-friendly spatial experiences:
https://www.createwithswift.com/revolutionizing-surgery-and-medical-treatments-with-visionos
Github contribution graph with Swift Charts
In 2022 Apple introduced a brand new SwiftUI framework — Swift Charts. You can use it to visualize data with rich customization and minimal code. Swift Charts is available in iOS 16+ and supports watchOS and macOS as well. In this article I'll guide you through recreating Github Contribution Graph. Let's start:
https://www.artemnovichkov.com/blog/github-contribution-graph-swift-charts
SwiftData Expressions
SwiftData gained support for predicate expression in iOS 18. How does it compare to the expressions we can use with Core Data? To learn more check the article:
https://useyourloaf.com/blog/swiftdata-expressions
Swift Testing: Validate your code using expressive APIs
Apple announced the Swift Testing framework during WWDC 2024. It transforms the way we write tests in Swift. A new clear, expressive API makes writing tests more straightforward, while the Xcode user interface communicates with improved feedback when a test fails or succeeds.
The testing framework embraces Swift Macros, reducing the boilerplate code you must write for repetitive tests. So-called parameterized tests help you run similar tests over a sequence of values. Hence, you no longer have to duplicate and maintain an almost identical test for a different input value. Let’s dive into how Swift Testing works and how you can use it today:
https://www.avanderlee.com/swift-testing/introducing-expressive-apis
The Future of Vapor
Discussing what the future holds for Vapor
https://blog.vapor.codes/posts/the-future-of-vapor
First thing first, if you somehow missed or haven't seen it yet - Apple released new iPhones, updates to AirPods, new Apple Watches. My favourite update - hearing aid. What about yours? Share in the comments
https://www.cnbc.com/2024/09/09/apple-event-2024-live-updates-iphone-16-apple-watch-10.html
Have you ever failed with you application, site or startup? Maybe you chose wrong idea, launched too early or too late, do you think only small companies make huge mistakes? Not at all! Read this article to know how Google failed in 2008 when tried to launch Google Maps in India
Google Maps UX: The India Conundrum
When Google Maps expanded to India in 2008, it made a major blunder. Here’s how we quickly recovered from our mistake and creatively adapted Google Maps to work in India:
https://elizlaraki.substack.com/p/google-maps-ux-the-india-conundrum
Revolutionizing Surgery and Medical Treatments with visionOS
This article has been crafted as the theoretical companion to the Speculative Spatial Design Canvas, providing an in-depth exploration of the principles and concepts that underpin the canvas’s practical application. It aims to enrich your understanding and enhance your use of the canvas, ensuring you can apply it more effectively to create innovative and user-friendly spatial experiences:
https://www.createwithswift.com/revolutionizing-surgery-and-medical-treatments-with-visionos
Github contribution graph with Swift Charts
In 2022 Apple introduced a brand new SwiftUI framework — Swift Charts. You can use it to visualize data with rich customization and minimal code. Swift Charts is available in iOS 16+ and supports watchOS and macOS as well. In this article I'll guide you through recreating Github Contribution Graph. Let's start:
https://www.artemnovichkov.com/blog/github-contribution-graph-swift-charts
SwiftData Expressions
SwiftData gained support for predicate expression in iOS 18. How does it compare to the expressions we can use with Core Data? To learn more check the article:
https://useyourloaf.com/blog/swiftdata-expressions
Swift Testing: Validate your code using expressive APIs
Apple announced the Swift Testing framework during WWDC 2024. It transforms the way we write tests in Swift. A new clear, expressive API makes writing tests more straightforward, while the Xcode user interface communicates with improved feedback when a test fails or succeeds.
The testing framework embraces Swift Macros, reducing the boilerplate code you must write for repetitive tests. So-called parameterized tests help you run similar tests over a sequence of values. Hence, you no longer have to duplicate and maintain an almost identical test for a different input value. Let’s dive into how Swift Testing works and how you can use it today:
https://www.avanderlee.com/swift-testing/introducing-expressive-apis
The Future of Vapor
Discussing what the future holds for Vapor
https://blog.vapor.codes/posts/the-future-of-vapor
CNBC
Here's everything Apple just announced: iPhone 16, iPhone 16 Pro, Apple Watch Series 10, AirPods 4 and more
Apple announced the new iPhone 16, the new Apple Watch Series 10, AirPods 4 and more on Monday. CNBC's live blog coverage is below.