Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 196
  1. By default, an iOS notification just shows an alert, and tapping it opens the app.

  2. Structuring universal links in iOS

    Universal links are a powerful way to create experiences between a website and an iOS app.

  3. Cancelling async tasks in SwiftUI

    Sometimes we want to cancel async work when certain events happen.

  4. How to manage app lifecycle events in SwiftUI

    SwiftUI views don't just react to their own lifecycle, they can also respond to changes in the state of the entire app.

  5. Understanding SwiftUI's liquid glass button styles

    With SwiftUI's liquid glass styles, views and buttons take on a translucent, layered appearance starting in iOS 18.

  6. When we extract parts of an app into a Swift package to share between projects, we usually consume that package in our iOS projects through Swift Package Manager with a version tag.

  7. When working with async/await in Swift, we might need to call async/await methods or properties from synchronous contexts.

  8. My new book on architecture & design patterns for iOS

    I finally finished my second book 🥳 It's about iOS architecture and design patterns - a topic that has challenged me and shaped the way I think when writing code.

  9. How to create a custom reusable toolbar in SwiftUI

    When building navigation bars and toolbars in SwiftUI, we'll often want to keep the same look and functionality across multiple screens.

  10. How to use the @available attribute in Swift

    In Swift, we have the possibility to add attributes to our code to give the compiler more information.

  11. At WWDC25, Apple introduced Accessibility Nutrition Labels.

  12. Using defer in Swift to manage state cleanup

    When working with async code, we often need to manage UI state before and after an operation.

  13. The goal of supporting the Reduced Motion setting is to support users who are sensitive to visual motion.

  14. Supporting sufficient color contrast helps users with low vision distinguish text, icons, and UI elements more easily.

  15. How to support Dynamic Type accessibility in SwiftUI

    Dynamic Type allows users to increase or decrease the size of text in apps based on their reading preferences.

  16. Using WebKit with SwiftUI to manage web content

    Starting with iOS 17, WebKit provides new tools to integrate web content directly within SwiftUI.

  17. This article summarizes the key announcements for iOS developers from Apple's Platforms State of the Union talk at WWDC 2025.

  18. Adding navigation buttons to the keyboard in SwiftUI

    When building forms with multiple textfields in SwiftUI, it can improve user experience by adding navigation buttons above the keyboard to allow users to navigate between these textfields more easily.

  19. Understanding toolbars in SwiftUI

    SwiftUI's toolbar() modifier allows us to add items to various toolbars, such as the navigation bar, bottom bar, and even above the keyboard or in modal views.

  20. SwiftUI's ViewThatFits container helps us build adaptive layouts by allowing us to provide multiple views while automatically picking the first one which fits into available space.

  21. LLDB is a powerful tool for exploring and debugging iOS applications at runtime.

  22. The UserNotifications framework provides several flexible ways to schedule local notifications, depending on when and how we want them to be delivered.

  23. Working with Xcode configuration files

    In this article on creating and managing multiple app environments in Xcode, we learned, how to set up environments such as debug, staging, and release when developing an iOS app.

  24. Creating and managing multiple app environments in Xcode

    After getting on overview on Xcode's build configuration concepts, we can take the next step: adding and managing multiple environments like debug, staging, and release.

  25. When we develop an iOS application, we usually need to support multiple environments like debug, staging, and release.

  26. Bridging interfaces with the Adapter pattern in Swift

    Sometimes, we adopt libraries or frameworks that don't match our app's internal abstractions.

  27. How to persist navigation state in SwiftUI

    When building multi-screen apps in SwiftUI, preserving where a user left off can improve the user experience.

  28. Using NavigationPath with TabView in SwiftUI

    When building complex iOS applications, we often need to combine tab-based navigation with stack-based navigation.

  29. Testing remote push notifications in iOS has traditionally been challenging.

  30. Building a dependency injection framework

    Dependency injection (DI) is a powerful design pattern that helps us create more modular, testable, and maintainable code.

  31. Public-key cryptography with CryptoKit for iOS

    Public-key cryptography, also known as asymmetric cryptography, is a cornerstone of modern security.

  32. Existentials are useful when working with protocols that have associated types.

  33. Understanding structural identity in SwiftUI

    Unlike traditional UI frameworks where we manually track and update UI elements, SwiftUI automatically refreshes views when state changes.

  34. Understanding the Bindable property wrapper in SwiftUI

    When working with Apple's Observation framework, understanding how different property wrappers manage state is essential for building apps with SwiftUI.

  35. Quick guide on home screen quick actions for SwiftUI

    Quick actions allow us to give users access to our app's functionality directly from the home screen, when they touch and hold the app icon.

  36. How to use SceneDelegate in SwiftUI

    SwiftUI simplifies app development by abstracting away much of the boilerplate code associated with UIKit.

  37. Implementing Face ID authentication in SwiftUI

    Apple's Local Authentication framework enables us to implement biometric authentication, such as Face ID and Touch ID, allowing users to securely access sensitive app data.

  38. SF Symbols guide for SwiftUI and UIKit

    SF Symbols is Apple's library of vector-based icons that integrate seamlessly into iOS, providing a unified look across Apple platforms.

  39. Debugging iOS features that require app starts from external actions - such as deep linking or home screen quick actions - can be challenging.

  40. When working with NavigationStack, we have the possibility to customize the appearance of the navigation bar, including the title.

  41. Cryptographic hash functions are essential tools in secure application development, commonly used for verifying data integrity, securely storing passwords, and generating unique identifiers.

  42. I just released a new book version of Preparing for a technical iOS job interview - with over 200 questions & answers including a new chapter on Architecture & Design Patterns.

  43. Protocols with associatedtype or Self requirements often bring challenges when used as parameters or return types in Swift.

  44. Getting started with UI Testing for SwiftUI

    To ensure that our app's user interface behaves correctly during various user actions, iOS provides the XCTest framework for creating UI tests.

  45. Apple’s SpriteKit framework is widely used for building 2D games, but it’s also a great tool for adding visual effects to any iOS app.

  46. How to unit test async/await functions in Swift

    In this article, we'll cover the basics of unit testing async/await functions, showing how to write test cases for functions that may or may not throw errors.

  47. Understanding opaque types in Swift

    Swift is a type-safe language, meaning every variable and constant has a defined type that the compiler checks to prevent type-related errors.

  48. Supporting universal links in a SwiftUI application

    Universal Links allow iOS apps to open specific pages in response to standard web URLs.

  49. How to use a Connectable publisher in Combine

    When working with publishers in Combine, there are situations where we need precise control over when values start emitting.

  50. How to identify data in Lists and ForEach in SwiftUI

    In SwiftUI, creating dynamic and responsive views often involves generating content from collections of data using List and ForEach.