Skip to content

Type 'AnimationType' has no member 'from' #74

@d0hnj0e

Description

@d0hnj0e

Steps to Reproduce the Problem

  1. import ViewAnimator
  2. let moveFromLeftAnimation = AnimationType.from(direction: .left, offset: 50)
  3. swipeTextLabelOutlet.animate(animations: [moveFromLeftAnimation], initialAlpha: 0, finalAlpha: 1, delay: baseDelay + delayTwo, duration: duration)

results in

Cannot infer contextual base in reference to member 'left'
Type 'AnimationType' has no member 'from'

Possible choices are

Screenshot 2020-09-19 at 08 56 18

Specifications

  • Version: Xcode Version 12.0 (12A7209), iOS 14.0, iPhone 11 Pro, ViewAnimator v. 3.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions