Skip to content

Commit

Permalink
make property nonobjc to prevent Swift compiler from exposing it to objc
Browse files Browse the repository at this point in the history
  • Loading branch information
DenTelezhkin committed May 24, 2016
1 parent 5e0d6c3 commit 9ea4625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Realm/RealmStorage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class RealmStorage : BaseStorage, StorageProtocol, SupplementaryStoragePr
/// Array of `RealmSection` objects
public var sections = [Section]()

var notificationTokens: [Int:RealmSwift.NotificationToken] = [:]
@nonobjc private var notificationTokens: [Int:RealmSwift.NotificationToken] = [:]

deinit {
notificationTokens.values.forEach { token in
Expand Down

0 comments on commit 9ea4625

Please sign in to comment.