-
Notifications
You must be signed in to change notification settings - Fork 453
Add tvOS support for volume capacity properties #455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: Zandor300 <[email protected]>
@copilot Run gyb with flag " --line-directive '' to get rid of the "sourceLocation" lines in the generated swift file. Update your own instructions to include that by default. |
…e-directive flag Co-authored-by: Zandor300 <[email protected]>
Updated the generated Swift file to remove sourceLocation lines using |
SwiftLint found issuesWarnings
Generated by 🚫 Danger |
#if os(iOS)
to#if os(iOS) || os(tvOS)
Changes made:
#if os(iOS)
to#if os(iOS) || os(tvOS)
in Device.swift.gybtvOS 11.0
to@available
attributes for advanced volume functionsBackward compatibility:
The implementation leverages Foundation's URLResourceValues which natively supports these properties on both iOS and tvOS platforms.
Fixes #449.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.