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

Change Notification variable to avoid ambiguous error #5

Open
mrhaxic opened this issue Jun 17, 2018 · 0 comments
Open

Change Notification variable to avoid ambiguous error #5

mrhaxic opened this issue Jun 17, 2018 · 0 comments

Comments

@mrhaxic
Copy link

mrhaxic commented Jun 17, 2018

Hello, Library should use another variable name instead of Notification in the below lines

public struct Notification {
    static let titleFont = UIFont.boldSystemFont(ofSize: 14)
    static let subtitleFont = UIFont.systemFont(ofSize: 13)
    
    static let animationDuration: TimeInterval = 0.3 // second(s)
    public static let exhibitionDuration: TimeInterval = 5.0 // second(s)

}

to avoid the error of 'Notification' is ambiguous for type lookup in this.

Thanks

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

1 participant