Peter Witham 8/10/2024

Embracing new API's whilst retaining backwards compatibility

Read Original

The article, based on a podcast episode, details a developer's experience implementing new macOS 15 SwiftUI features like window styling and navigation. Faced with API availability issues, they explain the use of conditional compilation (e.g., #if available) to enable modern features on newer OS versions while ensuring the app remains functional for users on macOS 14, a key practice in software development.

Embracing new API's whilst retaining backwards compatibility

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week