Hero: xcode 8.2.1 and swift 3 error /Hero-master 2/Sources/UIKit+Hero.swift:45:3: error: Large Tuple Violation: Tuples should have at most 3 members. (large_tuple)

Created on 17 Feb 2017  路  4Comments  路  Source: HeroTransitions/Hero

i am facing error while running the sample project for ios.

All 4 comments

Please use a short title instead of a error message when you fill issues. It's a swiftlint message.
See here It's a tool to enforce Swift style and conventions.
Just add this comment

// swiftlint:disable:next large_tuple

before this function

  var components:(r:CGFloat, g: CGFloat, b: CGFloat, a: CGFloat) 

It should work then 馃帀

kk thanks

I'm not able to build this project through carthage because I have swiftlint installed. Do we want to disable the large_tuple check in Hero?

Just uninstall swiftlint before you build Hero you can install it again after that

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LucaGalaxy picture LucaGalaxy  路  4Comments

pxwinter picture pxwinter  路  3Comments

josmanperez picture josmanperez  路  3Comments

BalestraPatrick picture BalestraPatrick  路  3Comments

joeljfischer picture joeljfischer  路  3Comments