Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of unresolved Identifier 'Async' in LFTPulseAnimation.swift File #2

Closed
touhidurabir opened this issue May 19, 2015 · 2 comments
Closed

Comments

@touhidurabir
Copy link

I install the async lib(https://github.com/duemunk/Async) using the cocoaPod and then just add the file from xcode->New->File and the LFTPulseAnimation.swift file and it show me this error . but before adding the LFTPulseAnimation.swift file and right after installing the async lib though Pod , it was working file and project was running properly. Not sure what I am missing here .

using
Xcode Version 6.3.1 (6D1002)
Swift 1.2

@ctews
Copy link
Owner

ctews commented May 21, 2015

Please make sure that Async gets linked properly from the Pods against the right target. But it has nothing to do with LFTPulseAnimation, since it's just searching for this class ;) Maybe I should just remove the Async dependency and use the standard GCD call.

@ctews ctews closed this as completed May 27, 2015
@ahmetws
Copy link
Contributor

ahmetws commented Oct 18, 2015

change the Async library code with that

        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), {
            self.setupAnimationGroup()
            self.setPulseRadius(self.radius)

            if (self.pulseInterval != Double.infinity) {
                dispatch_async(dispatch_get_main_queue(), {
                    self.addAnimation(self.animationGroup, forKey: "pulse")
                })
            }
        })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants