Am trying to fix few bugs in UX when implementing the pod from folding cell from RAMotion github link for pod
However looked into few resources here and here was unable to understand the issue.
in FileA in the given function shows an error saying:
Argument labels '
(rawValue:)
' do not match any available overloads
fileprivate func convertToCAMediaTimingFunctionName(_ input: String) -> CAMediaTimingFunctionName {
return CAMediaTimingFunctionName(rawValue: input as String)
}
while looking in the CAMediaTimingFunctionName
it has following code
/* CoreAnimation - CAMediaTimingFunction.h
Copyright (c) 2006-2018, Apple Inc.
All rights reserved. */
public struct CAMediaTimingFunctionName : Hashable, Equatable, RawRepresentable {
public init(rawValue: String)
}
There has been some issues with the said RAmotion project as it was orginally designed for swift 3 later few updates were made.
However, with the limited information would suggest in saying to try something like this
fileprivate func convertToCAMediaTimingFunctionName(_ input: String) -> CAMediaTimingFunctionName {
return CAMediaTimingFunctionName(string:input )
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments