Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
caiyue1993 committed Dec 9, 2017
1 parent 3878fbd commit d6949dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions IceCream/Classes/SyncEngine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ public enum IceCreamKey: String {
}
}

/// Dangerous part:
/// In most cases, you should not change the string value cause it is related to user settings.
/// e.g.: the cloudKitSubscriptionID, if you don't want to use "private_changes" and use another string. You should remove the old subsription first.
/// Or your user will not save the same subscription again. So you got trouble.
/// The right way is remove old subscription first and then save new subscription.
public struct IceCreamConstant {
public static let cloudKitSubscriptionID = "private_changes"
}
Expand Down

0 comments on commit d6949dd

Please sign in to comment.