buttonstyle

Generated on 8/8/2024

1 search

Button Styles in WWDC 2024

Sessions Mentioned:

  1. Migrate your TVML app to SwiftUI
  2. What’s new in StoreKit and In-App Purchase
  3. Extend your app’s controls across the system
  4. Create custom hover effects in visionOS
  5. Catch up on accessibility in SwiftUI
  6. Customize feature discovery with TipKit

Relevant Information:

  1. Migrate your TVML app to SwiftUI:

    • Borderless Button Style: Used to achieve a specific appearance where the image and title are in the right orientation, and the image has rounded corners and a slight drop shadow. When focused, the image lifts, the text moves down, and a specular highlight appears. (Migrate your TVML app to SwiftUI)
    • Card Button Style: Provides a rounded platter to back your content, which lifts and moves in a more subtle manner than the borderless button style. (Migrate your TVML app to SwiftUI)
  2. What’s new in StoreKit and In-App Purchase:

  3. Extend your app’s controls across the system:

  4. Create custom hover effects in visionOS:

  5. Catch up on accessibility in SwiftUI:

    • Styles for Accessibility: Supported across many different controls like button and toggle groupings, and indicators like Progress View and gauge. (Catch up on accessibility in SwiftUI)
  6. Customize feature discovery with TipKit:

Summary

WWDC 2024 introduced various button styles and customization options across different sessions. From the borderless and card button styles in SwiftUI for TVML apps to the subscribe button API in StoreKit, and custom button styles in visionOS, developers have a wide range of tools to create interactive and accessible user interfaces.

Create custom hover effects in visionOS

Create custom hover effects in visionOS

Learn how to develop custom hover effects that update views when people look at them. Find out how to build an expanding button effect that combines opacity, scale, and clip effects. Discover best practices for creating effects that are comfortable and respect people’s accessibility needs.

Migrate your TVML app to SwiftUI

Migrate your TVML app to SwiftUI

SwiftUI helps you build great apps on all Apple platforms and is the preferred toolkit for bringing your content into the living room with tvOS 18. Learn how to use SwiftUI to create familiar layouts and controls from TVMLKit, and get tips and best practices.

What’s new in AppKit

What’s new in AppKit

Discover the latest advances in Mac app development. Get an overview of the new features in macOS Sequoia, and how to adopt them in your app. Explore new ways to integrate your existing code with SwiftUI. Learn about the improvements made to numerous AppKit controls, like toolbars, menus, text input, and more.

What’s new in StoreKit and In-App Purchase

What’s new in StoreKit and In-App Purchase

Learn how to build and deliver even better purchase experiences using the App Store In-App Purchase system. We’ll demo new StoreKit views control styles and new APIs to improve your subscription customization, discuss new fields for transaction-level information, and explore new testability in Xcode. We’ll also review an important StoreKit deprecation.

Catch up on accessibility in SwiftUI

Catch up on accessibility in SwiftUI

SwiftUI makes it easy to build amazing experiences that are accessible to everyone. We’ll discover how assistive technologies understand and navigate your app through the rich accessibility elements provided by SwiftUI. We’ll also discuss how you can further customize these experiences by providing more information about your app’s content and interactions by using accessibility modifiers.

Customize feature discovery with TipKit

Customize feature discovery with TipKit

Focused on feature discovery, the TipKit framework makes it easy to display tips in your app. Now you can group tips so features are discovered in the ideal order, make tips reusable with custom tip identifiers, match the look and feel to your app, and sync tips using CloudKit. Learn how you can use the latest advances in TipKit to help people discover everything your app has to offer.

Extend your app’s controls across the system

Extend your app’s controls across the system

Bring your app’s controls to Control Center, the Lock Screen, and beyond. Learn how you can use WidgetKit to extend your app’s controls to the system experience. We’ll cover how you can to build a control, tailor its appearance, and make it configurable.