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 'Mattress' #24

Closed
aetsyss opened this issue Oct 21, 2015 · 2 comments
Closed

Use of unresolved identifier 'Mattress' #24

aetsyss opened this issue Oct 21, 2015 · 2 comments

Comments

@aetsyss
Copy link

aetsyss commented Oct 21, 2015

Hi,
after installation via cocoa pods this line
let urlCache = Mattress.URLCache(memoryCapacity: 20 * MB, diskCapacity: 20 * MB, diskPath: nil,
mattressDiskCapacity: 1 * GB, mattressDiskPath: nil, mattressSearchPathDirectory: .DocumentDirectory,
isOfflineHandler: isOfflineHandler)

shows an error Use of unresolved identifier 'Mattress'

@sey
Copy link

sey commented Oct 21, 2015

I think you forgot to import the module on top of the file.

import Mattress

@aetsyss
Copy link
Author

aetsyss commented Oct 22, 2015

Thanks a lot! This helped me!

@aetsyss aetsyss closed this as completed Oct 22, 2015
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

2 participants