This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ComplicationController+helpers.swift | |
// WatchKit Extension | |
// | |
// Created by Lukas Petr on 09.02.2022. | |
// Distributed under MIT License. | |
// | |
// | |
// Helper methods for creating pixel-perfect complications for all Apple Watch sizes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// WidgetEnvironmentBackporting.swift | |
// Widget Extension | |
// | |
// Created by Lukas Petr on 06.09.2023. | |
// Copyright © 2023 Glimsoft. All rights reserved. | |
// | |
// This solution is heavily inspired by https://developer.apple.com/forums/thread/733780?answerId=759064022#759064022 | |
// All credit should go to him. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SwiftUI+tintedWidgets.swift | |
// Timelines | |
// | |
// Created by Lukas Petr on 18.08.2024. | |
// | |
import SwiftUI | |
fileprivate struct LuminanceViewModifier: ViewModifier { |