Restored files from old Mac, force pushing

This commit is contained in:
Hariharan Mudaliar 2025-07-13 20:26:03 +05:30
commit 5040381840
126 changed files with 10431 additions and 67 deletions

View file

@ -0,0 +1,29 @@
//
// drop.swift
// DynamicIsland
//
// Created by Harsh Vardhan Goswami on 04/08/24.
//
import Foundation
import SwiftUI
public class DynamicIslandAnimations {
@Published var notchStyle: Style = .notch
init() {
self.notchStyle = .notch
}
var animation: Animation {
if #available(macOS 14.0, *), notchStyle == .notch {
Animation.spring(.bouncy(duration: 0.4))
} else {
Animation.timingCurve(0.16, 1, 0.3, 1, duration: 0.7)
}
}
// TODO: Move all animations to this file
}