unioil-loyalty-rn-app/ios/Pods/lottie-ios/Sources/Private/Utility/Debugging/AnimatorNodeDebugging.swift

26 lines
492 B
Swift

//
// AnimatorNodeDebugging.swift
// lottie-swift
//
// Created by Brandon Withrow on 1/18/19.
//
import Foundation
extension AnimatorNode {
func printNodeTree() {
parentNode?.printNodeTree()
LottieLogger.shared.info(String(describing: type(of: self)))
if let group = self as? GroupNode {
LottieLogger.shared.info("* |Children")
group.rootNode?.printNodeTree()
LottieLogger.shared.info("*")
} else {
LottieLogger.shared.info("|")
}
}
}