Skip to content

Commit

Permalink
adjust some access control
Browse files Browse the repository at this point in the history
  • Loading branch information
caiyue1993 committed May 1, 2020
1 parent bcab573 commit ab219ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion IceCream/Classes/BackgroundWorker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import RealmSwift
// Based on https://academy.realm.io/posts/realm-notifications-on-background-threads-with-swift/
// Tweaked a little by Yue Cai

public class BackgroundWorker: NSObject {
class BackgroundWorker: NSObject {

static let shared = BackgroundWorker()

Expand Down
2 changes: 1 addition & 1 deletion IceCream/Classes/DatabaseManagerProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import CloudKit

public protocol DatabaseManager: class {
protocol DatabaseManager: class {

/// A conduit for accessing and performing operations on the data of an app container.
var database: CKDatabase { get }
Expand Down
2 changes: 1 addition & 1 deletion IceCream/Classes/SyncEngine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public final class SyncEngine {
setup()
}

public func setup() {
private func setup() {
databaseManager.prepare()
databaseManager.container.accountStatus { [weak self] (status, error) in
guard let self = self else { return }
Expand Down

0 comments on commit ab219ab

Please sign in to comment.