Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Dynamic colors allow our iOS app to automatically adapt its color scheme based on user preferences, such as light and dark mode.
-
Concurrency is a complex problem when writing software, especially when dealing with shared mutable state across different threads.
-
Optionals in Swift are a powerful feature that allows us to express the absence of a value.
-
In this article, we’ll explore different approaches to calling async/await functions in SwiftUI using tasks and view modifiers.
-
Working with localized strings in SwiftUI can sometimes be confusing due to the variety of available approaches using LocalizedStringKey or NSLocalizedString.
-
Swift's async/await syntax provides a clean and efficient way to handle asynchronous tasks.
-
Representing text values, Strings are one of the most common data structures we use when coding.
-
With SwiftData, Apple introduced a new state-of-the-art persistence framework for iOS.
-
Making an app accessible is crucial for ensuring that all users, including those with disabilities, can enjoy a seamless experience.
-
As we established in this VoiceOver guide for SwiftUI, the Accessibility Inspector is really helpful during development, but doesn't replace testing accessibility with VoiceOver on a real device.
-
Swift's optionals are a powerful and fundamental feature that allows developers to write expressive, safe code by handling the absence of values gracefully.
-
In the last article on building custom containers in SwiftUI, we explored the fundamentals of creating reusable containers in SwiftUI.
-
The @FetchRequest property wrapper in SwiftUI simplifies the process of fetching data from a Core Data store for use in a SwiftUI view.
-
In Swift, when we call an asynchronous function using await, the function runs sequentially — meaning that each line of code waits for the previous one to complete before proceeding.
-
When building iOS apps with SwiftUI, we sometimes need to create a custom reusable container view which can be used as any other SwiftUI container view with any kind of content.
-
As we learned in this guide on getting started with the Swift Package Manager for iOS, we can add public libraries to our iOS projects by using the Swift Package Manager.
-
Provided by Apple, Swift Package Manager is a dependency manager for Swift projects which is directly integrated into Xcode.
-
The Swift Package Manager not only supports adding public libraries as Swift Packages, but also local Swift Packages.
-
The @Environment property wrapper in SwiftUI allows data sharing between views without explicitly passing the data down the view hierarchy.
-
Search is a common feature in many applications.
-
When working with subscribers in Combine, we mostly use sink(receiveValue:) and assign(to:on:) to receive an unlimited amount of values from a publisher.
-
At WWDC 2024, Apple released Swift Testing - a new framework which allows us to write automated tests for iOS applications.
-
At WWDC 2024, Apple released Swift Testing - a new framework which allows us to write automated tests for iOS applications.
-
This article summerizes the announcements for iOS at Apple's platforms state of the union talk at WWDC 2024.
-
With NavigationPath, SwiftUI provides a robust and flexible way to handle navigation and routing.
-
Objective-C, the primary language for iOS development before the release of Swift in 2014, remains an integral part of many legacy projects and Apple frameworks.
-
The @Environment property wrapper in SwiftUI allows us to share data between views without explicitly passing the data from view to view.
-
Apple's Combine framework provides a native way to write functional reactive code in our iOS applications.
-
With SwiftUI pushing UIKit into the background since 2019, UIKit may still be part of existing iOS applications.
-
In this article, we'll look at how to localize plurals with Localizable.stringsdict files.
-
Knowing how to work with bitwise operators can become really useful when solving specific types of problems.
-
To better separate and organize our code, we have the possibility to nest view controllers inside each other.
-
GraphQL is an API design paradigm which has emerged as an alternative to RESTful APIs.
-
Using keyboard shortcuts is key of being productive and efficient when working with a development environment like Xcode.
-
Knowing Xcode keyboard shortcuts is key to be more productive while developing iOS applications.
-
If you are already exprerienced with RxSwift, switching to Combine will mostly be a matter of learning new namings for similar concepts.
-
SwiftUI provides the type-erased view AnyView that can be used as a wrapper for any other SwiftUI view, for example to be able to return multiple view types from a function.
-
Logging is an essential aspect in software development, enabling developers to track and understand the behavior of their applications.
-
The possibility to use optionals in Swift allows us to write safe and expressive code.
-
To add support for dark mode in an iOS application, Apple provides so called semantic colors which means they can have multiple values.
-
At WWDC23, Apple introduced TipKit which allows us to show feature hints to the user with a few lines of code.
-
When working with animations in SwiftUI, we sometimes need to delay an animation, for example when showing a UI element to users and then hiding it after a certain amount of time.
-
In this article, we will look at how to define one-to-many relationships in SwiftData.
-
In this article on GraphQL essentials, we looked at what GraphQL is and how it differs from a REST approach.
-
Apple provides 4 different types of in-app purchases that allow us to offer revenue generating content and features to users: Consumable for recurring purchases that users can consume.
-
In the first part of Kotlin for Swift developers, we looked at the basics of Kotlin like variables, functions & control flow.
-
SwiftData allows us to store images by using the Data type, for example: @Model class Recipe { var imageData: Data } When working with larger or many images, it might be a good idea to separate them from the model storage and store them in an external
-
Whenever we release a new version of our app where we made changes to our SwiftData models, we need to make sure that SwiftData is able to migrate between the old and the new schema to prevent data loss.
-
When setting up auto-renewable subscriptions for an iOS application with StoreKit 2, we might want to offer users a free trial period.
-
At WWDC23, Apple introduced SwiftData - a framework which focuses on persisting data by using declarative code.