mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-05-01 23:35:13 +02:00
4647310322
Based on Swiftgram 12.5 (Telegram iOS 12.5). All GLEGram features ported and organized in GLEGram/ folder. Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass, Font Replacement, Fake Profile, Chat Export, Plugin System, and more. See CHANGELOG_12.5.md for full details.
27 lines
582 B
Swift
27 lines
582 B
Swift
//
|
|
// AnyValueContainer.swift
|
|
// lottie-swift
|
|
//
|
|
// Created by Brandon Withrow on 1/30/19.
|
|
//
|
|
|
|
import CoreGraphics
|
|
import Foundation
|
|
|
|
/// The container for the value of a property.
|
|
protocol AnyValueContainer: AnyObject {
|
|
|
|
/// The stored value of the container
|
|
var value: Any { get }
|
|
|
|
/// Notifies the provider that it should update its container
|
|
func setNeedsUpdate()
|
|
|
|
/// When true the container needs to have its value updated by its provider
|
|
var needsUpdate: Bool { get }
|
|
|
|
/// The frame time of the last provided update
|
|
var lastUpdateFrame: CGFloat { get }
|
|
|
|
}
|