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

Swift Compiler Error #57

Closed
ajthechan opened this issue Apr 9, 2015 · 7 comments
Closed

Swift Compiler Error #57

ajthechan opened this issue Apr 9, 2015 · 7 comments

Comments

@ajthechan
Copy link

Didn't have this problem last night. Not sure what cause this? Help, please.

/Spring-master/Spring/LoadingView.swift
/Spring-master/Spring/LoadingView.swift:40:99: 'AnyObject' is not convertible to 'UIView'; did you mean to use 'as!' to force downcast?
/Spring-master/Spring/Misc.swift
/Spring-master/Spring/Misc.swift:26:37: 'countElements' has been renamed to count
/Spring-master/Spring/Misc.swift:75:21: 'countElements' has been renamed to count
/Spring-master/Spring/DesignableTabBarController.swift
/Spring-master/Spring/DesignableTabBarController.swift:36:35: 'selectedImageTintColor' was deprecated in iOS version 8.0: Use tintColor
/Spring-master/Spring/DesignableTabBarController.swift:49:46: '?' must be followed by a call, member lookup, or subscript
/Spring-master/Spring/DesignableTabBarController.swift:50:53: '[AnyObject]?' is not convertible to '[UITabBarItem]'; did you mean to use 'as!' to force downcast?
/Spring-master/Spring/DesignableTabBarController.swift:58:47: '?' must be followed by a call, member lookup, or subscript
/Spring-master/Spring/DesignableTabBarController.swift:59:53: '[AnyObject]?' is not convertible to '[UITabBarItem]'; did you mean to use 'as!' to force downcast?
/Spring-master/Spring/DesignableTabBarController.swift:67:46: '?' must be followed by a call, member lookup, or subscript
/Spring-master/Spring/DesignableTabBarController.swift:68:53: '[AnyObject]?' is not convertible to '[UITabBarItem]'; did you mean to use 'as!' to force downcast?
/Spring-master/Spring/DesignableTabBarController.swift:76:47: '?' must be followed by a call, member lookup, or subscript
/Spring-master/Spring/DesignableTabBarController.swift:77:53: '[AnyObject]?' is not convertible to '[UITabBarItem]'; did you mean to use 'as!' to force downcast?
/Spring-master/Spring/DesignableTabBarController.swift:85:46: '?' must be followed by a call, member lookup, or subscript
/Spring-master/Spring/DesignableTabBarController.swift:86:53: '[AnyObject]?' is not convertible to '[UITabBarItem]'; did you mean to use 'as!' to force downcast?
/Spring-master/Spring/DesignableTabBarController.swift:95:39: '[AnyObject]?' is not convertible to '[UITabBarItem]'; did you mean to use 'as!' to force downcast?
/Spring-master/Spring/Spring.swift
/Spring-master/Spring/Spring.swift:450:35: Missing argument label 'completion:' in call

@ajthechan
Copy link
Author

Fixed. Found on answer on Facebook group:)

@Epick362
Copy link

Epick362 commented Apr 9, 2015

Was this caused by the new Swift version?

@ajthechan
Copy link
Author

Seem to be so.

@adamnbowen
Copy link

There are several unmerged pull requests that would fix this issue. This is caused by the update to Swift 1.2

@jamztang
Copy link
Contributor

#48 was merged earlier, the drop in method shall already fix the issue. We'll be putting up for Cocoapods soon.

@JCombe
Copy link

JCombe commented Jun 1, 2015

@ajthechan I have the same issue with my app... could you tell me the name of the Facebook group which helped you with it.

@ajthechan
Copy link
Author

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

5 participants