From 5ffaca1375993901a803df1851c66ece655ef877 Mon Sep 17 00:00:00 2001 From: John Rommel Estropia Date: Tue, 18 Apr 2017 08:02:07 +0900 Subject: [PATCH] WIP: docs --- Sources/CoreDataNativeType.swift | 6 +++++- Sources/Setup/CoreStore+Setup.swift | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Sources/CoreDataNativeType.swift b/Sources/CoreDataNativeType.swift index 8b87698..c801239 100644 --- a/Sources/CoreDataNativeType.swift +++ b/Sources/CoreDataNativeType.swift @@ -29,7 +29,11 @@ import CoreData // MARK: - CoreDataNativeType -@objc public protocol CoreDataNativeType: class, NSObjectProtocol, AnyObject {} +/** + Objective-C Foundation types that are nativel supported by Core Data managed attributes all conform to `CoreDataNativeType`. + */ +@objc +public protocol CoreDataNativeType: class, NSObjectProtocol, AnyObject {} // MARK: - NSNumber diff --git a/Sources/Setup/CoreStore+Setup.swift b/Sources/Setup/CoreStore+Setup.swift index be0cadd..8e2cef2 100644 --- a/Sources/Setup/CoreStore+Setup.swift +++ b/Sources/Setup/CoreStore+Setup.swift @@ -32,7 +32,7 @@ import CoreData public extension CoreStore { /** - Returns the `defaultStack`'s model version. The version string is the same as the name of the version-specific .xcdatamodeld file. + Returns the `defaultStack`'s model version. The version string is the same as the name of a version-specific .xcdatamodeld file or `CoreStoreSchema`. */ public static var modelVersion: String {