Skip to content

Commit

Permalink
code improve
Browse files Browse the repository at this point in the history
  • Loading branch information
0ber committed Jul 31, 2018
1 parent 79ebfda commit de28153
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FoldingCell/FoldingCell/FoldingCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ open class FoldingCell: UITableViewCell {
var rotatedViews = [RotatedView]()

animationView?.subviews
.lazy
.compactMap({ $0 as? RotatedView })
.sorted(by: { $0.tag < $1.tag })
.forEach { itemView in
Expand Down

0 comments on commit de28153

Please sign in to comment.