mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 23:24:32 +00:00
19 lines
396 B
Swift
19 lines
396 B
Swift
//
|
|
// NotchSpaceManager.swift
|
|
// DynamicIsland
|
|
//
|
|
// Created by Alexander on 2024-10-27.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
class NotchSpaceManager {
|
|
static let shared = NotchSpaceManager()
|
|
let notchSpace: CGSSpace
|
|
private var eventTap: CFMachPort?
|
|
private var runLoopSource: CFRunLoopSource?
|
|
|
|
private init() {
|
|
notchSpace = CGSSpace(level: 2147483647) // Max level
|
|
}
|
|
}
|