JohnCoates/Aerial

View on GitHub
Resources/MainUI/Settings panels/FiltersViewController.swift

Summary

Maintainability
A
0 mins
Test Coverage

Parentheses content should not end with whitespace
Open

                                           parameters: [kCIInputImageKey: ciImage, kCIInputAmountKey: PrefsVideos.globalVibrance] )?.outputImage {

Closure is the function's final argument and may be passed as a trailing closure instead
Open

        let videos = VideoList.instance.currentRotation().filter({ $0.isAvailableOffline && !$0.isHDR() }).shuffled()

trailing-closure

Closures that are the last argument of a function should be passed into the function using trailing closure syntax.

Preferred

reversed = names.sort { s1, s2 in return s1 > s2 }

Not Preferred

reversed = names.sort({ s1, s2 in return s1 > s2 })

There are no issues that match your filters.

Category
Status