mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-19 07:54:26 +01:00
implementations for desctiption and debugDescription complete for all CoreStore types
This commit is contained in:
@@ -364,6 +364,11 @@ public final class CSSelect: NSObject {
|
||||
&& self.selectTerms == object.selectTerms
|
||||
}
|
||||
|
||||
public override var description: String {
|
||||
|
||||
return "(\(String(reflecting: self.dynamicType))) \(self.bridgeToSwift.coreStoreDumpString)"
|
||||
}
|
||||
|
||||
|
||||
// MARK: CoreStoreObjectiveCType
|
||||
|
||||
@@ -371,6 +376,7 @@ public final class CSSelect: NSObject {
|
||||
|
||||
self.attributeType = T.attributeType
|
||||
self.selectTerms = swiftValue.selectTerms
|
||||
self.bridgeToSwift = swiftValue
|
||||
super.init()
|
||||
}
|
||||
|
||||
@@ -378,6 +384,7 @@ public final class CSSelect: NSObject {
|
||||
|
||||
self.attributeType = .UndefinedAttributeType
|
||||
self.selectTerms = swiftValue.selectTerms
|
||||
self.bridgeToSwift = swiftValue
|
||||
super.init()
|
||||
}
|
||||
|
||||
@@ -386,6 +393,11 @@ public final class CSSelect: NSObject {
|
||||
|
||||
internal let attributeType: NSAttributeType
|
||||
internal let selectTerms: [SelectTerm]
|
||||
|
||||
|
||||
// MARK: Private
|
||||
|
||||
private let bridgeToSwift: CoreStoreDebugStringConvertible
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user