Skip to content

Commit

Permalink
Remove a few unused imports (#2253)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanton authored Dec 10, 2023
1 parent e7ed4b7 commit 53b2c73
Show file tree
Hide file tree
Showing 106 changed files with 0 additions and 187 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Created by Cal Stephens on 2/10/22.
// Copyright © 2022 Airbnb Inc. All rights reserved.

import Foundation
import QuartzCore

// MARK: - StrokeShapeItem
Expand Down
1 change: 0 additions & 1 deletion Sources/Private/CoreAnimation/CoreAnimationLayer.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Created by Cal Stephens on 12/13/21.
// Copyright © 2021 Airbnb Inc. All rights reserved.

import Foundation
import QuartzCore

// MARK: - CoreAnimationLayer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Created by Cal Stephens on 12/20/21.
// Copyright © 2021 Airbnb Inc. All rights reserved.

import QuartzCore

// MARK: - LayerContext

/// Context available when constructing an `AnimationLayer`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Brandon Withrow on 1/22/19.
//

import Foundation
import QuartzCore

// MARK: - CompositionLayer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Brandon Withrow on 1/25/19.
//

import CoreGraphics
import Foundation
import QuartzCore

final class ImageCompositionLayer: CompositionLayer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Brandon Withrow on 1/25/19.
//

import Foundation
import QuartzCore

extension MaskMode {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Brandon Withrow on 1/25/19.
//

import Foundation
import QuartzCore

final class PreCompositionLayer: CompositionLayer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Brandon Withrow on 1/25/19.
//

import Foundation
import QuartzCore

final class SolidCompositionLayer: CompositionLayer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
// Created by Brandon Withrow on 1/25/19.
//

import CoreGraphics
import CoreText
import Foundation
import QuartzCore

/// Needed for NSMutableParagraphStyle...
#if os(OSX)
import AppKit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Brandon Withrow on 1/24/19.
//

import Foundation
import QuartzCore

// MARK: - MainThreadAnimationLayer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Created by Jianjun Wu on 2022/5/12.
// Copyright © 2022 Airbnb Inc. All rights reserved.

import CoreGraphics
import Foundation
import QuartzCore

// MARK: - CachedImageProvider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Brandon Withrow on 1/28/19.
//

import Foundation
import QuartzCore

/// A layer that inverses the alpha output of its input layer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
// Copyright © 2020 YurtvilleProds. All rights reserved.
//

import Foundation

/// Connects a LottieFontProvider to a group of text layers
final class LayerFontProvider {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Brandon Withrow on 1/25/19.
//

import Foundation

/// Connects a LottieImageProvider to a group of image layers
final class LayerImageProvider {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Alexandr Goncharov on 07/06/2019.
//

import Foundation

/// Connects a LottieTextProvider to a group of text layers
final class LayerTextProvider {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Brandon Withrow on 2/4/19.
//

import CoreGraphics
import Foundation
import QuartzCore

// MARK: - LayerTransformProperties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Brandon Withrow on 1/18/19.
//

import Foundation

// MARK: - NodeTree

final class NodeTree {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Brandon Withrow on 1/21/19.
//

import Foundation
import QuartzCore

// MARK: - NodePropertyMap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Brandon Withrow on 1/30/19.
//

import CoreGraphics
import Foundation
import QuartzCore

class GroupOutputNode: NodeOutput {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
//

import CoreGraphics
import Foundation

class PassThroughOutputNode: NodeOutput {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
//

import CoreGraphics
import Foundation

/// A node that has an output of a BezierPath
class PathOutputNode: NodeOutput {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Brandon Withrow on 1/30/19.
//

import CoreGraphics
import Foundation
import QuartzCore

extension FillRule {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Brandon Withrow on 1/30/19.
//

import Foundation
import QuartzCore

// MARK: - GradientFillLayer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Brandon Withrow on 1/30/19.
//

import Foundation
import QuartzCore

// MARK: - Renderer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Brandon Withrow on 1/30/19.
//

import Foundation
import QuartzCore

/// A rendered for a Path Fill
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Brandon Withrow on 1/30/19.
//

import Foundation
import QuartzCore

extension LineJoin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Brandon Withrow on 1/18/19.
//

import CoreGraphics
import Foundation
import QuartzCore

// MARK: - GroupNodeProperties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Brandon Withrow on 2/19/19.
//

import CoreGraphics
import Foundation
import QuartzCore

// MARK: - TextAnimatorNodeProperties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Brandon Withrow on 1/15/19.
//

import Foundation
import QuartzCore

// MARK: - NodeOutput
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Brandon Withrow on 1/17/19.
//

import Foundation

// MARK: - PathNode

protocol PathNode {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Brandon Withrow on 1/17/19.
//

import CoreGraphics
import Foundation
import QuartzCore

// MARK: - RenderNode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Brandon Withrow on 1/30/19.
//

import Foundation
import QuartzCore

/// The base layer that holds Shapes and Shape Renderers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Brandon Withrow on 1/18/19.
//

import Foundation
import QuartzCore

/// The layer responsible for rendering shape objects
Expand Down
2 changes: 0 additions & 2 deletions Sources/Private/Model/Assets/Asset.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Brandon Withrow on 1/9/19.
//

import Foundation

// MARK: - Asset

public class Asset: Codable, DictionaryInitializable {
Expand Down
2 changes: 0 additions & 2 deletions Sources/Private/Model/Assets/AssetLibrary.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Brandon Withrow on 1/9/19.
//

import Foundation

final class AssetLibrary: Codable, AnyInitializable, Sendable {

// MARK: Lifecycle
Expand Down
2 changes: 0 additions & 2 deletions Sources/Private/Model/Assets/PrecompAsset.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Brandon Withrow on 1/9/19.
//

import Foundation

final class PrecompAsset: Asset {

// MARK: Lifecycle
Expand Down
2 changes: 0 additions & 2 deletions Sources/Private/Model/DictionaryInitializable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Marcelo Fabri on 5/5/22.
//

import Foundation

// MARK: - InitializableError

enum InitializableError: Error {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by Evandro Hoffmann on 20/10/22.
//

import Foundation
#if canImport(UIKit)
import UIKit
#elseif canImport(AppKit)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// From: https://medium.com/@kewindannerfjordremeczki/swift-4-0-decodable-heterogeneous-collections-ecc0e6b468cf

import Foundation

// MARK: - ClassFamily

/// To support a new class family, create an enum that conforms to this protocol and contains the different types.
Expand Down
3 changes: 0 additions & 3 deletions Sources/Private/Model/Keyframes/KeyframeData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
// Created by Brandon Withrow on 1/7/19.
//

import CoreGraphics
import Foundation

// MARK: - KeyframeData

/// A generic class used to parse and remap keyframe json.
Expand Down
2 changes: 0 additions & 2 deletions Sources/Private/Model/Keyframes/KeyframeGroup.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Brandon Withrow on 1/14/19.
//

import Foundation

// MARK: - KeyframeGroup

/// Used for coding/decoding a group of Keyframes by type.
Expand Down
2 changes: 0 additions & 2 deletions Sources/Private/Model/LayerEffects/DropShadowEffect.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Created by Cal Stephens on 8/14/23.
// Copyright © 2023 Airbnb Inc. All rights reserved.

import Foundation

final class DropShadowEffect: LayerEffect {

// MARK: Lifecycle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Created by Cal Stephens on 8/14/23.
// Copyright © 2023 Airbnb Inc. All rights reserved.

import Foundation

final class ColorEffectValue: EffectValue {

// MARK: Lifecycle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Created by Cal Stephens on 8/15/23.
// Copyright © 2023 Airbnb Inc. All rights reserved.

import Foundation

// MARK: - EffectValueType

/// https://lottiefiles.github.io/lottie-docs/schema/#/$defs/effect-values
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Created by Cal Stephens on 8/14/23.
// Copyright © 2023 Airbnb Inc. All rights reserved.

import Foundation

final class Vector1DEffectValue: EffectValue {

// MARK: Lifecycle
Expand Down
Loading

0 comments on commit 53b2c73

Please sign in to comment.