SwiftUI Cookbook • Deploying & Debugging SwiftUI Apps
Welcome to the Deploying & Debugging SwiftUI Apps section. It’s one thing to code an app, but getting it ready for deployment and effectively debugging it is another essential skill set. This section is here to guide you through that process and help you master the practical aspects of SwiftUI development.
• Building & Running SwiftUI Apps in Xcode
• Configuring the Deployment Target for SwiftUI Apps
• Configuring App Icons & Launch Screens in SwiftUI
• Managing App Permissions
• Debugging SwiftUI Code with Xcode’s Debugger
• Using the Console to Debug SwiftUI Apps
• Getting Started with SwiftUI Previews
• Customizing SwiftUI Previews
• Finding Memory Leaks Using Instruments
• Understanding & Reducing Startup Time With Instruments
← Предыдущая часть | Следующая часть →
Читать (En)
Welcome to the Deploying & Debugging SwiftUI Apps section. It’s one thing to code an app, but getting it ready for deployment and effectively debugging it is another essential skill set. This section is here to guide you through that process and help you master the practical aspects of SwiftUI development.
• Building & Running SwiftUI Apps in Xcode
• Configuring the Deployment Target for SwiftUI Apps
• Configuring App Icons & Launch Screens in SwiftUI
• Managing App Permissions
• Debugging SwiftUI Code with Xcode’s Debugger
• Using the Console to Debug SwiftUI Apps
• Getting Started with SwiftUI Previews
• Customizing SwiftUI Previews
• Finding Memory Leaks Using Instruments
• Understanding & Reducing Startup Time With Instruments
← Предыдущая часть | Следующая часть →
Читать (En)
👍5❤3🔥2
Enhance Your Code Architecture With SOLID Principles
Ещё одна полезная статья про SOLID, с разбором распространенных ошибок, которые нарушает эти принципы. Каждый принцип рассматривается на простом для понимания примере, на Swift`е.
Читать (En)
Ещё одна полезная статья про SOLID, с разбором распространенных ошибок, которые нарушает эти принципы. Каждый принцип рассматривается на простом для понимания примере, на Swift`е.
Читать (En)
👍5🔥5❤4🤡2
Behind the scenes of async functions
Ещё одна относительно большая статья про Swift Concurrency.
🟢 Async functions
🟢 Async → await
🟢 Tasks
🟢 Jobs
🟢 Actors
🟢 Executors
🟢 Cooperative Thread Pool
🟢 Types of executors
🟢 Executors and Threads
🟢 Recap for Full Picture
Читать (En)
Ещё одна относительно большая статья про Swift Concurrency.
Читать (En)
Please open Telegram to view this post
VIEW IN TELEGRAM
👍4🔥4❤3
Apple вводит подписочную модель. Теперь инструменты для разработки будут платными.
Стоимость зависит от набора необходимых инструментов. Базовый пакет, в который входит XCode, 3 симулятора и Debugging – 699$ / месяц 😳
Читать (En)
Стоимость зависит от набора необходимых инструментов. Базовый пакет, в который входит XCode, 3 симулятора и Debugging – 699$ / месяц 😳
Читать (En)
😁80😱9👀4⚡2❤2👍2🤡1
SwiftData Architecture – Patterns and Practices
Большая статья с примерами, в которой автор делится архитектурными наработками для работы с SwiftData.
🟢 How to structure your data models
🟢 Where to place business logic and validation
🟢 When to use DTOs (and when not to)
🟢 How to write meaningful unit tests
🟢 How to set up effective Xcode previews
🟢 How to work with CloudKit integration
🟢 How to future-proof your app against changes in persistence layers
Читать (En)
Большая статья с примерами, в которой автор делится архитектурными наработками для работы с SwiftData.
Читать (En)
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥5❤4👍4
Presenting an Inspector with SwiftUI
Детальная статья по использованию инспектора в SwiftUI.
Читать (En)
Детальная статья по использованию инспектора в SwiftUI.
Читать (En)
❤5🔥5👍4
Picker in SwiftUI explained with code examples
Небольшая статья с примерами кода про пикеры в SwiftUI.
🟢 Creating a Picker in SwiftUI
🟢 Exploring different picker styles
🟢 How to create a color picker in SwiftUI
Читать (En)
Небольшая статья с примерами кода про пикеры в SwiftUI.
Читать (En)
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥7👍4❤3
SwiftUI Cookbook • Advanced Topics in SwiftUI
Welcome to the Advanced Topics in SwiftUI section. This part of the guide is dedicated to helping you delve deeper into the many advanced facets of SwiftUI, equipping you with the knowledge to handle complex tasks and create robust SwiftUI applications.
• Design a Seamless Onboarding Experience in SwiftUI
• Create & Customize Charts in SwiftUI With Swift Charts
• Create Complex UI With SwiftUI Shape & Path
• Integrate SwiftUI With UIKit
• Integrate Core Data With SwiftUI
• Async/Await in SwiftUI
• Using Combine With SwiftUI
• Unit Testing Strategies in SwiftUI
• Testing SwiftUI Views With ViewInspector
• Implement MVVM Architecture in SwiftUI
← Предыдущая часть | Следующая часть →
Читать (En)
Welcome to the Advanced Topics in SwiftUI section. This part of the guide is dedicated to helping you delve deeper into the many advanced facets of SwiftUI, equipping you with the knowledge to handle complex tasks and create robust SwiftUI applications.
• Design a Seamless Onboarding Experience in SwiftUI
• Create & Customize Charts in SwiftUI With Swift Charts
• Create Complex UI With SwiftUI Shape & Path
• Integrate SwiftUI With UIKit
• Integrate Core Data With SwiftUI
• Async/Await in SwiftUI
• Using Combine With SwiftUI
• Unit Testing Strategies in SwiftUI
• Testing SwiftUI Views With ViewInspector
• Implement MVVM Architecture in SwiftUI
← Предыдущая часть | Следующая часть →
Читать (En)
👍5❤4🔥4
Rules of Structured Concurrency
Большая статья про структурированные и неструктурированные задачи.
🟢 Structured and Unstructured Tasks
🟢 Parent and Child Tasks
🟢 Structured tasks
🟢 Unstructured tasks
🟢 Rules of Structured Concurrency
🟢 Group Completion Rule
🟢 Group Cancellation Rule
🟢 Error propagation Rule
🟢 Context Inheritance
🟢 When to use structured and unstructured concurrency?
Читать (En)
Большая статья про структурированные и неструктурированные задачи.
Читать (En)
Please open Telegram to view this post
VIEW IN TELEGRAM
👍14❤7🔥6
How to inspect .ipa files and secure your iOS app from common mistakes
Гайд по тому, как исследовать .ipa-файлы и какие данные из них можно получить. Также в статье приводятся простые, базовые правила для организации безопасности чувствительных данных.
Читать (En)
Гайд по тому, как исследовать .ipa-файлы и какие данные из них можно получить. Также в статье приводятся простые, базовые правила для организации безопасности чувствительных данных.
Читать (En)
👍9❤6🔥4
Using Swift’s defer keyword within async and throwing contexts
В статье разбирается использование ключевого слова
Читать (En)
В статье разбирается использование ключевого слова
defer
в контексте асинхронщины, на простом примере запросов к БД.Читать (En)
👍5❤4🔥4
SwiftUI Cookbook • SwiftUI Best Practices & Tips
Welcome to the SwiftUI Best Practices & Tips section! In this valuable part of the guide, you’ll explore various best practices and tips for mastering SwiftUI, Apple’s innovative UI framework.
• Improving SwiftUI Performance
• Reducing Complexity in SwiftUI Views
• Separating View Logic with View Models
• Using Environment Variables in SwiftUI
• Optimizing Animations in SwiftUI
• Maintaining State in SwiftUI
• Debugging SwiftUI Views
• Creating Reusable SwiftUI Components
• Using View Composition in SwiftUI
← Предыдущая часть
Читать (En)
Welcome to the SwiftUI Best Practices & Tips section! In this valuable part of the guide, you’ll explore various best practices and tips for mastering SwiftUI, Apple’s innovative UI framework.
• Improving SwiftUI Performance
• Reducing Complexity in SwiftUI Views
• Separating View Logic with View Models
• Using Environment Variables in SwiftUI
• Optimizing Animations in SwiftUI
• Maintaining State in SwiftUI
• Debugging SwiftUI Views
• Creating Reusable SwiftUI Components
• Using View Composition in SwiftUI
← Предыдущая часть
Читать (En)
❤6👍5🔥4
Отлаживаем приложение вместе со SwiftUI Instruments
Статья-гайд от Surf про отладку приложения с помощью SwiftUI Instruments.
🟢 Что такое SwiftUI Instruments и зачем он нужен
🟢 Как и в каких случаях стоит использовать
🟢 Пример отладки кастомной шторки
Читать (Ru)
Статья-гайд от Surf про отладку приложения с помощью SwiftUI Instruments.
Читать (Ru)
Please open Telegram to view this post
VIEW IN TELEGRAM
👍9🔥4❤3
Rafinad: сахар для UI-тестирования iOS-приложений
Ребята из iOS-команды hh выкатили свои наработки по UI-тестированию в виде open-source проекта — Rafinad.
В статье рассказывают, что из себя представляет Rafinad, что умеет и как им пользоваться.
Библиотека на GitHub → Rafinad
Читать (Ru)
Ребята из iOS-команды hh выкатили свои наработки по UI-тестированию в виде open-source проекта — Rafinad.
В статье рассказывают, что из себя представляет Rafinad, что умеет и как им пользоваться.
Библиотека на GitHub → Rafinad
Читать (Ru)
👍10❤4🔥4
Swift concurrency. Executors, Actors и их связь с потоками
Новая и как всегда подробная часть из этой серии, в которой рассказывается про недра Swift Concurrency.
🟢 Как определяется поток, на котором будет выполняться Task
🟢 Почему в рамках одной Task поток может меняться
🟢 Что такое Executor и на какие типы он делится
🟢 За что отвечает TaskExecutor, а за что SerialExecutor
🟢 Как определить текущий Executor по коду
🟢 Как использовать свой самописный Executor
Читать (Ru)
Новая и как всегда подробная часть из этой серии, в которой рассказывается про недра Swift Concurrency.
Читать (Ru)
Please open Telegram to view this post
VIEW IN TELEGRAM
👍4❤3🔥3
iOS 26: Notable UIKit Additions
Такс, разбираю отложенные материалы, вероятно до конца недели могу чутка поспамить, но это не точно 😉
Небольшая обзорная статья основных изменений в UIKit.
👉 Observable Objects
👉 Update properties
👉 Flushing animation updates
Читать (En)
Такс, разбираю отложенные материалы, вероятно до конца недели могу чутка поспамить, но это не точно 😉
Небольшая обзорная статья основных изменений в UIKit.
👉 Observable Objects
👉 Update properties
👉 Flushing animation updates
Читать (En)
🔥3❤2👏2👍1
What's new in SwiftUI for iOS 26
Подобрка материалов с обзором новых изменений в SwiftUI.
🟢 How to embed web content using WebView
🟢 How to use rich-text editing with TextView and AttributedString
🟢 How to add list section index labels
🟢 How to give label icons a fixed width
🟢 How to automatically add appropriate padding for the current scene
🟢 The @Animatable macro makes it easier to animate views, modifiers, and more
🟢 The openURL action has been extended to support an in-app browser
🟢 How to make a TabView minimize on scroll
🟢 How to add a TabView accessory
🟢 How to adjust the scroll edge effect for ScrollView and List
🟢 We can now specify custom section spacing inside a list
🟢 How to add space in a toolbar
🟢 We can now set a navigation subtitle
Читать (En)
Подобрка материалов с обзором новых изменений в SwiftUI.
Читать (En)
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥4❤3👍2