Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 15
  1. Toolbar customization is a staple of a true Mac app with any amount of complex functionality.

  2. The AppKit Debug menu is a debugging tool that has been shipping as part of the framework and hence macOS itself for a few years.

  3. In my previous post, In-Process Animations and Transitions with CADisplayLink, Done Right, I outlined some of the use cases for implementing custom animations, as well as how to use CADisplayLink to help you drive the animations you create.

  4. With the introduction of the Swift-native AttributedString in iOS 15 and macOS 12, it’s become pretty common to convert between the existing NSAttributedString and the new type.

  5. I have already written about another gnarly bug around document-based apps in SwiftUI in a previous post.

  6. Okay, forgive me for the attention grabbing title; evil is a pretty harsh term and doesn’t quite convey the nuance.

  7. When it comes to writing good user interface code, and code in general, it’s not exactly groundbreaking to claim that in any given situation, we should strive to use the right tool for the right job.

  8. SwiftUI undoubtedly has a lot of impressive capabilities and features, but unfortunately transparency is not one of them.

  9. macOS 14 and iOS 17 saw the introduction of the Observation framework and the Observable macro, allowing your SwiftUI views to automatically update in response to underlying data changing.

  10. Admittedly, in-process animation and transition techniques on macOS are not as widely applied or evolved as they may be on iOS and iOS-derived platforms, and information and advice around them can be scattered and oftentimes outdated.

  11. TL;DR: As a result of a gnarly regression, every document-based SwiftUI app on visionOS 2.4 is duplicating views, rendering document-based app completely unusable on the platform.

  12. While working on a behavior that required dynamically switching between the nonactivating panel behavior and one that is more similar to the regular window behavior, I discovered a subtle but significant issue in AppKit: changing the NSWindowStyleMaskNona…

  13. At this point, AppKit developers with their finger on the pulse may be familiar with setting subtitles on NSMenuItem using the subtitle property, which has been available since macOS 14.4.

  14. Early Macintosh computers have played a huge role not just in personal computing in general, but in core areas like UI design and systems and framework engineering.

  15. Swift 6 language mode promises compile-time stricter concurrency checking, aimed at preventing and eliminating data races, runtime memory corruption, as well as other common but hard to debug issues.