Enable SwiftLint rule 'lower_acl_than_parent' and fix all violations

This commit is contained in:
Danny Moesch 2020-07-04 23:46:41 +02:00 committed by Mingshen Sun
parent 1b3a8ff0d8
commit b4c25726a5
5 changed files with 20 additions and 19 deletions

View file

@ -9,8 +9,9 @@
import Foundation
import UIKit
class SecurePasteboard {
public class SecurePasteboard {
public static let shared = SecurePasteboard()
private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
func copy(textToCopy: String?, expirationTime: Double = 45) {