Showing 104 of 104 total issues
Computed read-only properties should avoid using the get keyword. Open
Open
get {
- Exclude checks
Three lines between top-level items. Open
Open
import Foundation
- Exclude checks
There must be two or zero lines between second-level items. Open
Open
}
- Exclude checks
Operators should be surrounded by a single whitespace when they are being used. Open
Open
public init(binding: @escaping (Object, Value)->Void) {
- Exclude checks
Force unwrapping should be avoided. Open
Open
let interval = mach_absolute_time() - tickTockAbsoluteTime!
- Exclude checks
Three lines between top-level items. Open
Open
import Foundation
- Exclude checks
Three lines between top-level items. Open
Open
import Foundation
- Exclude checks
Operators should be surrounded by a single whitespace when they are being used. Open
Open
public init(factory: @escaping ()->T) {
- Exclude checks
Return arrow and return type should be separated by a single space or on a separate line. Open
Open
public init(threshold: TimeInterval, refractoryPeriod: TimeInterval? = 1, perform: @escaping ()->Void) {
- Exclude checks
Files should have a single trailing newline. Open
Open
- Exclude checks
Three lines between top-level items. Open
Open
}
- Exclude checks
Opening braces should be preceded by a single space and on the same line as the declaration. Open
Open
public var isNotEmpty:Bool{
- Exclude checks
Return arrow and return type should be separated by a single space or on a separate line. Open
Open
public func map<FromValue, ToValue>(_ completion: @escaping (Result<ToValue, Error>)->Void, transform: @escaping (FromValue)->ToValue) -> (Result<FromValue, Error>)->Void {
- Exclude checks
Return arrow and return type should be separated by a single space or on a separate line. Open
Open
public func flatMap<FromValue, ToValue>(_ completion: @escaping (Result<ToValue, Error>)->Void, transform: @escaping (FromValue)throws->ToValue) -> (Result<FromValue, Error>)->Void {
- Exclude checks
Three lines between top-level items. Open
Open
}
- Exclude checks
Opening braces should be preceded by a single space and on the same line as the declaration. Open
Open
public var maybeBlank:String?{
- Exclude checks
Operators should be surrounded by a single whitespace when they are being used. Open
Open
private let binding: (Object, Value)->Void
- Exclude checks
Initializing an optional variable with nil is redundant. Open
Open
private var state: T? = nil
- Exclude checks
Expected space after comment. Open
Open
//import Foundation
- Exclude checks
Three lines between top-level items. Open
Open
import Foundation
- Exclude checks