mirror of
https://github.com/modo-studio/SugarRecord.git
synced 2024-08-16 18:00:26 +03:00
Change access modifier of NSManagedObject.entityName class var extension to allow overriding in clients of the library (#331)
This commit is contained in:
parent
db21b8b2a5
commit
25b5efed5e
@ -5,7 +5,7 @@ import CoreData
|
||||
|
||||
extension NSManagedObject {
|
||||
|
||||
public class var entityName: String {
|
||||
open class var entityName: String {
|
||||
return NSStringFromClass(self).components(separatedBy: ".").last!
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user