mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-21 00:49:20 +01:00
WIP: CSImportableObject
This commit is contained in:
@@ -63,6 +63,11 @@ internal func bridge<T: CoreStoreBridgeable where T == T.ObjCType.SwiftType>(@no
|
||||
return closure().objc
|
||||
}
|
||||
|
||||
internal func bridge<T: CoreStoreBridgeable where T == T.ObjCType.SwiftType>(@noescape closure: () -> T?) -> T.ObjCType? {
|
||||
|
||||
return closure()?.objc
|
||||
}
|
||||
|
||||
internal func bridge<T: CoreStoreBridgeable where T == T.ObjCType.SwiftType>(@noescape closure: () throws -> T) throws -> T.ObjCType {
|
||||
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user