Skip to content

Commit 1dd831b

Browse files
committed
mark NSCache() initializer as public to allow instantiate NSCache outside Foundation framework.
1 parent 7d77b31 commit 1dd831b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/NSCache.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class NSCache : NSObject {
3232
public var countLimit: Int = -1 // limits are imprecise/not strict
3333
public var evictsObjectsWithDiscardedContent: Bool = false
3434

35-
override init() {
35+
public override init() {
3636

3737
}
3838

0 commit comments

Comments
 (0)