mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
25 lines
565 B
Swift
25 lines
565 B
Swift
//
|
|
// KeypathSettable.swift
|
|
// lottie-swift
|
|
//
|
|
// Created by Brandon Withrow on 2/4/19.
|
|
//
|
|
|
|
import Foundation
|
|
import QuartzCore
|
|
|
|
/// Protocol that provides keypath search functionality. Returns all node properties associated with a keypath.
|
|
protocol KeypathSearchable {
|
|
|
|
/// The name of the Keypath
|
|
var keypathName: String { get }
|
|
|
|
/// A list of properties belonging to the keypath.
|
|
var keypathProperties: [String: AnyNodeProperty] { get }
|
|
|
|
/// Children Keypaths
|
|
var childKeypaths: [KeypathSearchable] { get }
|
|
|
|
var keypathLayer: CALayer? { get }
|
|
}
|