fujiyuu75 / Sequents

A simple continuous animation library for iOS UI.
Apache License 2.0
30 stars 3 forks source link

is:I get 'Use of unresolved Identifier' error for 'Animation' and 'sequents' #6

Open rgh78910 opened 7 years ago

rgh78910 commented 7 years ago

So I add the library in pod file and it's there in project but when I'm trying to use it I get the error.

import UIKit

class firstView: UIViewController {
@IBOutlet weak var stack_1: UIStackView!

override func viewDidLoad() {
    super.viewDidLoad()

    Sequents.origin(self.stack_1).anim(Animation.fadeIn).start()
    // Do any additional setup after loading the view.
}

override func didReceiveMemoryWarning() {
    super.didReceiveMemoryWarning()
    // Dispose of any resources that can be recreated.
}

}

Wondering if someone can help.

WrathChaos commented 7 years ago

Hello, did you import Sequents ?

rgh78910 commented 7 years ago

Hi, Thanks for following, Yes I didi #Import Sequents.

On Thu, Oct 12, 2017 at 4:13 PM, FreakyCoder notifications@github.com wrote:

Hello, did you import Sequents ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fujiyuu75/Sequents/issues/6#issuecomment-336131328, or mute the thread https://github.com/notifications/unsubscribe-auth/AQbKBBrZqmZAqzvPCVstpn2QCOTjvMdEks5srhBggaJpZM4PxZwj .

WrathChaos commented 7 years ago

Can you add the error ?

rgh78910 commented 7 years ago

issue title is the error I get: 'Use of unresolved Identifier for 'Animation' and 'sequents'

WrathChaos commented 7 years ago

Are you using Swift 4 ? Also, please try to update your pod and cocoapods : Update cocoapods : pod repo update Update pods : pod update

rgh78910 commented 7 years ago

Yes, I'm using Swift 4. And cocoapods and pod are updated.

WrathChaos commented 7 years ago

Can you please try to make this library to Swift Language : 3.2 ? I believe that your problem will be solved

rgh78910 commented 7 years ago

I have no idea how to do that! can u lead me?

WrathChaos commented 7 years ago

I've checked mine and I can use it with 4.0. Can you share your project privately so I can check the problem?

rgh78910 commented 7 years ago

Well, actually I switch to TweenKit library and it works fine for me. I'm just wondering why it happens with 'sequents'!. Any way, how can I share the project with you?