Merge branch 'prototype/Swift_3_2' into prototype/Swift_4_0

# Conflicts:
#	CoreStore.podspec
#	Sources/Info.plist
This commit is contained in:
John Estropia
2017-10-17 13:42:04 +09:00
4 changed files with 0 additions and 9 deletions

View File

@@ -560,7 +560,6 @@ extension ListMonitor where ListMonitor.ObjectType: NSManagedObject {
fileprivate func downcast() -> ListMonitor<NSManagedObject> {
@inline(__always)
func noWarnUnsafeBitCast<T, U>(_ x: T, to type: U.Type) -> U {
return unsafeBitCast(x, to: type)

View File

@@ -152,7 +152,6 @@ extension ObjectMonitor where ObjectMonitor.ObjectType: NSManagedObject {
fileprivate func downcast() -> ObjectMonitor<NSManagedObject> {
@inline(__always)
func noWarnUnsafeBitCast<T, U>(_ x: T, to type: U.Type) -> U {
return unsafeBitCast(x, to: type)

View File

@@ -121,7 +121,6 @@ extension CoreStoreObject {
return unsafeDowncast(coreStoreObject, to: self)
}
@inline(__always)
func forceTypeCast<T: CoreStoreObject>(_ type: DynamicObject.Type, to: T.Type) -> T.Type {
return type as! T.Type

View File

@@ -351,7 +351,6 @@ extension NSData: QueryableAttributeType {
@nonobjc @inline(__always)
public class func cs_fromQueryableNativeType(_ value: QueryableNativeType) -> Self? {
@inline(__always)
func forceCast<T: NSData>(_ value: Any) -> T? {
return value as? T
@@ -382,7 +381,6 @@ extension NSDate: QueryableAttributeType {
@nonobjc @inline(__always)
public class func cs_fromQueryableNativeType(_ value: QueryableNativeType) -> Self? {
@inline(__always)
func forceCast<T: NSDate>(_ value: Any) -> T? {
return value as? T
@@ -424,7 +422,6 @@ extension NSManagedObjectID: QueryableAttributeType {
@nonobjc @inline(__always)
public class func cs_fromQueryableNativeType(_ value: QueryableNativeType) -> Self? {
@inline(__always)
func forceCast<T: NSManagedObjectID>(_ value: Any) -> T? {
return value as? T
@@ -455,7 +452,6 @@ extension NSNull: QueryableAttributeType {
@nonobjc @inline(__always)
public class func cs_fromQueryableNativeType(_ value: QueryableNativeType) -> Self? {
@inline(__always)
func forceCast<T: NSNull>(_ value: Any) -> T? {
return value as? T
@@ -486,7 +482,6 @@ extension NSNumber: QueryableAttributeType {
@nonobjc @inline(__always)
public class func cs_fromQueryableNativeType(_ value: QueryableNativeType) -> Self? {
@inline(__always)
func forceCast<T: NSNumber>(_ value: Any) -> T? {
return value as? T
@@ -517,7 +512,6 @@ extension NSString: QueryableAttributeType {
@nonobjc @inline(__always)
public class func cs_fromQueryableNativeType(_ value: QueryableNativeType) -> Self? {
@inline(__always)
func forceCast<T: NSString>(_ value: Any) -> T? {
return value as? T