Skip to content

Commit

Permalink
Update LottieAnimationView.getValue(for:atFrame:) docs (#2455)
Browse files Browse the repository at this point in the history
  • Loading branch information
GalBerezansky authored Jul 29, 2024
1 parent cc78796 commit 0d20f5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/Public/Animation/LottieAnimationView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,9 @@ open class LottieAnimationView: LottieAnimationViewBase {
/// Reads the value of a property specified by the Keypath.
/// Returns nil if no property is found.
///
/// Note: This method isn't supported by the Core Animation rendering engine and will always return `nil` if used.
/// It is still supported by the Main Thread rendering engine.
///
/// - Parameter for: The keypath used to search for the property.
/// - Parameter atFrame: The Frame Time of the value to query. If nil then the current frame is used.
public func getValue(for keypath: AnimationKeypath, atFrame: AnimationFrameTime?) -> Any? {
Expand Down

0 comments on commit 0d20f5d

Please sign in to comment.