← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 15
  1. Working with a user's location is a common requirement for many apps.

  2. Sometimes in our applications we need to wait for some work to finish before triggering another action.

  3. iOS 17 introduced a powerful new API for creating custom trait collections that we can use to propagate information to the view hierarchy in both SwiftUI and UIKit.

  4. Imagine we're building a to-do app with different task lists.

  5. Enums are incredibly useful in our data models in Swift, making decoding them from network responses a common task.

  6. Every iOS developer recognizes the importance of fine-tuning and polishing the user interface to provide a seamless, intuitive, and engaging user experience.

  7. When building a Mac app with Mac Catalyst, you may face a challenge when it comes to preserving the user-preferred window size.

  8. Lists are used in almost every iOS app.

  9. Multiple windows support is a handy feature that users can benefit from on iPad and Mac.

  10. In most cases, when we're talking about focus state, we actually mean activating or deactivating the keyboard for input fields.

  11. Since iOS15, we can use @FocusState property wrapper to manage the focus state of the fields, which will also trigger showing and dismissing the keyboard.

  12. Adding SwiftUI views into a UIViewController is very easy using UIHostingController and encourages us to start using SwiftUI within UIKit apps.

  13. Very often we present a SwiftUI view modally using sheet modifier, or by pushing it onto the navigation stack.

  14. Using a shadow for UICollectionView cells is a very common practice.

  15. UICollectionViewCompositionalLayout is a highly adaptive and modern way of building UICollectionView layout.