Colours/Colours.swift:148:38: Expression was too complex to be solved in reasonable time; consider breaking up the expression into distinct sub-expressions
// Transfrom XYZ to L*a*b
var deltaF: TransformBlock = { f in
return (f > pow((6.0/29.0), 3.0)) ? pow(f, 1.0/3.0) : (1/3)*pow((29.0/6.0), 2.0) * f + 4/29.0
}
Colours/Colours.swift:44:41: 'NSString' is not implicitly convertible to 'String'; did you mean to use 'as' to explicitly convert?
Colours/Colours.swift:148:38: Expression was too complex to be solved in reasonable time; consider breaking up the expression into distinct sub-expressions
Colours/Colours.swift:44:41: 'NSString' is not implicitly convertible to 'String'; did you mean to use 'as' to explicitly convert?
Tested on iOS Simulator with iOS 8.4