diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock
index 84583f7..e2631c4 100644
--- a/example/ios/Podfile.lock
+++ b/example/ios/Podfile.lock
@@ -947,7 +947,7 @@ PODS:
- React-debug
- react-native-safe-area-context (4.9.0):
- React-Core
- - react-native-turbo-image (0.18.1):
+ - react-native-turbo-image (0.19.0):
- Gifu
- glog
- RCT-Folly (= 2022.05.16.00)
@@ -1371,7 +1371,7 @@ SPEC CHECKSUMS:
React-logger: 3eb80a977f0d9669468ef641a5e1fabbc50a09ec
React-Mapbuffer: 84ea43c6c6232049135b1550b8c60b2faac19fab
react-native-safe-area-context: b97eb6f9e3b7f437806c2ce5983f479f8eb5de4b
- react-native-turbo-image: 7df5da9d3203cb9125eadd9d7490a0bbc91f7ce8
+ react-native-turbo-image: c09ac94cd4f880f0b603e4926b098872c12b87bf
React-nativeconfig: b4d4e9901d4cabb57be63053fd2aa6086eb3c85f
React-NativeModulesApple: cd26e56d56350e123da0c1e3e4c76cb58a05e1ee
React-perflogger: 5f49905de275bac07ac7ea7f575a70611fa988f2
diff --git a/ios/Nuke.xcframework/Info.plist b/ios/Nuke.xcframework/Info.plist
index d91fd27..7609a1e 100644
--- a/ios/Nuke.xcframework/Info.plist
+++ b/ios/Nuke.xcframework/Info.plist
@@ -6,9 +6,9 @@
BinaryPath
- Nuke.framework/Versions/A/Nuke
+ Nuke.framework/Nuke
LibraryIdentifier
- macos-arm64_x86_64
+ tvos-arm64_x86_64-simulator
LibraryPath
Nuke.framework
SupportedArchitectures
@@ -17,22 +17,25 @@
x86_64
SupportedPlatform
- macos
+ tvos
+ SupportedPlatformVariant
+ simulator
BinaryPath
Nuke.framework/Nuke
LibraryIdentifier
- ios-arm64_x86_64-simulator
+ watchos-arm64_i386_x86_64-simulator
LibraryPath
Nuke.framework
SupportedArchitectures
arm64
+ i386
x86_64
SupportedPlatform
- ios
+ watchos
SupportedPlatformVariant
simulator
@@ -40,80 +43,77 @@
BinaryPath
Nuke.framework/Nuke
LibraryIdentifier
- tvos-arm64
+ ios-arm64_x86_64-simulator
LibraryPath
Nuke.framework
SupportedArchitectures
arm64
+ x86_64
SupportedPlatform
- tvos
+ ios
+ SupportedPlatformVariant
+ simulator
BinaryPath
Nuke.framework/Nuke
LibraryIdentifier
- watchos-arm64_arm64_32_armv7k
+ ios-arm64
LibraryPath
Nuke.framework
SupportedArchitectures
arm64
- arm64_32
- armv7k
SupportedPlatform
- watchos
+ ios
BinaryPath
Nuke.framework/Nuke
LibraryIdentifier
- tvos-arm64_x86_64-simulator
+ tvos-arm64
LibraryPath
Nuke.framework
SupportedArchitectures
arm64
- x86_64
SupportedPlatform
tvos
- SupportedPlatformVariant
- simulator
BinaryPath
Nuke.framework/Nuke
LibraryIdentifier
- ios-arm64
+ watchos-arm64_arm64_32_armv7k
LibraryPath
Nuke.framework
SupportedArchitectures
arm64
+ arm64_32
+ armv7k
SupportedPlatform
- ios
+ watchos
BinaryPath
- Nuke.framework/Nuke
+ Nuke.framework/Versions/A/Nuke
LibraryIdentifier
- watchos-arm64_i386_x86_64-simulator
+ macos-arm64_x86_64
LibraryPath
Nuke.framework
SupportedArchitectures
arm64
- i386
x86_64
SupportedPlatform
- watchos
- SupportedPlatformVariant
- simulator
+ macos
CFBundlePackageType
diff --git a/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Info.plist b/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Info.plist
index 69a762c..08796e2 100644
Binary files a/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Info.plist and b/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Info.plist differ
diff --git a/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.abi.json b/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.abi.json
index 8fcb792..7e11ff7 100644
--- a/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.abi.json
+++ b/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.abi.json
@@ -1408,8 +1408,8 @@
},
{
"kind": "Import",
- "name": "UIKit.UIImage",
- "printedName": "UIKit.UIImage",
+ "name": "UIKit",
+ "printedName": "UIKit",
"declKind": "Import",
"moduleName": "Nuke"
},
@@ -3402,9 +3402,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3414,8 +3414,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3431,9 +3431,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3443,8 +3443,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3513,58 +3513,6 @@
"throwing": true,
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "data",
- "printedName": "data(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(Foundation.Data, Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "throwing": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "data",
@@ -3611,7 +3559,6 @@
"declAttributes": [
"Final",
"AccessControl",
- "DiscardableResult",
"RawDocComment"
],
"throwing": true,
@@ -3871,89 +3818,6 @@
],
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "loadData",
- "printedName": "loadData(with:completion:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageTask",
- "printedName": "Nuke.ImageTask",
- "usr": "s:4Nuke9ImageTaskC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Result",
- "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ],
- "usr": "s:s6ResultO"
- }
- ]
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "loadData",
@@ -4261,100 +4125,239 @@
"funcSelfKind": "NonMutating"
},
{
- "kind": "TypeDecl",
- "name": "Error",
- "printedName": "Error",
+ "kind": "Function",
+ "name": "loadData",
+ "printedName": "loadData(with:completion:)",
"children": [
{
- "kind": "Var",
- "name": "dataMissingInCache",
- "printedName": "dataMissingInCache",
- "children": [
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- },
- {
- "kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
- }
- ]
- }
- ],
- "declKind": "EnumElement",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
- "kind": "Var",
- "name": "dataLoadingFailed",
- "printedName": "dataLoadingFailed",
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
},
{
"kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(error: any Swift.Error)",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "any Swift.Error",
- "usr": "s:s5ErrorP"
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
}
- ]
+ ],
+ "usr": "s:Sq"
}
]
},
{
"kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
}
- ]
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "data",
+ "printedName": "data(for:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(Foundation.Data, Foundation.URLResponse?)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "throwing": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Error",
+ "printedName": "Error",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "dataMissingInCache",
+ "printedName": "dataMissingInCache",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "dataLoadingFailed",
+ "printedName": "dataLoadingFailed",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(error: any Swift.Error)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "any Swift.Error",
+ "usr": "s:s5ErrorP"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
}
],
"declKind": "EnumElement",
@@ -7293,12 +7296,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -7317,7 +7317,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -7342,7 +7341,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -12288,6 +12286,48 @@
"reqNewWitnessTableEntry": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "protocolReq": true,
+ "declAttributes": [
+ "RawDocComment"
+ ],
+ "reqNewWitnessTableEntry": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -12948,6 +12988,47 @@
"isFromExtension": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "isFromExtension": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -13712,37 +13793,84 @@
},
{
"kind": "Import",
- "name": "UIKit",
- "printedName": "UIKit",
+ "name": "Foundation",
+ "printedName": "Foundation",
"declKind": "Import",
- "moduleName": "Nuke"
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
},
{
- "kind": "TypeDecl",
- "name": "AsyncImageTask",
- "printedName": "AsyncImageTask",
- "children": [
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "CoreImage",
+ "printedName": "CoreImage",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "UIKit",
+ "printedName": "UIKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "DataCache",
+ "printedName": "DataCache",
+ "children": [
{
"kind": "Var",
- "name": "priority",
- "printedName": "priority",
+ "name": "sizeLimit",
+ "printedName": "sizeLimit",
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13751,15 +13879,16 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13777,15 +13906,16 @@
},
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13803,8 +13933,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -13816,25 +13946,28 @@
},
{
"kind": "Var",
- "name": "image",
- "printedName": "image",
+ "name": "path",
+ "printedName": "path",
"children": [
{
"kind": "TypeNominal",
- "name": "UIImage",
- "printedName": "UIKit.UIImage",
- "usr": "c:objc(cs)UIImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7UIImageCvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7UIImageCvp",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "isLet": true,
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13843,44 +13976,47 @@
"children": [
{
"kind": "TypeNominal",
- "name": "UIImage",
- "printedName": "UIKit.UIImage",
- "usr": "c:objc(cs)UIImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7UIImageCvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7UIImageCvg",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "response",
- "printedName": "response",
+ "name": "sweepInterval",
+ "printedName": "sweepInterval",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13889,120 +14025,94 @@
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "previews",
- "printedName": "previews",
- "children": [
+ },
{
- "kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
+ "kind": "Accessor",
+ "name": "Set",
+ "printedName": "Set()",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
- "usr": "s:ScS"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "set"
+ },
{
"kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "name": "Modify",
+ "printedName": "Modify()",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Void",
+ "printedName": "()"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
"Final"
],
- "accessorKind": "get"
+ "accessorKind": "_modify"
}
]
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "isCompressionEnabled",
+ "printedName": "isCompressionEnabled",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
"moduleName": "Nuke",
+ "deprecated": true,
"declAttributes": [
"Final",
- "HasStorage",
"AccessControl",
+ "Available",
"RawDocComment"
],
- "isLet": true,
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -14011,187 +14121,20 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "cancel",
- "printedName": "cancel()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke14AsyncImageTaskC6cancelyyF",
- "mangledName": "$s4Nuke14AsyncImageTaskC6cancelyyF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- }
- ],
- "declKind": "Class",
- "usr": "s:4Nuke14AsyncImageTaskC",
- "mangledName": "$s4Nuke14AsyncImageTaskC",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "hasMissingDesignatedInitializers": true,
- "conformances": [
- {
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- }
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "CoreImage",
- "printedName": "CoreImage",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "UIKit",
- "printedName": "UIKit",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "TypeDecl",
- "name": "DataCache",
- "printedName": "DataCache",
- "children": [
- {
- "kind": "Var",
- "name": "sizeLimit",
- "printedName": "sizeLimit",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
+ },
{
"kind": "Accessor",
"name": "Set",
@@ -14204,16 +14147,15 @@
},
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
@@ -14231,12 +14173,14 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
"moduleName": "Nuke",
+ "deprecated": true,
"implicit": true,
"declAttributes": [
- "Final"
+ "Final",
+ "Available"
],
"accessorKind": "_modify"
}
@@ -14244,21 +14188,22 @@
},
{
"kind": "Var",
- "name": "path",
- "printedName": "path",
+ "name": "queue",
+ "printedName": "queue",
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
"HasStorage",
"AccessControl",
@@ -14274,14 +14219,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -14292,253 +14237,68 @@
]
},
{
- "kind": "Var",
- "name": "sweepInterval",
- "printedName": "sweepInterval",
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(name:filenameGenerator:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
+ "name": "DataCache",
+ "printedName": "Nuke.DataCache",
+ "usr": "s:4Nuke9DataCacheC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.String) -> Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "usr": "s:Sq"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "hasDefaultArg": true
}
],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
+ "Convenience",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "isCompressionEnabled",
- "printedName": "isCompressionEnabled",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "moduleName": "Nuke",
- "deprecated": true,
- "declAttributes": [
- "Final",
- "AccessControl",
- "Available",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "moduleName": "Nuke",
- "deprecated": true,
- "implicit": true,
- "declAttributes": [
- "Final",
- "Available"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "queue",
- "printedName": "queue",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(name:filenameGenerator:)",
- "children": [
+ "throwing": true,
+ "init_kind": "Convenience"
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(path:filenameGenerator:)",
+ "children": [
{
"kind": "TypeNominal",
"name": "DataCache",
@@ -14547,9 +14307,9 @@
},
{
"kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
},
{
"kind": "TypeFunc",
@@ -14581,83 +14341,25 @@
}
],
"declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "Convenience",
"AccessControl",
"RawDocComment"
],
"throwing": true,
- "init_kind": "Convenience"
+ "init_kind": "Designated"
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(path:filenameGenerator:)",
+ "kind": "Function",
+ "name": "filename",
+ "printedName": "filename(for:)",
"children": [
{
"kind": "TypeNominal",
- "name": "DataCache",
- "printedName": "Nuke.DataCache",
- "usr": "s:4Nuke9DataCacheC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.String) -> Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "usr": "s:Sq"
- },
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "hasDefaultArg": true
- }
- ],
- "declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "throwing": true,
- "init_kind": "Designated"
- },
- {
- "kind": "Function",
- "name": "filename",
- "printedName": "filename(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
+ "name": "Optional",
+ "printedName": "Swift.String?",
"children": [
{
"kind": "TypeNominal",
@@ -18265,12 +17967,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -18289,7 +17988,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -18314,7 +18012,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -23210,6 +22907,20 @@
"RawDocComment"
]
},
+ {
+ "kind": "Import",
+ "name": "Combine",
+ "printedName": "Combine",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "UIKit",
+ "printedName": "UIKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
{
"kind": "TypeDecl",
"name": "ImageTask",
@@ -23407,23 +23118,366 @@
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "currentProgress",
+ "printedName": "currentProgress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Progress",
+ "printedName": "Progress",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "completed",
+ "printedName": "completed",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "total",
+ "printedName": "total",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "fraction",
+ "printedName": "fraction",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "moduleName": "Nuke",
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(completed:total:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "init_kind": "Designated"
+ },
+ {
+ "kind": "Var",
+ "name": "hashValue",
+ "printedName": "hashValue",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Function",
+ "name": "hash",
+ "printedName": "hash(into:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Hasher",
+ "printedName": "Swift.Hasher",
+ "paramValueOwnership": "InOut",
+ "usr": "s:s6HasherV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "moduleName": "Nuke",
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Struct",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "state",
+ "printedName": "state",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvp",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvp",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
- "SetterAccess",
"AccessControl",
"RawDocComment"
],
@@ -23435,14 +23489,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvg",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvg",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23453,173 +23507,160 @@
},
{
"kind": "TypeDecl",
- "name": "Progress",
- "printedName": "Progress",
+ "name": "State",
+ "printedName": "State",
"children": [
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "running",
+ "printedName": "running",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "total",
- "printedName": "total",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "fraction",
- "printedName": "fraction",
+ "name": "completed",
+ "printedName": "completed",
"children": [
{
- "kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "moduleName": "Nuke",
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(completed:total:)",
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
- "declKind": "Constructor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
"moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "init_kind": "Designated"
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
},
{
"kind": "Var",
@@ -23634,8 +23675,8 @@
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
"moduleName": "Nuke",
"implicit": true,
"accessors": [
@@ -23652,8 +23693,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
"moduleName": "Nuke",
"implicit": true,
"accessorKind": "get"
@@ -23679,29 +23720,140 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
"moduleName": "Nuke",
"implicit": true,
"funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Enum",
+ "usr": "s:4Nuke9ImageTaskC5StateO",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
},
{
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "image",
+ "printedName": "image",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "UIImage",
+ "printedName": "UIKit.UIImage",
+ "usr": "c:objc(cs)UIImage"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7UIImageCvp",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7UIImageCvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
+ "name": "UIImage",
+ "printedName": "UIKit.UIImage",
+ "usr": "c:objc(cs)UIImage"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7UIImageCvg",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7UIImageCvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "response",
+ "printedName": "response",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- },
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "progress",
+ "printedName": "progress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
{
"kind": "TypeNominal",
"name": "Progress",
@@ -23709,62 +23861,134 @@
"usr": "s:4Nuke9ImageTaskC8ProgressV"
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "usr": "s:ScS"
}
],
- "declKind": "Struct",
- "usr": "s:4Nuke9ImageTaskC8ProgressV",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
"moduleName": "Nuke",
"declAttributes": [
+ "Final",
"AccessControl",
"RawDocComment"
],
- "conformances": [
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
- },
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "previews",
+ "printedName": "previews",
+ "children": [
{
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- },
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "state",
- "printedName": "state",
+ "name": "events",
+ "printedName": "events",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -23779,14 +24003,22 @@
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23797,35 +24029,48 @@
},
{
"kind": "TypeDecl",
- "name": "State",
- "printedName": "State",
+ "name": "Event",
+ "printedName": "Event",
"children": [
{
"kind": "Var",
- "name": "running",
- "printedName": "running",
+ "name": "progress",
+ "printedName": "progress",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23833,8 +24078,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23842,30 +24087,43 @@
},
{
"kind": "Var",
- "name": "cancelled",
- "printedName": "cancelled",
+ "name": "preview",
+ "printedName": "preview",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageResponse) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageResponse) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23873,8 +24131,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23882,30 +24140,30 @@
},
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> Nuke.ImageTask.Event",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23913,113 +24171,84 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
]
},
- {
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Var",
- "name": "hashValue",
- "printedName": "hashValue",
+ "name": "finished",
+ "printedName": "finished",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
- "moduleName": "Nuke",
- "implicit": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Swift.Result) -> Nuke.ImageTask.Event",
"children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ },
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.Event.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "hash",
- "printedName": "hash(into:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Hasher",
- "printedName": "Swift.Hasher",
- "paramValueOwnership": "InOut",
- "usr": "s:s6HasherV"
+ ]
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
"moduleName": "Nuke",
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "declAttributes": [
+ "RawDocComment"
+ ]
}
],
"declKind": "Enum",
- "usr": "s:4Nuke9ImageTaskC5StateO",
- "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "usr": "s:4Nuke9ImageTaskC5EventO",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO",
"moduleName": "Nuke",
"declAttributes": [
"AccessControl",
@@ -24028,17 +24257,10 @@
"conformances": [
{
"kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
- },
- {
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
}
]
},
@@ -26164,14 +26386,14 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 917,
+ "offset": 979,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 965,
+ "offset": 1027,
"length": 15,
"value": "\"Image Loading\""
},
@@ -26182,31 +26404,45 @@
"length": 3,
"value": "0.8"
},
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Encoding\/ImageEncoders+ImageIO.swift",
+ "kind": "Dictionary",
+ "offset": 1032,
+ "length": 3,
+ "value": "[]"
+ },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "StringLiteral",
- "offset": 1395,
+ "offset": 1389,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 1486,
+ "offset": 1480,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "IntegerLiteral",
- "offset": 1704,
+ "offset": 1698,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 13560,
+ "offset": 7679,
+ "length": 5,
+ "value": "false"
+ },
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
+ "kind": "BooleanLiteral",
+ "offset": 11659,
"length": 5,
"value": "false"
},
@@ -26456,28 +26692,28 @@
"value": "\"com.github\/kean\/nuke\/scan-number\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9407,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9412,
"length": 1,
"value": "0"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9465,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9470,
"length": 1,
@@ -26493,16 +26729,16 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "BooleanLiteral",
- "offset": 767,
+ "offset": 366,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "IntegerLiteral",
- "offset": 979,
+ "offset": 578,
"length": 1,
- "value": "0"
+ "value": "1"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
@@ -26514,7 +26750,7 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
"kind": "IntegerLiteral",
- "offset": 2679,
+ "offset": 2725,
"length": 1,
"value": "0"
},
@@ -27079,152 +27315,145 @@
"value": "\"public.mov\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2292,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2401,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 3765,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4136,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4577,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4865,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5219,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5442,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6087,
+ "offset": 6288,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6143,
+ "offset": 6345,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6189,
+ "offset": 6391,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6382,
+ "offset": 6584,
"length": 1,
"value": "6"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6643,
+ "offset": 6845,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6800,
+ "offset": 7002,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6957,
+ "offset": 7159,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7118,
+ "offset": 7320,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7285,
+ "offset": 7487,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "StringLiteral",
- "offset": 8908,
+ "offset": 9110,
"length": 32,
"value": "\"com.github.kean.Nuke.DataCache\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1554,
+ "offset": 10915,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1564,
+ "offset": 10925,
"length": 1,
"value": "0"
},
- {
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
- "kind": "BooleanLiteral",
- "offset": 2806,
- "length": 5,
- "value": "false"
- },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/RateLimiter.swift",
"kind": "BooleanLiteral",
@@ -27270,23 +27499,23 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "BooleanLiteral",
- "offset": 3056,
+ "offset": 3211,
"length": 4,
"value": "true"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "Dictionary",
- "offset": 3144,
+ "offset": 3300,
"length": 3,
"value": "[]"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/ImagePipelineTask.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/AsyncPipelineTask.swift",
"kind": "StringLiteral",
"offset": 264,
"length": 17,
- "value": "\"Nuke.ImagePipelineTask\""
+ "value": "\"Nuke.AsyncPipelineTask\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Prefetching\/ImagePrefetcher.swift",
diff --git a/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.private.swiftinterface b/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.private.swiftinterface
index 4178524..156d13b 100644
--- a/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.private.swiftinterface
+++ b/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.private.swiftinterface
@@ -129,8 +129,8 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
public init(configuration: Nuke.ImagePipeline.Configuration = Configuration(), delegate: (any Nuke.ImagePipelineDelegate)? = nil)
convenience public init(delegate: (any Nuke.ImagePipelineDelegate)? = nil, _ configure: (inout Nuke.ImagePipeline.Configuration) -> Swift.Void)
final public func invalidate()
- final public func imageTask(with url: Foundation.URL) -> Nuke.AsyncImageTask
- final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.AsyncImageTask
+ final public func imageTask(with url: Foundation.URL) -> Nuke.ImageTask
+ final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.ImageTask
#if compiler(>=5.3) && $AsyncAwait
final public func image(for url: Foundation.URL) async throws -> Nuke.PlatformImage
#endif
@@ -138,11 +138,6 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
final public func image(for request: Nuke.ImageRequest) async throws -> Nuke.PlatformImage
#endif
#if compiler(>=5.3) && $AsyncAwait
- @discardableResult
- final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
- #endif
- #if compiler(>=5.3) && $AsyncAwait
- @discardableResult
final public func data(for request: Nuke.ImageRequest) async throws -> (Foundation.Data, Foundation.URLResponse?)
#endif
@discardableResult
@@ -152,13 +147,19 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
@discardableResult
final public func loadImage(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ response: Nuke.ImageResponse?, _ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (_ result: Swift.Result) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
- @discardableResult
final public func loadData(with request: Nuke.ImageRequest, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress progressHandler: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
final public func imagePublisher(with url: Foundation.URL) -> Combine.AnyPublisher
final public func imagePublisher(with request: Nuke.ImageRequest) -> Combine.AnyPublisher
+ @available(*, deprecated, message: "Please the variant variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ #if compiler(>=5.3) && $AsyncAwait
+ @available(*, deprecated, message: "Please the variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
+ #endif
}
final public class DataLoader : Nuke.DataLoading, @unchecked Swift.Sendable {
final public let session: Foundation.URLSession
@@ -360,6 +361,7 @@ public protocol ImagePipelineDelegate : AnyObject, Swift.Sendable {
func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -377,6 +379,7 @@ extension Nuke.ImagePipelineDelegate {
public func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
public func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
public func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ public func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
public func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -446,26 +449,6 @@ extension Nuke.ImageProcessors {
}
}
}
-@_hasMissingDesignatedInitializers final public class AsyncImageTask : Swift.Sendable {
- final public var priority: Nuke.ImageRequest.Priority {
- get
- set
- }
- #if compiler(>=5.3) && $EffectfulProp
- final public var image: Nuke.PlatformImage {
- get async throws
- }
- #endif
- #if compiler(>=5.3) && $EffectfulProp
- final public var response: Nuke.ImageResponse {
- get async throws
- }
- #endif
- final public let previews: _Concurrency.AsyncStream
- final public let progress: _Concurrency.AsyncStream
- final public func cancel()
- @objc deinit
-}
extension Nuke.ImageProcessors {
public struct GaussianBlur : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(radius: Swift.Int = 8)
@@ -751,7 +734,10 @@ extension Nuke.ImagePipeline {
public var isResumableDataEnabled: Swift.Bool
public var isLocalResourcesSupportEnabled: Swift.Bool
public var callbackQueue: Dispatch.DispatchQueue
- public static var isSignpostLoggingEnabled: Swift.Bool
+ public static var isSignpostLoggingEnabled: Swift.Bool {
+ get
+ set
+ }
public var dataLoadingQueue: Foundation.OperationQueue
@available(*, deprecated, message: "The pipeline now performs cache lookup on the internal queue, reducing the amount of context switching")
public var dataCachingQueue: Foundation.OperationQueue
@@ -787,7 +773,7 @@ extension Nuke.ImagePipeline {
get
set
}
- final public var progress: Nuke.ImageTask.Progress {
+ final public var currentProgress: Nuke.ImageTask.Progress {
get
}
public struct Progress : Swift.Hashable, Swift.Sendable {
@@ -816,6 +802,31 @@ extension Nuke.ImagePipeline {
get
}
}
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var image: Nuke.PlatformImage {
+ get async throws
+ }
+ #endif
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var response: Nuke.ImageResponse {
+ get async throws
+ }
+ #endif
+ final public var progress: _Concurrency.AsyncStream {
+ get
+ }
+ final public var previews: _Concurrency.AsyncStream {
+ get
+ }
+ final public var events: _Concurrency.AsyncStream {
+ get
+ }
+ public enum Event : Swift.Sendable {
+ case progress(Nuke.ImageTask.Progress)
+ case preview(Nuke.ImageResponse)
+ case cancelled
+ case finished(Swift.Result)
+ }
@objc deinit
final public func cancel()
final public func hash(into hasher: inout Swift.Hasher)
@@ -827,6 +838,8 @@ extension Nuke.ImagePipeline {
get
}
}
+@available(*, deprecated, renamed: "ImageTask", message: "Async/Await support was added directly to the existing `ImageTask` type")
+public typealias AsyncImageTask = Nuke.ImageTask
extension Nuke.ImageProcessors {
public struct Circle : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(border: Nuke.ImageProcessingOptions.Border? = nil)
@@ -882,7 +895,10 @@ extension Nuke.ImageProcessors {
public init(_ filter: CoreImage.CIFilter, identifier: Swift.String)
public func process(_ image: Nuke.PlatformImage) -> Nuke.PlatformImage?
public func process(_ container: Nuke.ImageContainer, context: Nuke.ImageProcessingContext) throws -> Nuke.ImageContainer
- public static var context: CoreImage.CIContext
+ public static var context: CoreImage.CIContext {
+ get
+ set
+ }
public static func apply(filter: CoreImage.CIFilter, to image: Nuke.PlatformImage) throws -> Nuke.PlatformImage
public var description: Swift.String {
get
diff --git a/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.swiftdoc b/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.swiftdoc
index 536ad83..c685288 100644
Binary files a/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.swiftdoc and b/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.swiftdoc differ
diff --git a/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.swiftinterface b/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.swiftinterface
index 4178524..156d13b 100644
--- a/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.swiftinterface
+++ b/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios.swiftinterface
@@ -129,8 +129,8 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
public init(configuration: Nuke.ImagePipeline.Configuration = Configuration(), delegate: (any Nuke.ImagePipelineDelegate)? = nil)
convenience public init(delegate: (any Nuke.ImagePipelineDelegate)? = nil, _ configure: (inout Nuke.ImagePipeline.Configuration) -> Swift.Void)
final public func invalidate()
- final public func imageTask(with url: Foundation.URL) -> Nuke.AsyncImageTask
- final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.AsyncImageTask
+ final public func imageTask(with url: Foundation.URL) -> Nuke.ImageTask
+ final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.ImageTask
#if compiler(>=5.3) && $AsyncAwait
final public func image(for url: Foundation.URL) async throws -> Nuke.PlatformImage
#endif
@@ -138,11 +138,6 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
final public func image(for request: Nuke.ImageRequest) async throws -> Nuke.PlatformImage
#endif
#if compiler(>=5.3) && $AsyncAwait
- @discardableResult
- final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
- #endif
- #if compiler(>=5.3) && $AsyncAwait
- @discardableResult
final public func data(for request: Nuke.ImageRequest) async throws -> (Foundation.Data, Foundation.URLResponse?)
#endif
@discardableResult
@@ -152,13 +147,19 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
@discardableResult
final public func loadImage(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ response: Nuke.ImageResponse?, _ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (_ result: Swift.Result) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
- @discardableResult
final public func loadData(with request: Nuke.ImageRequest, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress progressHandler: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
final public func imagePublisher(with url: Foundation.URL) -> Combine.AnyPublisher
final public func imagePublisher(with request: Nuke.ImageRequest) -> Combine.AnyPublisher
+ @available(*, deprecated, message: "Please the variant variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ #if compiler(>=5.3) && $AsyncAwait
+ @available(*, deprecated, message: "Please the variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
+ #endif
}
final public class DataLoader : Nuke.DataLoading, @unchecked Swift.Sendable {
final public let session: Foundation.URLSession
@@ -360,6 +361,7 @@ public protocol ImagePipelineDelegate : AnyObject, Swift.Sendable {
func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -377,6 +379,7 @@ extension Nuke.ImagePipelineDelegate {
public func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
public func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
public func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ public func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
public func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -446,26 +449,6 @@ extension Nuke.ImageProcessors {
}
}
}
-@_hasMissingDesignatedInitializers final public class AsyncImageTask : Swift.Sendable {
- final public var priority: Nuke.ImageRequest.Priority {
- get
- set
- }
- #if compiler(>=5.3) && $EffectfulProp
- final public var image: Nuke.PlatformImage {
- get async throws
- }
- #endif
- #if compiler(>=5.3) && $EffectfulProp
- final public var response: Nuke.ImageResponse {
- get async throws
- }
- #endif
- final public let previews: _Concurrency.AsyncStream
- final public let progress: _Concurrency.AsyncStream
- final public func cancel()
- @objc deinit
-}
extension Nuke.ImageProcessors {
public struct GaussianBlur : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(radius: Swift.Int = 8)
@@ -751,7 +734,10 @@ extension Nuke.ImagePipeline {
public var isResumableDataEnabled: Swift.Bool
public var isLocalResourcesSupportEnabled: Swift.Bool
public var callbackQueue: Dispatch.DispatchQueue
- public static var isSignpostLoggingEnabled: Swift.Bool
+ public static var isSignpostLoggingEnabled: Swift.Bool {
+ get
+ set
+ }
public var dataLoadingQueue: Foundation.OperationQueue
@available(*, deprecated, message: "The pipeline now performs cache lookup on the internal queue, reducing the amount of context switching")
public var dataCachingQueue: Foundation.OperationQueue
@@ -787,7 +773,7 @@ extension Nuke.ImagePipeline {
get
set
}
- final public var progress: Nuke.ImageTask.Progress {
+ final public var currentProgress: Nuke.ImageTask.Progress {
get
}
public struct Progress : Swift.Hashable, Swift.Sendable {
@@ -816,6 +802,31 @@ extension Nuke.ImagePipeline {
get
}
}
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var image: Nuke.PlatformImage {
+ get async throws
+ }
+ #endif
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var response: Nuke.ImageResponse {
+ get async throws
+ }
+ #endif
+ final public var progress: _Concurrency.AsyncStream {
+ get
+ }
+ final public var previews: _Concurrency.AsyncStream {
+ get
+ }
+ final public var events: _Concurrency.AsyncStream {
+ get
+ }
+ public enum Event : Swift.Sendable {
+ case progress(Nuke.ImageTask.Progress)
+ case preview(Nuke.ImageResponse)
+ case cancelled
+ case finished(Swift.Result)
+ }
@objc deinit
final public func cancel()
final public func hash(into hasher: inout Swift.Hasher)
@@ -827,6 +838,8 @@ extension Nuke.ImagePipeline {
get
}
}
+@available(*, deprecated, renamed: "ImageTask", message: "Async/Await support was added directly to the existing `ImageTask` type")
+public typealias AsyncImageTask = Nuke.ImageTask
extension Nuke.ImageProcessors {
public struct Circle : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(border: Nuke.ImageProcessingOptions.Border? = nil)
@@ -882,7 +895,10 @@ extension Nuke.ImageProcessors {
public init(_ filter: CoreImage.CIFilter, identifier: Swift.String)
public func process(_ image: Nuke.PlatformImage) -> Nuke.PlatformImage?
public func process(_ container: Nuke.ImageContainer, context: Nuke.ImageProcessingContext) throws -> Nuke.ImageContainer
- public static var context: CoreImage.CIContext
+ public static var context: CoreImage.CIContext {
+ get
+ set
+ }
public static func apply(filter: CoreImage.CIFilter, to image: Nuke.PlatformImage) throws -> Nuke.PlatformImage
public var description: Swift.String {
get
diff --git a/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Nuke b/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Nuke
index 56dfaf5..9981f32 100755
Binary files a/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Nuke and b/ios/Nuke.xcframework/ios-arm64/Nuke.framework/Nuke differ
diff --git a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Info.plist b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Info.plist
index 4a215f5..129a5c0 100644
Binary files a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Info.plist and b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Info.plist differ
diff --git a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.abi.json b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.abi.json
index 8fcb792..7e11ff7 100644
--- a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.abi.json
+++ b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.abi.json
@@ -1408,8 +1408,8 @@
},
{
"kind": "Import",
- "name": "UIKit.UIImage",
- "printedName": "UIKit.UIImage",
+ "name": "UIKit",
+ "printedName": "UIKit",
"declKind": "Import",
"moduleName": "Nuke"
},
@@ -3402,9 +3402,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3414,8 +3414,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3431,9 +3431,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3443,8 +3443,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3513,58 +3513,6 @@
"throwing": true,
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "data",
- "printedName": "data(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(Foundation.Data, Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "throwing": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "data",
@@ -3611,7 +3559,6 @@
"declAttributes": [
"Final",
"AccessControl",
- "DiscardableResult",
"RawDocComment"
],
"throwing": true,
@@ -3871,89 +3818,6 @@
],
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "loadData",
- "printedName": "loadData(with:completion:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageTask",
- "printedName": "Nuke.ImageTask",
- "usr": "s:4Nuke9ImageTaskC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Result",
- "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ],
- "usr": "s:s6ResultO"
- }
- ]
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "loadData",
@@ -4261,100 +4125,239 @@
"funcSelfKind": "NonMutating"
},
{
- "kind": "TypeDecl",
- "name": "Error",
- "printedName": "Error",
+ "kind": "Function",
+ "name": "loadData",
+ "printedName": "loadData(with:completion:)",
"children": [
{
- "kind": "Var",
- "name": "dataMissingInCache",
- "printedName": "dataMissingInCache",
- "children": [
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- },
- {
- "kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
- }
- ]
- }
- ],
- "declKind": "EnumElement",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
- "kind": "Var",
- "name": "dataLoadingFailed",
- "printedName": "dataLoadingFailed",
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
},
{
"kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(error: any Swift.Error)",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "any Swift.Error",
- "usr": "s:s5ErrorP"
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
}
- ]
+ ],
+ "usr": "s:Sq"
}
]
},
{
"kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
}
- ]
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "data",
+ "printedName": "data(for:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(Foundation.Data, Foundation.URLResponse?)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "throwing": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Error",
+ "printedName": "Error",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "dataMissingInCache",
+ "printedName": "dataMissingInCache",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "dataLoadingFailed",
+ "printedName": "dataLoadingFailed",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(error: any Swift.Error)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "any Swift.Error",
+ "usr": "s:s5ErrorP"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
}
],
"declKind": "EnumElement",
@@ -7293,12 +7296,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -7317,7 +7317,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -7342,7 +7341,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -12288,6 +12286,48 @@
"reqNewWitnessTableEntry": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "protocolReq": true,
+ "declAttributes": [
+ "RawDocComment"
+ ],
+ "reqNewWitnessTableEntry": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -12948,6 +12988,47 @@
"isFromExtension": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "isFromExtension": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -13712,37 +13793,84 @@
},
{
"kind": "Import",
- "name": "UIKit",
- "printedName": "UIKit",
+ "name": "Foundation",
+ "printedName": "Foundation",
"declKind": "Import",
- "moduleName": "Nuke"
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
},
{
- "kind": "TypeDecl",
- "name": "AsyncImageTask",
- "printedName": "AsyncImageTask",
- "children": [
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "CoreImage",
+ "printedName": "CoreImage",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "UIKit",
+ "printedName": "UIKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "DataCache",
+ "printedName": "DataCache",
+ "children": [
{
"kind": "Var",
- "name": "priority",
- "printedName": "priority",
+ "name": "sizeLimit",
+ "printedName": "sizeLimit",
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13751,15 +13879,16 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13777,15 +13906,16 @@
},
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13803,8 +13933,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -13816,25 +13946,28 @@
},
{
"kind": "Var",
- "name": "image",
- "printedName": "image",
+ "name": "path",
+ "printedName": "path",
"children": [
{
"kind": "TypeNominal",
- "name": "UIImage",
- "printedName": "UIKit.UIImage",
- "usr": "c:objc(cs)UIImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7UIImageCvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7UIImageCvp",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "isLet": true,
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13843,44 +13976,47 @@
"children": [
{
"kind": "TypeNominal",
- "name": "UIImage",
- "printedName": "UIKit.UIImage",
- "usr": "c:objc(cs)UIImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7UIImageCvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7UIImageCvg",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "response",
- "printedName": "response",
+ "name": "sweepInterval",
+ "printedName": "sweepInterval",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13889,120 +14025,94 @@
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "previews",
- "printedName": "previews",
- "children": [
+ },
{
- "kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
+ "kind": "Accessor",
+ "name": "Set",
+ "printedName": "Set()",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
- "usr": "s:ScS"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "set"
+ },
{
"kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "name": "Modify",
+ "printedName": "Modify()",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Void",
+ "printedName": "()"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
"Final"
],
- "accessorKind": "get"
+ "accessorKind": "_modify"
}
]
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "isCompressionEnabled",
+ "printedName": "isCompressionEnabled",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
"moduleName": "Nuke",
+ "deprecated": true,
"declAttributes": [
"Final",
- "HasStorage",
"AccessControl",
+ "Available",
"RawDocComment"
],
- "isLet": true,
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -14011,187 +14121,20 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "cancel",
- "printedName": "cancel()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke14AsyncImageTaskC6cancelyyF",
- "mangledName": "$s4Nuke14AsyncImageTaskC6cancelyyF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- }
- ],
- "declKind": "Class",
- "usr": "s:4Nuke14AsyncImageTaskC",
- "mangledName": "$s4Nuke14AsyncImageTaskC",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "hasMissingDesignatedInitializers": true,
- "conformances": [
- {
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- }
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "CoreImage",
- "printedName": "CoreImage",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "UIKit",
- "printedName": "UIKit",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "TypeDecl",
- "name": "DataCache",
- "printedName": "DataCache",
- "children": [
- {
- "kind": "Var",
- "name": "sizeLimit",
- "printedName": "sizeLimit",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
+ },
{
"kind": "Accessor",
"name": "Set",
@@ -14204,16 +14147,15 @@
},
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
@@ -14231,12 +14173,14 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
"moduleName": "Nuke",
+ "deprecated": true,
"implicit": true,
"declAttributes": [
- "Final"
+ "Final",
+ "Available"
],
"accessorKind": "_modify"
}
@@ -14244,21 +14188,22 @@
},
{
"kind": "Var",
- "name": "path",
- "printedName": "path",
+ "name": "queue",
+ "printedName": "queue",
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
"HasStorage",
"AccessControl",
@@ -14274,14 +14219,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -14292,253 +14237,68 @@
]
},
{
- "kind": "Var",
- "name": "sweepInterval",
- "printedName": "sweepInterval",
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(name:filenameGenerator:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
+ "name": "DataCache",
+ "printedName": "Nuke.DataCache",
+ "usr": "s:4Nuke9DataCacheC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.String) -> Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "usr": "s:Sq"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "hasDefaultArg": true
}
],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
+ "Convenience",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "isCompressionEnabled",
- "printedName": "isCompressionEnabled",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "moduleName": "Nuke",
- "deprecated": true,
- "declAttributes": [
- "Final",
- "AccessControl",
- "Available",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "moduleName": "Nuke",
- "deprecated": true,
- "implicit": true,
- "declAttributes": [
- "Final",
- "Available"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "queue",
- "printedName": "queue",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(name:filenameGenerator:)",
- "children": [
+ "throwing": true,
+ "init_kind": "Convenience"
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(path:filenameGenerator:)",
+ "children": [
{
"kind": "TypeNominal",
"name": "DataCache",
@@ -14547,9 +14307,9 @@
},
{
"kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
},
{
"kind": "TypeFunc",
@@ -14581,83 +14341,25 @@
}
],
"declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "Convenience",
"AccessControl",
"RawDocComment"
],
"throwing": true,
- "init_kind": "Convenience"
+ "init_kind": "Designated"
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(path:filenameGenerator:)",
+ "kind": "Function",
+ "name": "filename",
+ "printedName": "filename(for:)",
"children": [
{
"kind": "TypeNominal",
- "name": "DataCache",
- "printedName": "Nuke.DataCache",
- "usr": "s:4Nuke9DataCacheC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.String) -> Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "usr": "s:Sq"
- },
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "hasDefaultArg": true
- }
- ],
- "declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "throwing": true,
- "init_kind": "Designated"
- },
- {
- "kind": "Function",
- "name": "filename",
- "printedName": "filename(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
+ "name": "Optional",
+ "printedName": "Swift.String?",
"children": [
{
"kind": "TypeNominal",
@@ -18265,12 +17967,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -18289,7 +17988,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -18314,7 +18012,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -23210,6 +22907,20 @@
"RawDocComment"
]
},
+ {
+ "kind": "Import",
+ "name": "Combine",
+ "printedName": "Combine",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "UIKit",
+ "printedName": "UIKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
{
"kind": "TypeDecl",
"name": "ImageTask",
@@ -23407,23 +23118,366 @@
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "currentProgress",
+ "printedName": "currentProgress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Progress",
+ "printedName": "Progress",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "completed",
+ "printedName": "completed",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "total",
+ "printedName": "total",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "fraction",
+ "printedName": "fraction",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "moduleName": "Nuke",
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(completed:total:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "init_kind": "Designated"
+ },
+ {
+ "kind": "Var",
+ "name": "hashValue",
+ "printedName": "hashValue",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Function",
+ "name": "hash",
+ "printedName": "hash(into:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Hasher",
+ "printedName": "Swift.Hasher",
+ "paramValueOwnership": "InOut",
+ "usr": "s:s6HasherV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "moduleName": "Nuke",
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Struct",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "state",
+ "printedName": "state",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvp",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvp",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
- "SetterAccess",
"AccessControl",
"RawDocComment"
],
@@ -23435,14 +23489,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvg",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvg",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23453,173 +23507,160 @@
},
{
"kind": "TypeDecl",
- "name": "Progress",
- "printedName": "Progress",
+ "name": "State",
+ "printedName": "State",
"children": [
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "running",
+ "printedName": "running",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "total",
- "printedName": "total",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "fraction",
- "printedName": "fraction",
+ "name": "completed",
+ "printedName": "completed",
"children": [
{
- "kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "moduleName": "Nuke",
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(completed:total:)",
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
- "declKind": "Constructor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
"moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "init_kind": "Designated"
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
},
{
"kind": "Var",
@@ -23634,8 +23675,8 @@
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
"moduleName": "Nuke",
"implicit": true,
"accessors": [
@@ -23652,8 +23693,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
"moduleName": "Nuke",
"implicit": true,
"accessorKind": "get"
@@ -23679,29 +23720,140 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
"moduleName": "Nuke",
"implicit": true,
"funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Enum",
+ "usr": "s:4Nuke9ImageTaskC5StateO",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
},
{
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "image",
+ "printedName": "image",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "UIImage",
+ "printedName": "UIKit.UIImage",
+ "usr": "c:objc(cs)UIImage"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7UIImageCvp",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7UIImageCvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
+ "name": "UIImage",
+ "printedName": "UIKit.UIImage",
+ "usr": "c:objc(cs)UIImage"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7UIImageCvg",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7UIImageCvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "response",
+ "printedName": "response",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- },
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "progress",
+ "printedName": "progress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
{
"kind": "TypeNominal",
"name": "Progress",
@@ -23709,62 +23861,134 @@
"usr": "s:4Nuke9ImageTaskC8ProgressV"
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "usr": "s:ScS"
}
],
- "declKind": "Struct",
- "usr": "s:4Nuke9ImageTaskC8ProgressV",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
"moduleName": "Nuke",
"declAttributes": [
+ "Final",
"AccessControl",
"RawDocComment"
],
- "conformances": [
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
- },
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "previews",
+ "printedName": "previews",
+ "children": [
{
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- },
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "state",
- "printedName": "state",
+ "name": "events",
+ "printedName": "events",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -23779,14 +24003,22 @@
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23797,35 +24029,48 @@
},
{
"kind": "TypeDecl",
- "name": "State",
- "printedName": "State",
+ "name": "Event",
+ "printedName": "Event",
"children": [
{
"kind": "Var",
- "name": "running",
- "printedName": "running",
+ "name": "progress",
+ "printedName": "progress",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23833,8 +24078,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23842,30 +24087,43 @@
},
{
"kind": "Var",
- "name": "cancelled",
- "printedName": "cancelled",
+ "name": "preview",
+ "printedName": "preview",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageResponse) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageResponse) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23873,8 +24131,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23882,30 +24140,30 @@
},
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> Nuke.ImageTask.Event",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23913,113 +24171,84 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
]
},
- {
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Var",
- "name": "hashValue",
- "printedName": "hashValue",
+ "name": "finished",
+ "printedName": "finished",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
- "moduleName": "Nuke",
- "implicit": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Swift.Result) -> Nuke.ImageTask.Event",
"children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ },
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.Event.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "hash",
- "printedName": "hash(into:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Hasher",
- "printedName": "Swift.Hasher",
- "paramValueOwnership": "InOut",
- "usr": "s:s6HasherV"
+ ]
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
"moduleName": "Nuke",
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "declAttributes": [
+ "RawDocComment"
+ ]
}
],
"declKind": "Enum",
- "usr": "s:4Nuke9ImageTaskC5StateO",
- "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "usr": "s:4Nuke9ImageTaskC5EventO",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO",
"moduleName": "Nuke",
"declAttributes": [
"AccessControl",
@@ -24028,17 +24257,10 @@
"conformances": [
{
"kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
- },
- {
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
}
]
},
@@ -26164,14 +26386,14 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 917,
+ "offset": 979,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 965,
+ "offset": 1027,
"length": 15,
"value": "\"Image Loading\""
},
@@ -26182,31 +26404,45 @@
"length": 3,
"value": "0.8"
},
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Encoding\/ImageEncoders+ImageIO.swift",
+ "kind": "Dictionary",
+ "offset": 1032,
+ "length": 3,
+ "value": "[]"
+ },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "StringLiteral",
- "offset": 1395,
+ "offset": 1389,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 1486,
+ "offset": 1480,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "IntegerLiteral",
- "offset": 1704,
+ "offset": 1698,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 13560,
+ "offset": 7679,
+ "length": 5,
+ "value": "false"
+ },
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
+ "kind": "BooleanLiteral",
+ "offset": 11659,
"length": 5,
"value": "false"
},
@@ -26456,28 +26692,28 @@
"value": "\"com.github\/kean\/nuke\/scan-number\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9407,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9412,
"length": 1,
"value": "0"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9465,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9470,
"length": 1,
@@ -26493,16 +26729,16 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "BooleanLiteral",
- "offset": 767,
+ "offset": 366,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "IntegerLiteral",
- "offset": 979,
+ "offset": 578,
"length": 1,
- "value": "0"
+ "value": "1"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
@@ -26514,7 +26750,7 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
"kind": "IntegerLiteral",
- "offset": 2679,
+ "offset": 2725,
"length": 1,
"value": "0"
},
@@ -27079,152 +27315,145 @@
"value": "\"public.mov\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2292,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2401,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 3765,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4136,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4577,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4865,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5219,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5442,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6087,
+ "offset": 6288,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6143,
+ "offset": 6345,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6189,
+ "offset": 6391,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6382,
+ "offset": 6584,
"length": 1,
"value": "6"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6643,
+ "offset": 6845,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6800,
+ "offset": 7002,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6957,
+ "offset": 7159,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7118,
+ "offset": 7320,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7285,
+ "offset": 7487,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "StringLiteral",
- "offset": 8908,
+ "offset": 9110,
"length": 32,
"value": "\"com.github.kean.Nuke.DataCache\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1554,
+ "offset": 10915,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1564,
+ "offset": 10925,
"length": 1,
"value": "0"
},
- {
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
- "kind": "BooleanLiteral",
- "offset": 2806,
- "length": 5,
- "value": "false"
- },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/RateLimiter.swift",
"kind": "BooleanLiteral",
@@ -27270,23 +27499,23 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "BooleanLiteral",
- "offset": 3056,
+ "offset": 3211,
"length": 4,
"value": "true"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "Dictionary",
- "offset": 3144,
+ "offset": 3300,
"length": 3,
"value": "[]"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/ImagePipelineTask.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/AsyncPipelineTask.swift",
"kind": "StringLiteral",
"offset": 264,
"length": 17,
- "value": "\"Nuke.ImagePipelineTask\""
+ "value": "\"Nuke.AsyncPipelineTask\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Prefetching\/ImagePrefetcher.swift",
diff --git a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface
index 9fd0878..ffb1d1e 100644
--- a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface
+++ b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface
@@ -129,8 +129,8 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
public init(configuration: Nuke.ImagePipeline.Configuration = Configuration(), delegate: (any Nuke.ImagePipelineDelegate)? = nil)
convenience public init(delegate: (any Nuke.ImagePipelineDelegate)? = nil, _ configure: (inout Nuke.ImagePipeline.Configuration) -> Swift.Void)
final public func invalidate()
- final public func imageTask(with url: Foundation.URL) -> Nuke.AsyncImageTask
- final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.AsyncImageTask
+ final public func imageTask(with url: Foundation.URL) -> Nuke.ImageTask
+ final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.ImageTask
#if compiler(>=5.3) && $AsyncAwait
final public func image(for url: Foundation.URL) async throws -> Nuke.PlatformImage
#endif
@@ -138,11 +138,6 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
final public func image(for request: Nuke.ImageRequest) async throws -> Nuke.PlatformImage
#endif
#if compiler(>=5.3) && $AsyncAwait
- @discardableResult
- final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
- #endif
- #if compiler(>=5.3) && $AsyncAwait
- @discardableResult
final public func data(for request: Nuke.ImageRequest) async throws -> (Foundation.Data, Foundation.URLResponse?)
#endif
@discardableResult
@@ -152,13 +147,19 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
@discardableResult
final public func loadImage(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ response: Nuke.ImageResponse?, _ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (_ result: Swift.Result) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
- @discardableResult
final public func loadData(with request: Nuke.ImageRequest, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress progressHandler: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
final public func imagePublisher(with url: Foundation.URL) -> Combine.AnyPublisher
final public func imagePublisher(with request: Nuke.ImageRequest) -> Combine.AnyPublisher
+ @available(*, deprecated, message: "Please the variant variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ #if compiler(>=5.3) && $AsyncAwait
+ @available(*, deprecated, message: "Please the variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
+ #endif
}
final public class DataLoader : Nuke.DataLoading, @unchecked Swift.Sendable {
final public let session: Foundation.URLSession
@@ -360,6 +361,7 @@ public protocol ImagePipelineDelegate : AnyObject, Swift.Sendable {
func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -377,6 +379,7 @@ extension Nuke.ImagePipelineDelegate {
public func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
public func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
public func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ public func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
public func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -446,26 +449,6 @@ extension Nuke.ImageProcessors {
}
}
}
-@_hasMissingDesignatedInitializers final public class AsyncImageTask : Swift.Sendable {
- final public var priority: Nuke.ImageRequest.Priority {
- get
- set
- }
- #if compiler(>=5.3) && $EffectfulProp
- final public var image: Nuke.PlatformImage {
- get async throws
- }
- #endif
- #if compiler(>=5.3) && $EffectfulProp
- final public var response: Nuke.ImageResponse {
- get async throws
- }
- #endif
- final public let previews: _Concurrency.AsyncStream
- final public let progress: _Concurrency.AsyncStream
- final public func cancel()
- @objc deinit
-}
extension Nuke.ImageProcessors {
public struct GaussianBlur : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(radius: Swift.Int = 8)
@@ -751,7 +734,10 @@ extension Nuke.ImagePipeline {
public var isResumableDataEnabled: Swift.Bool
public var isLocalResourcesSupportEnabled: Swift.Bool
public var callbackQueue: Dispatch.DispatchQueue
- public static var isSignpostLoggingEnabled: Swift.Bool
+ public static var isSignpostLoggingEnabled: Swift.Bool {
+ get
+ set
+ }
public var dataLoadingQueue: Foundation.OperationQueue
@available(*, deprecated, message: "The pipeline now performs cache lookup on the internal queue, reducing the amount of context switching")
public var dataCachingQueue: Foundation.OperationQueue
@@ -787,7 +773,7 @@ extension Nuke.ImagePipeline {
get
set
}
- final public var progress: Nuke.ImageTask.Progress {
+ final public var currentProgress: Nuke.ImageTask.Progress {
get
}
public struct Progress : Swift.Hashable, Swift.Sendable {
@@ -816,6 +802,31 @@ extension Nuke.ImagePipeline {
get
}
}
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var image: Nuke.PlatformImage {
+ get async throws
+ }
+ #endif
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var response: Nuke.ImageResponse {
+ get async throws
+ }
+ #endif
+ final public var progress: _Concurrency.AsyncStream {
+ get
+ }
+ final public var previews: _Concurrency.AsyncStream {
+ get
+ }
+ final public var events: _Concurrency.AsyncStream {
+ get
+ }
+ public enum Event : Swift.Sendable {
+ case progress(Nuke.ImageTask.Progress)
+ case preview(Nuke.ImageResponse)
+ case cancelled
+ case finished(Swift.Result)
+ }
@objc deinit
final public func cancel()
final public func hash(into hasher: inout Swift.Hasher)
@@ -827,6 +838,8 @@ extension Nuke.ImagePipeline {
get
}
}
+@available(*, deprecated, renamed: "ImageTask", message: "Async/Await support was added directly to the existing `ImageTask` type")
+public typealias AsyncImageTask = Nuke.ImageTask
extension Nuke.ImageProcessors {
public struct Circle : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(border: Nuke.ImageProcessingOptions.Border? = nil)
@@ -882,7 +895,10 @@ extension Nuke.ImageProcessors {
public init(_ filter: CoreImage.CIFilter, identifier: Swift.String)
public func process(_ image: Nuke.PlatformImage) -> Nuke.PlatformImage?
public func process(_ container: Nuke.ImageContainer, context: Nuke.ImageProcessingContext) throws -> Nuke.ImageContainer
- public static var context: CoreImage.CIContext
+ public static var context: CoreImage.CIContext {
+ get
+ set
+ }
public static func apply(filter: CoreImage.CIFilter, to image: Nuke.PlatformImage) throws -> Nuke.PlatformImage
public var description: Swift.String {
get
diff --git a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.swiftdoc
index 87076fd..3851130 100644
Binary files a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.swiftdoc and b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ
diff --git a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.swiftinterface
index 9fd0878..ffb1d1e 100644
--- a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.swiftinterface
+++ b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.swiftinterface
@@ -129,8 +129,8 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
public init(configuration: Nuke.ImagePipeline.Configuration = Configuration(), delegate: (any Nuke.ImagePipelineDelegate)? = nil)
convenience public init(delegate: (any Nuke.ImagePipelineDelegate)? = nil, _ configure: (inout Nuke.ImagePipeline.Configuration) -> Swift.Void)
final public func invalidate()
- final public func imageTask(with url: Foundation.URL) -> Nuke.AsyncImageTask
- final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.AsyncImageTask
+ final public func imageTask(with url: Foundation.URL) -> Nuke.ImageTask
+ final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.ImageTask
#if compiler(>=5.3) && $AsyncAwait
final public func image(for url: Foundation.URL) async throws -> Nuke.PlatformImage
#endif
@@ -138,11 +138,6 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
final public func image(for request: Nuke.ImageRequest) async throws -> Nuke.PlatformImage
#endif
#if compiler(>=5.3) && $AsyncAwait
- @discardableResult
- final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
- #endif
- #if compiler(>=5.3) && $AsyncAwait
- @discardableResult
final public func data(for request: Nuke.ImageRequest) async throws -> (Foundation.Data, Foundation.URLResponse?)
#endif
@discardableResult
@@ -152,13 +147,19 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
@discardableResult
final public func loadImage(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ response: Nuke.ImageResponse?, _ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (_ result: Swift.Result) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
- @discardableResult
final public func loadData(with request: Nuke.ImageRequest, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress progressHandler: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
final public func imagePublisher(with url: Foundation.URL) -> Combine.AnyPublisher
final public func imagePublisher(with request: Nuke.ImageRequest) -> Combine.AnyPublisher
+ @available(*, deprecated, message: "Please the variant variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ #if compiler(>=5.3) && $AsyncAwait
+ @available(*, deprecated, message: "Please the variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
+ #endif
}
final public class DataLoader : Nuke.DataLoading, @unchecked Swift.Sendable {
final public let session: Foundation.URLSession
@@ -360,6 +361,7 @@ public protocol ImagePipelineDelegate : AnyObject, Swift.Sendable {
func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -377,6 +379,7 @@ extension Nuke.ImagePipelineDelegate {
public func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
public func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
public func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ public func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
public func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -446,26 +449,6 @@ extension Nuke.ImageProcessors {
}
}
}
-@_hasMissingDesignatedInitializers final public class AsyncImageTask : Swift.Sendable {
- final public var priority: Nuke.ImageRequest.Priority {
- get
- set
- }
- #if compiler(>=5.3) && $EffectfulProp
- final public var image: Nuke.PlatformImage {
- get async throws
- }
- #endif
- #if compiler(>=5.3) && $EffectfulProp
- final public var response: Nuke.ImageResponse {
- get async throws
- }
- #endif
- final public let previews: _Concurrency.AsyncStream
- final public let progress: _Concurrency.AsyncStream
- final public func cancel()
- @objc deinit
-}
extension Nuke.ImageProcessors {
public struct GaussianBlur : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(radius: Swift.Int = 8)
@@ -751,7 +734,10 @@ extension Nuke.ImagePipeline {
public var isResumableDataEnabled: Swift.Bool
public var isLocalResourcesSupportEnabled: Swift.Bool
public var callbackQueue: Dispatch.DispatchQueue
- public static var isSignpostLoggingEnabled: Swift.Bool
+ public static var isSignpostLoggingEnabled: Swift.Bool {
+ get
+ set
+ }
public var dataLoadingQueue: Foundation.OperationQueue
@available(*, deprecated, message: "The pipeline now performs cache lookup on the internal queue, reducing the amount of context switching")
public var dataCachingQueue: Foundation.OperationQueue
@@ -787,7 +773,7 @@ extension Nuke.ImagePipeline {
get
set
}
- final public var progress: Nuke.ImageTask.Progress {
+ final public var currentProgress: Nuke.ImageTask.Progress {
get
}
public struct Progress : Swift.Hashable, Swift.Sendable {
@@ -816,6 +802,31 @@ extension Nuke.ImagePipeline {
get
}
}
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var image: Nuke.PlatformImage {
+ get async throws
+ }
+ #endif
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var response: Nuke.ImageResponse {
+ get async throws
+ }
+ #endif
+ final public var progress: _Concurrency.AsyncStream {
+ get
+ }
+ final public var previews: _Concurrency.AsyncStream {
+ get
+ }
+ final public var events: _Concurrency.AsyncStream {
+ get
+ }
+ public enum Event : Swift.Sendable {
+ case progress(Nuke.ImageTask.Progress)
+ case preview(Nuke.ImageResponse)
+ case cancelled
+ case finished(Swift.Result)
+ }
@objc deinit
final public func cancel()
final public func hash(into hasher: inout Swift.Hasher)
@@ -827,6 +838,8 @@ extension Nuke.ImagePipeline {
get
}
}
+@available(*, deprecated, renamed: "ImageTask", message: "Async/Await support was added directly to the existing `ImageTask` type")
+public typealias AsyncImageTask = Nuke.ImageTask
extension Nuke.ImageProcessors {
public struct Circle : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(border: Nuke.ImageProcessingOptions.Border? = nil)
@@ -882,7 +895,10 @@ extension Nuke.ImageProcessors {
public init(_ filter: CoreImage.CIFilter, identifier: Swift.String)
public func process(_ image: Nuke.PlatformImage) -> Nuke.PlatformImage?
public func process(_ container: Nuke.ImageContainer, context: Nuke.ImageProcessingContext) throws -> Nuke.ImageContainer
- public static var context: CoreImage.CIContext
+ public static var context: CoreImage.CIContext {
+ get
+ set
+ }
public static func apply(filter: CoreImage.CIFilter, to image: Nuke.PlatformImage) throws -> Nuke.PlatformImage
public var description: Swift.String {
get
diff --git a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.abi.json b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.abi.json
index 8fcb792..7e11ff7 100644
--- a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.abi.json
+++ b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.abi.json
@@ -1408,8 +1408,8 @@
},
{
"kind": "Import",
- "name": "UIKit.UIImage",
- "printedName": "UIKit.UIImage",
+ "name": "UIKit",
+ "printedName": "UIKit",
"declKind": "Import",
"moduleName": "Nuke"
},
@@ -3402,9 +3402,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3414,8 +3414,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3431,9 +3431,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3443,8 +3443,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3513,58 +3513,6 @@
"throwing": true,
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "data",
- "printedName": "data(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(Foundation.Data, Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "throwing": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "data",
@@ -3611,7 +3559,6 @@
"declAttributes": [
"Final",
"AccessControl",
- "DiscardableResult",
"RawDocComment"
],
"throwing": true,
@@ -3871,89 +3818,6 @@
],
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "loadData",
- "printedName": "loadData(with:completion:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageTask",
- "printedName": "Nuke.ImageTask",
- "usr": "s:4Nuke9ImageTaskC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Result",
- "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ],
- "usr": "s:s6ResultO"
- }
- ]
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "loadData",
@@ -4261,100 +4125,239 @@
"funcSelfKind": "NonMutating"
},
{
- "kind": "TypeDecl",
- "name": "Error",
- "printedName": "Error",
+ "kind": "Function",
+ "name": "loadData",
+ "printedName": "loadData(with:completion:)",
"children": [
{
- "kind": "Var",
- "name": "dataMissingInCache",
- "printedName": "dataMissingInCache",
- "children": [
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- },
- {
- "kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
- }
- ]
- }
- ],
- "declKind": "EnumElement",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
- "kind": "Var",
- "name": "dataLoadingFailed",
- "printedName": "dataLoadingFailed",
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
},
{
"kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(error: any Swift.Error)",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "any Swift.Error",
- "usr": "s:s5ErrorP"
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
}
- ]
+ ],
+ "usr": "s:Sq"
}
]
},
{
"kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
}
- ]
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "data",
+ "printedName": "data(for:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(Foundation.Data, Foundation.URLResponse?)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "throwing": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Error",
+ "printedName": "Error",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "dataMissingInCache",
+ "printedName": "dataMissingInCache",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "dataLoadingFailed",
+ "printedName": "dataLoadingFailed",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(error: any Swift.Error)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "any Swift.Error",
+ "usr": "s:s5ErrorP"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
}
],
"declKind": "EnumElement",
@@ -7293,12 +7296,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -7317,7 +7317,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -7342,7 +7341,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -12288,6 +12286,48 @@
"reqNewWitnessTableEntry": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "protocolReq": true,
+ "declAttributes": [
+ "RawDocComment"
+ ],
+ "reqNewWitnessTableEntry": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -12948,6 +12988,47 @@
"isFromExtension": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "isFromExtension": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -13712,37 +13793,84 @@
},
{
"kind": "Import",
- "name": "UIKit",
- "printedName": "UIKit",
+ "name": "Foundation",
+ "printedName": "Foundation",
"declKind": "Import",
- "moduleName": "Nuke"
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
},
{
- "kind": "TypeDecl",
- "name": "AsyncImageTask",
- "printedName": "AsyncImageTask",
- "children": [
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "CoreImage",
+ "printedName": "CoreImage",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "UIKit",
+ "printedName": "UIKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "DataCache",
+ "printedName": "DataCache",
+ "children": [
{
"kind": "Var",
- "name": "priority",
- "printedName": "priority",
+ "name": "sizeLimit",
+ "printedName": "sizeLimit",
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13751,15 +13879,16 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13777,15 +13906,16 @@
},
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13803,8 +13933,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -13816,25 +13946,28 @@
},
{
"kind": "Var",
- "name": "image",
- "printedName": "image",
+ "name": "path",
+ "printedName": "path",
"children": [
{
"kind": "TypeNominal",
- "name": "UIImage",
- "printedName": "UIKit.UIImage",
- "usr": "c:objc(cs)UIImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7UIImageCvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7UIImageCvp",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "isLet": true,
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13843,44 +13976,47 @@
"children": [
{
"kind": "TypeNominal",
- "name": "UIImage",
- "printedName": "UIKit.UIImage",
- "usr": "c:objc(cs)UIImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7UIImageCvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7UIImageCvg",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "response",
- "printedName": "response",
+ "name": "sweepInterval",
+ "printedName": "sweepInterval",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13889,120 +14025,94 @@
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "previews",
- "printedName": "previews",
- "children": [
+ },
{
- "kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
+ "kind": "Accessor",
+ "name": "Set",
+ "printedName": "Set()",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
- "usr": "s:ScS"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "set"
+ },
{
"kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "name": "Modify",
+ "printedName": "Modify()",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Void",
+ "printedName": "()"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
"Final"
],
- "accessorKind": "get"
+ "accessorKind": "_modify"
}
]
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "isCompressionEnabled",
+ "printedName": "isCompressionEnabled",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
"moduleName": "Nuke",
+ "deprecated": true,
"declAttributes": [
"Final",
- "HasStorage",
"AccessControl",
+ "Available",
"RawDocComment"
],
- "isLet": true,
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -14011,187 +14121,20 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "cancel",
- "printedName": "cancel()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke14AsyncImageTaskC6cancelyyF",
- "mangledName": "$s4Nuke14AsyncImageTaskC6cancelyyF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- }
- ],
- "declKind": "Class",
- "usr": "s:4Nuke14AsyncImageTaskC",
- "mangledName": "$s4Nuke14AsyncImageTaskC",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "hasMissingDesignatedInitializers": true,
- "conformances": [
- {
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- }
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "CoreImage",
- "printedName": "CoreImage",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "UIKit",
- "printedName": "UIKit",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "TypeDecl",
- "name": "DataCache",
- "printedName": "DataCache",
- "children": [
- {
- "kind": "Var",
- "name": "sizeLimit",
- "printedName": "sizeLimit",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
+ },
{
"kind": "Accessor",
"name": "Set",
@@ -14204,16 +14147,15 @@
},
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
@@ -14231,12 +14173,14 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
"moduleName": "Nuke",
+ "deprecated": true,
"implicit": true,
"declAttributes": [
- "Final"
+ "Final",
+ "Available"
],
"accessorKind": "_modify"
}
@@ -14244,21 +14188,22 @@
},
{
"kind": "Var",
- "name": "path",
- "printedName": "path",
+ "name": "queue",
+ "printedName": "queue",
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
"HasStorage",
"AccessControl",
@@ -14274,14 +14219,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -14292,253 +14237,68 @@
]
},
{
- "kind": "Var",
- "name": "sweepInterval",
- "printedName": "sweepInterval",
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(name:filenameGenerator:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
+ "name": "DataCache",
+ "printedName": "Nuke.DataCache",
+ "usr": "s:4Nuke9DataCacheC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.String) -> Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "usr": "s:Sq"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "hasDefaultArg": true
}
],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
+ "Convenience",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "isCompressionEnabled",
- "printedName": "isCompressionEnabled",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "moduleName": "Nuke",
- "deprecated": true,
- "declAttributes": [
- "Final",
- "AccessControl",
- "Available",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "moduleName": "Nuke",
- "deprecated": true,
- "implicit": true,
- "declAttributes": [
- "Final",
- "Available"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "queue",
- "printedName": "queue",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(name:filenameGenerator:)",
- "children": [
+ "throwing": true,
+ "init_kind": "Convenience"
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(path:filenameGenerator:)",
+ "children": [
{
"kind": "TypeNominal",
"name": "DataCache",
@@ -14547,9 +14307,9 @@
},
{
"kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
},
{
"kind": "TypeFunc",
@@ -14581,83 +14341,25 @@
}
],
"declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "Convenience",
"AccessControl",
"RawDocComment"
],
"throwing": true,
- "init_kind": "Convenience"
+ "init_kind": "Designated"
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(path:filenameGenerator:)",
+ "kind": "Function",
+ "name": "filename",
+ "printedName": "filename(for:)",
"children": [
{
"kind": "TypeNominal",
- "name": "DataCache",
- "printedName": "Nuke.DataCache",
- "usr": "s:4Nuke9DataCacheC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.String) -> Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "usr": "s:Sq"
- },
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "hasDefaultArg": true
- }
- ],
- "declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "throwing": true,
- "init_kind": "Designated"
- },
- {
- "kind": "Function",
- "name": "filename",
- "printedName": "filename(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
+ "name": "Optional",
+ "printedName": "Swift.String?",
"children": [
{
"kind": "TypeNominal",
@@ -18265,12 +17967,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -18289,7 +17988,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -18314,7 +18012,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -23210,6 +22907,20 @@
"RawDocComment"
]
},
+ {
+ "kind": "Import",
+ "name": "Combine",
+ "printedName": "Combine",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "UIKit",
+ "printedName": "UIKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
{
"kind": "TypeDecl",
"name": "ImageTask",
@@ -23407,23 +23118,366 @@
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "currentProgress",
+ "printedName": "currentProgress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Progress",
+ "printedName": "Progress",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "completed",
+ "printedName": "completed",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "total",
+ "printedName": "total",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "fraction",
+ "printedName": "fraction",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "moduleName": "Nuke",
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(completed:total:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "init_kind": "Designated"
+ },
+ {
+ "kind": "Var",
+ "name": "hashValue",
+ "printedName": "hashValue",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Function",
+ "name": "hash",
+ "printedName": "hash(into:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Hasher",
+ "printedName": "Swift.Hasher",
+ "paramValueOwnership": "InOut",
+ "usr": "s:s6HasherV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "moduleName": "Nuke",
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Struct",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "state",
+ "printedName": "state",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvp",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvp",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
- "SetterAccess",
"AccessControl",
"RawDocComment"
],
@@ -23435,14 +23489,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvg",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvg",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23453,173 +23507,160 @@
},
{
"kind": "TypeDecl",
- "name": "Progress",
- "printedName": "Progress",
+ "name": "State",
+ "printedName": "State",
"children": [
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "running",
+ "printedName": "running",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "total",
- "printedName": "total",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "fraction",
- "printedName": "fraction",
+ "name": "completed",
+ "printedName": "completed",
"children": [
{
- "kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "moduleName": "Nuke",
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(completed:total:)",
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
- "declKind": "Constructor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
"moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "init_kind": "Designated"
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
},
{
"kind": "Var",
@@ -23634,8 +23675,8 @@
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
"moduleName": "Nuke",
"implicit": true,
"accessors": [
@@ -23652,8 +23693,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
"moduleName": "Nuke",
"implicit": true,
"accessorKind": "get"
@@ -23679,29 +23720,140 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
"moduleName": "Nuke",
"implicit": true,
"funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Enum",
+ "usr": "s:4Nuke9ImageTaskC5StateO",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
},
{
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "image",
+ "printedName": "image",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "UIImage",
+ "printedName": "UIKit.UIImage",
+ "usr": "c:objc(cs)UIImage"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7UIImageCvp",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7UIImageCvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
+ "name": "UIImage",
+ "printedName": "UIKit.UIImage",
+ "usr": "c:objc(cs)UIImage"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7UIImageCvg",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7UIImageCvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "response",
+ "printedName": "response",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- },
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "progress",
+ "printedName": "progress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
{
"kind": "TypeNominal",
"name": "Progress",
@@ -23709,62 +23861,134 @@
"usr": "s:4Nuke9ImageTaskC8ProgressV"
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "usr": "s:ScS"
}
],
- "declKind": "Struct",
- "usr": "s:4Nuke9ImageTaskC8ProgressV",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
"moduleName": "Nuke",
"declAttributes": [
+ "Final",
"AccessControl",
"RawDocComment"
],
- "conformances": [
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
- },
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "previews",
+ "printedName": "previews",
+ "children": [
{
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- },
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "state",
- "printedName": "state",
+ "name": "events",
+ "printedName": "events",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -23779,14 +24003,22 @@
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23797,35 +24029,48 @@
},
{
"kind": "TypeDecl",
- "name": "State",
- "printedName": "State",
+ "name": "Event",
+ "printedName": "Event",
"children": [
{
"kind": "Var",
- "name": "running",
- "printedName": "running",
+ "name": "progress",
+ "printedName": "progress",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23833,8 +24078,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23842,30 +24087,43 @@
},
{
"kind": "Var",
- "name": "cancelled",
- "printedName": "cancelled",
+ "name": "preview",
+ "printedName": "preview",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageResponse) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageResponse) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23873,8 +24131,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23882,30 +24140,30 @@
},
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> Nuke.ImageTask.Event",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23913,113 +24171,84 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
]
},
- {
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Var",
- "name": "hashValue",
- "printedName": "hashValue",
+ "name": "finished",
+ "printedName": "finished",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
- "moduleName": "Nuke",
- "implicit": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Swift.Result) -> Nuke.ImageTask.Event",
"children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ },
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.Event.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "hash",
- "printedName": "hash(into:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Hasher",
- "printedName": "Swift.Hasher",
- "paramValueOwnership": "InOut",
- "usr": "s:s6HasherV"
+ ]
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
"moduleName": "Nuke",
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "declAttributes": [
+ "RawDocComment"
+ ]
}
],
"declKind": "Enum",
- "usr": "s:4Nuke9ImageTaskC5StateO",
- "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "usr": "s:4Nuke9ImageTaskC5EventO",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO",
"moduleName": "Nuke",
"declAttributes": [
"AccessControl",
@@ -24028,17 +24257,10 @@
"conformances": [
{
"kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
- },
- {
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
}
]
},
@@ -26164,14 +26386,14 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 917,
+ "offset": 979,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 965,
+ "offset": 1027,
"length": 15,
"value": "\"Image Loading\""
},
@@ -26182,31 +26404,45 @@
"length": 3,
"value": "0.8"
},
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Encoding\/ImageEncoders+ImageIO.swift",
+ "kind": "Dictionary",
+ "offset": 1032,
+ "length": 3,
+ "value": "[]"
+ },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "StringLiteral",
- "offset": 1395,
+ "offset": 1389,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 1486,
+ "offset": 1480,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "IntegerLiteral",
- "offset": 1704,
+ "offset": 1698,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 13560,
+ "offset": 7679,
+ "length": 5,
+ "value": "false"
+ },
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
+ "kind": "BooleanLiteral",
+ "offset": 11659,
"length": 5,
"value": "false"
},
@@ -26456,28 +26692,28 @@
"value": "\"com.github\/kean\/nuke\/scan-number\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9407,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9412,
"length": 1,
"value": "0"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9465,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9470,
"length": 1,
@@ -26493,16 +26729,16 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "BooleanLiteral",
- "offset": 767,
+ "offset": 366,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "IntegerLiteral",
- "offset": 979,
+ "offset": 578,
"length": 1,
- "value": "0"
+ "value": "1"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
@@ -26514,7 +26750,7 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
"kind": "IntegerLiteral",
- "offset": 2679,
+ "offset": 2725,
"length": 1,
"value": "0"
},
@@ -27079,152 +27315,145 @@
"value": "\"public.mov\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2292,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2401,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 3765,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4136,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4577,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4865,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5219,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5442,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6087,
+ "offset": 6288,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6143,
+ "offset": 6345,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6189,
+ "offset": 6391,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6382,
+ "offset": 6584,
"length": 1,
"value": "6"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6643,
+ "offset": 6845,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6800,
+ "offset": 7002,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6957,
+ "offset": 7159,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7118,
+ "offset": 7320,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7285,
+ "offset": 7487,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "StringLiteral",
- "offset": 8908,
+ "offset": 9110,
"length": 32,
"value": "\"com.github.kean.Nuke.DataCache\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1554,
+ "offset": 10915,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1564,
+ "offset": 10925,
"length": 1,
"value": "0"
},
- {
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
- "kind": "BooleanLiteral",
- "offset": 2806,
- "length": 5,
- "value": "false"
- },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/RateLimiter.swift",
"kind": "BooleanLiteral",
@@ -27270,23 +27499,23 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "BooleanLiteral",
- "offset": 3056,
+ "offset": 3211,
"length": 4,
"value": "true"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "Dictionary",
- "offset": 3144,
+ "offset": 3300,
"length": 3,
"value": "[]"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/ImagePipelineTask.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/AsyncPipelineTask.swift",
"kind": "StringLiteral",
"offset": 264,
"length": 17,
- "value": "\"Nuke.ImagePipelineTask\""
+ "value": "\"Nuke.AsyncPipelineTask\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Prefetching\/ImagePrefetcher.swift",
diff --git a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface
index ef47a73..c46de32 100644
--- a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface
+++ b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface
@@ -129,8 +129,8 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
public init(configuration: Nuke.ImagePipeline.Configuration = Configuration(), delegate: (any Nuke.ImagePipelineDelegate)? = nil)
convenience public init(delegate: (any Nuke.ImagePipelineDelegate)? = nil, _ configure: (inout Nuke.ImagePipeline.Configuration) -> Swift.Void)
final public func invalidate()
- final public func imageTask(with url: Foundation.URL) -> Nuke.AsyncImageTask
- final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.AsyncImageTask
+ final public func imageTask(with url: Foundation.URL) -> Nuke.ImageTask
+ final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.ImageTask
#if compiler(>=5.3) && $AsyncAwait
final public func image(for url: Foundation.URL) async throws -> Nuke.PlatformImage
#endif
@@ -138,11 +138,6 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
final public func image(for request: Nuke.ImageRequest) async throws -> Nuke.PlatformImage
#endif
#if compiler(>=5.3) && $AsyncAwait
- @discardableResult
- final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
- #endif
- #if compiler(>=5.3) && $AsyncAwait
- @discardableResult
final public func data(for request: Nuke.ImageRequest) async throws -> (Foundation.Data, Foundation.URLResponse?)
#endif
@discardableResult
@@ -152,13 +147,19 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
@discardableResult
final public func loadImage(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ response: Nuke.ImageResponse?, _ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (_ result: Swift.Result) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
- @discardableResult
final public func loadData(with request: Nuke.ImageRequest, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress progressHandler: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
final public func imagePublisher(with url: Foundation.URL) -> Combine.AnyPublisher
final public func imagePublisher(with request: Nuke.ImageRequest) -> Combine.AnyPublisher
+ @available(*, deprecated, message: "Please the variant variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ #if compiler(>=5.3) && $AsyncAwait
+ @available(*, deprecated, message: "Please the variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
+ #endif
}
final public class DataLoader : Nuke.DataLoading, @unchecked Swift.Sendable {
final public let session: Foundation.URLSession
@@ -360,6 +361,7 @@ public protocol ImagePipelineDelegate : AnyObject, Swift.Sendable {
func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -377,6 +379,7 @@ extension Nuke.ImagePipelineDelegate {
public func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
public func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
public func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ public func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
public func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -446,26 +449,6 @@ extension Nuke.ImageProcessors {
}
}
}
-@_hasMissingDesignatedInitializers final public class AsyncImageTask : Swift.Sendable {
- final public var priority: Nuke.ImageRequest.Priority {
- get
- set
- }
- #if compiler(>=5.3) && $EffectfulProp
- final public var image: Nuke.PlatformImage {
- get async throws
- }
- #endif
- #if compiler(>=5.3) && $EffectfulProp
- final public var response: Nuke.ImageResponse {
- get async throws
- }
- #endif
- final public let previews: _Concurrency.AsyncStream
- final public let progress: _Concurrency.AsyncStream
- final public func cancel()
- @objc deinit
-}
extension Nuke.ImageProcessors {
public struct GaussianBlur : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(radius: Swift.Int = 8)
@@ -751,7 +734,10 @@ extension Nuke.ImagePipeline {
public var isResumableDataEnabled: Swift.Bool
public var isLocalResourcesSupportEnabled: Swift.Bool
public var callbackQueue: Dispatch.DispatchQueue
- public static var isSignpostLoggingEnabled: Swift.Bool
+ public static var isSignpostLoggingEnabled: Swift.Bool {
+ get
+ set
+ }
public var dataLoadingQueue: Foundation.OperationQueue
@available(*, deprecated, message: "The pipeline now performs cache lookup on the internal queue, reducing the amount of context switching")
public var dataCachingQueue: Foundation.OperationQueue
@@ -787,7 +773,7 @@ extension Nuke.ImagePipeline {
get
set
}
- final public var progress: Nuke.ImageTask.Progress {
+ final public var currentProgress: Nuke.ImageTask.Progress {
get
}
public struct Progress : Swift.Hashable, Swift.Sendable {
@@ -816,6 +802,31 @@ extension Nuke.ImagePipeline {
get
}
}
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var image: Nuke.PlatformImage {
+ get async throws
+ }
+ #endif
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var response: Nuke.ImageResponse {
+ get async throws
+ }
+ #endif
+ final public var progress: _Concurrency.AsyncStream {
+ get
+ }
+ final public var previews: _Concurrency.AsyncStream {
+ get
+ }
+ final public var events: _Concurrency.AsyncStream {
+ get
+ }
+ public enum Event : Swift.Sendable {
+ case progress(Nuke.ImageTask.Progress)
+ case preview(Nuke.ImageResponse)
+ case cancelled
+ case finished(Swift.Result)
+ }
@objc deinit
final public func cancel()
final public func hash(into hasher: inout Swift.Hasher)
@@ -827,6 +838,8 @@ extension Nuke.ImagePipeline {
get
}
}
+@available(*, deprecated, renamed: "ImageTask", message: "Async/Await support was added directly to the existing `ImageTask` type")
+public typealias AsyncImageTask = Nuke.ImageTask
extension Nuke.ImageProcessors {
public struct Circle : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(border: Nuke.ImageProcessingOptions.Border? = nil)
@@ -882,7 +895,10 @@ extension Nuke.ImageProcessors {
public init(_ filter: CoreImage.CIFilter, identifier: Swift.String)
public func process(_ image: Nuke.PlatformImage) -> Nuke.PlatformImage?
public func process(_ container: Nuke.ImageContainer, context: Nuke.ImageProcessingContext) throws -> Nuke.ImageContainer
- public static var context: CoreImage.CIContext
+ public static var context: CoreImage.CIContext {
+ get
+ set
+ }
public static func apply(filter: CoreImage.CIFilter, to image: Nuke.PlatformImage) throws -> Nuke.PlatformImage
public var description: Swift.String {
get
diff --git a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.swiftdoc
index d0cfac2..28413e4 100644
Binary files a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ
diff --git a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
index ef47a73..c46de32 100644
--- a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
+++ b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
@@ -129,8 +129,8 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
public init(configuration: Nuke.ImagePipeline.Configuration = Configuration(), delegate: (any Nuke.ImagePipelineDelegate)? = nil)
convenience public init(delegate: (any Nuke.ImagePipelineDelegate)? = nil, _ configure: (inout Nuke.ImagePipeline.Configuration) -> Swift.Void)
final public func invalidate()
- final public func imageTask(with url: Foundation.URL) -> Nuke.AsyncImageTask
- final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.AsyncImageTask
+ final public func imageTask(with url: Foundation.URL) -> Nuke.ImageTask
+ final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.ImageTask
#if compiler(>=5.3) && $AsyncAwait
final public func image(for url: Foundation.URL) async throws -> Nuke.PlatformImage
#endif
@@ -138,11 +138,6 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
final public func image(for request: Nuke.ImageRequest) async throws -> Nuke.PlatformImage
#endif
#if compiler(>=5.3) && $AsyncAwait
- @discardableResult
- final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
- #endif
- #if compiler(>=5.3) && $AsyncAwait
- @discardableResult
final public func data(for request: Nuke.ImageRequest) async throws -> (Foundation.Data, Foundation.URLResponse?)
#endif
@discardableResult
@@ -152,13 +147,19 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
@discardableResult
final public func loadImage(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ response: Nuke.ImageResponse?, _ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (_ result: Swift.Result) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
- @discardableResult
final public func loadData(with request: Nuke.ImageRequest, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress progressHandler: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
final public func imagePublisher(with url: Foundation.URL) -> Combine.AnyPublisher
final public func imagePublisher(with request: Nuke.ImageRequest) -> Combine.AnyPublisher
+ @available(*, deprecated, message: "Please the variant variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ #if compiler(>=5.3) && $AsyncAwait
+ @available(*, deprecated, message: "Please the variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
+ #endif
}
final public class DataLoader : Nuke.DataLoading, @unchecked Swift.Sendable {
final public let session: Foundation.URLSession
@@ -360,6 +361,7 @@ public protocol ImagePipelineDelegate : AnyObject, Swift.Sendable {
func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -377,6 +379,7 @@ extension Nuke.ImagePipelineDelegate {
public func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
public func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
public func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ public func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
public func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -446,26 +449,6 @@ extension Nuke.ImageProcessors {
}
}
}
-@_hasMissingDesignatedInitializers final public class AsyncImageTask : Swift.Sendable {
- final public var priority: Nuke.ImageRequest.Priority {
- get
- set
- }
- #if compiler(>=5.3) && $EffectfulProp
- final public var image: Nuke.PlatformImage {
- get async throws
- }
- #endif
- #if compiler(>=5.3) && $EffectfulProp
- final public var response: Nuke.ImageResponse {
- get async throws
- }
- #endif
- final public let previews: _Concurrency.AsyncStream
- final public let progress: _Concurrency.AsyncStream
- final public func cancel()
- @objc deinit
-}
extension Nuke.ImageProcessors {
public struct GaussianBlur : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(radius: Swift.Int = 8)
@@ -751,7 +734,10 @@ extension Nuke.ImagePipeline {
public var isResumableDataEnabled: Swift.Bool
public var isLocalResourcesSupportEnabled: Swift.Bool
public var callbackQueue: Dispatch.DispatchQueue
- public static var isSignpostLoggingEnabled: Swift.Bool
+ public static var isSignpostLoggingEnabled: Swift.Bool {
+ get
+ set
+ }
public var dataLoadingQueue: Foundation.OperationQueue
@available(*, deprecated, message: "The pipeline now performs cache lookup on the internal queue, reducing the amount of context switching")
public var dataCachingQueue: Foundation.OperationQueue
@@ -787,7 +773,7 @@ extension Nuke.ImagePipeline {
get
set
}
- final public var progress: Nuke.ImageTask.Progress {
+ final public var currentProgress: Nuke.ImageTask.Progress {
get
}
public struct Progress : Swift.Hashable, Swift.Sendable {
@@ -816,6 +802,31 @@ extension Nuke.ImagePipeline {
get
}
}
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var image: Nuke.PlatformImage {
+ get async throws
+ }
+ #endif
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var response: Nuke.ImageResponse {
+ get async throws
+ }
+ #endif
+ final public var progress: _Concurrency.AsyncStream {
+ get
+ }
+ final public var previews: _Concurrency.AsyncStream {
+ get
+ }
+ final public var events: _Concurrency.AsyncStream {
+ get
+ }
+ public enum Event : Swift.Sendable {
+ case progress(Nuke.ImageTask.Progress)
+ case preview(Nuke.ImageResponse)
+ case cancelled
+ case finished(Swift.Result)
+ }
@objc deinit
final public func cancel()
final public func hash(into hasher: inout Swift.Hasher)
@@ -827,6 +838,8 @@ extension Nuke.ImagePipeline {
get
}
}
+@available(*, deprecated, renamed: "ImageTask", message: "Async/Await support was added directly to the existing `ImageTask` type")
+public typealias AsyncImageTask = Nuke.ImageTask
extension Nuke.ImageProcessors {
public struct Circle : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(border: Nuke.ImageProcessingOptions.Border? = nil)
@@ -882,7 +895,10 @@ extension Nuke.ImageProcessors {
public init(_ filter: CoreImage.CIFilter, identifier: Swift.String)
public func process(_ image: Nuke.PlatformImage) -> Nuke.PlatformImage?
public func process(_ container: Nuke.ImageContainer, context: Nuke.ImageProcessingContext) throws -> Nuke.ImageContainer
- public static var context: CoreImage.CIContext
+ public static var context: CoreImage.CIContext {
+ get
+ set
+ }
public static func apply(filter: CoreImage.CIFilter, to image: Nuke.PlatformImage) throws -> Nuke.PlatformImage
public var description: Swift.String {
get
diff --git a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Nuke b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Nuke
index 6bd0848..8ee6c26 100755
Binary files a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Nuke and b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/Nuke differ
diff --git a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/_CodeSignature/CodeResources b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/_CodeSignature/CodeResources
index 651b218..a3aef41 100644
--- a/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/_CodeSignature/CodeResources
+++ b/ios/Nuke.xcframework/ios-arm64_x86_64-simulator/Nuke.framework/_CodeSignature/CodeResources
@@ -10,47 +10,47 @@
Info.plist
- 9KvqkLtiwfIKzq2iPVGXH8iWwiU=
+ 7f/2HZWGwYpt5PX52u1bNaNCeAE=
Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.abi.json
- +EAM0i/Xw2yV4uT9cTexRb/cpiA=
+ MEG94G6JH0dX+KN0qz3JRrafsT8=
Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface
- c36ISBAMXRK645CrGrv3jvJG9yw=
+ km7qXNOmFmu6LZrgcC3RwhT/vzs=
Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.swiftdoc
- cs74en0KiChXKUp0iC6uhXhc0Xc=
+ x9nvvssk0svKYIstPZntOfy6o4Y=
Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.swiftinterface
- c36ISBAMXRK645CrGrv3jvJG9yw=
+ km7qXNOmFmu6LZrgcC3RwhT/vzs=
Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.swiftmodule
- AT1O5ztncviHv2mrqmEvECDEtHo=
+ a+VCUPhYgD2UnzU0F7WQya1OBGY=
Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.abi.json
- +EAM0i/Xw2yV4uT9cTexRb/cpiA=
+ MEG94G6JH0dX+KN0qz3JRrafsT8=
Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface
- l0pbvuVUML52ijbBFeJMt1I3Kb0=
+ rk8kDGbVFn246HhTE7MnE9s+Ieo=
Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.swiftdoc
- DeJW04N/QD7gTtxBdAto62tgnNQ=
+ qsMCP7WRwQCZBNkbAn0WoZvIYR4=
Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
- l0pbvuVUML52ijbBFeJMt1I3Kb0=
+ rk8kDGbVFn246HhTE7MnE9s+Ieo=
Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
- eBrJPXR+mBjITqqsfP5hrolaH24=
+ /kn8oLvbEmRpReILB+C+al28ptg=
files2
@@ -66,70 +66,70 @@
hash2
- YIND+8NjUEGcbagW07luIHAX0/Y/K1JvDQYfxqc4IwI=
+ 7MwsUS+0k72WS4efagWYgb/UdmdGzxFWTmJJ68MJGTI=
Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface
hash2
- 8g/tFvquFkk6k17DH6CDHnyebI2V/xtrVaBhxlu77To=
+ TRX6bGn7e9UVoaR2nzbe10qGpVfdqQBUrk2UFBqNOdo=
Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.swiftdoc
hash2
- VTPBHFXrgncIpfG0DOCFSMAj46LYGTTg2v6c9fyxqIQ=
+ lDN83L2YHOu0myTRt29DS89OYyhrNCevVeO9BETcXYU=
Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.swiftinterface
hash2
- 8g/tFvquFkk6k17DH6CDHnyebI2V/xtrVaBhxlu77To=
+ TRX6bGn7e9UVoaR2nzbe10qGpVfdqQBUrk2UFBqNOdo=
Modules/Nuke.swiftmodule/arm64-apple-ios-simulator.swiftmodule
hash2
- UjhVKqJyxF57R/e2WX3ojFUz0QnNr06haNiPzDJW7CM=
+ +xfjiaaEyTBe7cOOkfpX6UTaAoNqKLwh2zxpMbOd6m0=
Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.abi.json
hash2
- YIND+8NjUEGcbagW07luIHAX0/Y/K1JvDQYfxqc4IwI=
+ 7MwsUS+0k72WS4efagWYgb/UdmdGzxFWTmJJ68MJGTI=
Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface
hash2
- 45qiIfYmxZU6yBv5piwbqVreKDe/vehvszjyDeMDoaQ=
+ /wovddjczUVM4FBuUa60q19uMSZTHclkRYbnpmM5PLc=
Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.swiftdoc
hash2
- WggRf7cdwABJh1ElJAVG+xEwGhKjrsRdrHoZTZnKjz0=
+ krT2946M6tLzAIAUujk50I9z48SSndK/OU7AR+4c6jo=
Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
hash2
- 45qiIfYmxZU6yBv5piwbqVreKDe/vehvszjyDeMDoaQ=
+ /wovddjczUVM4FBuUa60q19uMSZTHclkRYbnpmM5PLc=
Modules/Nuke.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
hash2
- UIMtq+kXj3+SXoBhGA0DVfqs2n5Brv6wsopWQcEl8SQ=
+ QTYnet2AuOWniWKptFq1IXAYWKK9P2YXlJrsM7guU+M=
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.abi.json b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.abi.json
index cb2a881..f57a7fb 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.abi.json
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.abi.json
@@ -1408,8 +1408,8 @@
},
{
"kind": "Import",
- "name": "AppKit.NSImage",
- "printedName": "AppKit.NSImage",
+ "name": "AppKit",
+ "printedName": "AppKit",
"declKind": "Import",
"moduleName": "Nuke"
},
@@ -3402,9 +3402,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3414,8 +3414,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3431,9 +3431,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3443,8 +3443,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3513,58 +3513,6 @@
"throwing": true,
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "data",
- "printedName": "data(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(Foundation.Data, Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "throwing": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "data",
@@ -3611,7 +3559,6 @@
"declAttributes": [
"Final",
"AccessControl",
- "DiscardableResult",
"RawDocComment"
],
"throwing": true,
@@ -3871,89 +3818,6 @@
],
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "loadData",
- "printedName": "loadData(with:completion:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageTask",
- "printedName": "Nuke.ImageTask",
- "usr": "s:4Nuke9ImageTaskC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Result",
- "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ],
- "usr": "s:s6ResultO"
- }
- ]
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "loadData",
@@ -4261,100 +4125,239 @@
"funcSelfKind": "NonMutating"
},
{
- "kind": "TypeDecl",
- "name": "Error",
- "printedName": "Error",
+ "kind": "Function",
+ "name": "loadData",
+ "printedName": "loadData(with:completion:)",
"children": [
{
- "kind": "Var",
- "name": "dataMissingInCache",
- "printedName": "dataMissingInCache",
- "children": [
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- },
- {
- "kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
- }
- ]
- }
- ],
- "declKind": "EnumElement",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
- "kind": "Var",
- "name": "dataLoadingFailed",
- "printedName": "dataLoadingFailed",
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
},
{
"kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(error: any Swift.Error)",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "any Swift.Error",
- "usr": "s:s5ErrorP"
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
}
- ]
+ ],
+ "usr": "s:Sq"
}
]
},
{
"kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
}
- ]
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "data",
+ "printedName": "data(for:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(Foundation.Data, Foundation.URLResponse?)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "throwing": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Error",
+ "printedName": "Error",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "dataMissingInCache",
+ "printedName": "dataMissingInCache",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "dataLoadingFailed",
+ "printedName": "dataLoadingFailed",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(error: any Swift.Error)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "any Swift.Error",
+ "usr": "s:s5ErrorP"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
}
],
"declKind": "EnumElement",
@@ -7293,12 +7296,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -7317,7 +7317,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -7342,7 +7341,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -12288,6 +12286,48 @@
"reqNewWitnessTableEntry": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "protocolReq": true,
+ "declAttributes": [
+ "RawDocComment"
+ ],
+ "reqNewWitnessTableEntry": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -12948,6 +12988,47 @@
"isFromExtension": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "isFromExtension": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -13705,37 +13786,84 @@
},
{
"kind": "Import",
- "name": "AppKit",
- "printedName": "AppKit",
+ "name": "Foundation",
+ "printedName": "Foundation",
"declKind": "Import",
- "moduleName": "Nuke"
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
},
{
- "kind": "TypeDecl",
- "name": "AsyncImageTask",
- "printedName": "AsyncImageTask",
- "children": [
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "CoreImage",
+ "printedName": "CoreImage",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "AppKit",
+ "printedName": "AppKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "DataCache",
+ "printedName": "DataCache",
+ "children": [
{
"kind": "Var",
- "name": "priority",
- "printedName": "priority",
+ "name": "sizeLimit",
+ "printedName": "sizeLimit",
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13744,15 +13872,16 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13770,15 +13899,16 @@
},
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13796,8 +13926,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -13809,25 +13939,28 @@
},
{
"kind": "Var",
- "name": "image",
- "printedName": "image",
+ "name": "path",
+ "printedName": "path",
"children": [
{
"kind": "TypeNominal",
- "name": "NSImage",
- "printedName": "AppKit.NSImage",
- "usr": "c:objc(cs)NSImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7NSImageCvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7NSImageCvp",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "isLet": true,
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13836,44 +13969,47 @@
"children": [
{
"kind": "TypeNominal",
- "name": "NSImage",
- "printedName": "AppKit.NSImage",
- "usr": "c:objc(cs)NSImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7NSImageCvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7NSImageCvg",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "response",
- "printedName": "response",
+ "name": "sweepInterval",
+ "printedName": "sweepInterval",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13882,120 +14018,94 @@
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "previews",
- "printedName": "previews",
- "children": [
+ },
{
- "kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
+ "kind": "Accessor",
+ "name": "Set",
+ "printedName": "Set()",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
- "usr": "s:ScS"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "set"
+ },
{
"kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "name": "Modify",
+ "printedName": "Modify()",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Void",
+ "printedName": "()"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
"Final"
],
- "accessorKind": "get"
+ "accessorKind": "_modify"
}
]
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "isCompressionEnabled",
+ "printedName": "isCompressionEnabled",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
"moduleName": "Nuke",
+ "deprecated": true,
"declAttributes": [
"Final",
- "HasStorage",
"AccessControl",
+ "Available",
"RawDocComment"
],
- "isLet": true,
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -14004,187 +14114,20 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "cancel",
- "printedName": "cancel()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke14AsyncImageTaskC6cancelyyF",
- "mangledName": "$s4Nuke14AsyncImageTaskC6cancelyyF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- }
- ],
- "declKind": "Class",
- "usr": "s:4Nuke14AsyncImageTaskC",
- "mangledName": "$s4Nuke14AsyncImageTaskC",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "hasMissingDesignatedInitializers": true,
- "conformances": [
- {
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- }
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "CoreImage",
- "printedName": "CoreImage",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "AppKit",
- "printedName": "AppKit",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "TypeDecl",
- "name": "DataCache",
- "printedName": "DataCache",
- "children": [
- {
- "kind": "Var",
- "name": "sizeLimit",
- "printedName": "sizeLimit",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
+ },
{
"kind": "Accessor",
"name": "Set",
@@ -14197,16 +14140,15 @@
},
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
@@ -14224,12 +14166,14 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
"moduleName": "Nuke",
+ "deprecated": true,
"implicit": true,
"declAttributes": [
- "Final"
+ "Final",
+ "Available"
],
"accessorKind": "_modify"
}
@@ -14237,21 +14181,22 @@
},
{
"kind": "Var",
- "name": "path",
- "printedName": "path",
+ "name": "queue",
+ "printedName": "queue",
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
"HasStorage",
"AccessControl",
@@ -14267,14 +14212,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -14285,253 +14230,68 @@
]
},
{
- "kind": "Var",
- "name": "sweepInterval",
- "printedName": "sweepInterval",
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(name:filenameGenerator:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
+ "name": "DataCache",
+ "printedName": "Nuke.DataCache",
+ "usr": "s:4Nuke9DataCacheC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.String) -> Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "usr": "s:Sq"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "hasDefaultArg": true
}
],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
+ "Convenience",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "isCompressionEnabled",
- "printedName": "isCompressionEnabled",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "moduleName": "Nuke",
- "deprecated": true,
- "declAttributes": [
- "Final",
- "AccessControl",
- "Available",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "moduleName": "Nuke",
- "deprecated": true,
- "implicit": true,
- "declAttributes": [
- "Final",
- "Available"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "queue",
- "printedName": "queue",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(name:filenameGenerator:)",
- "children": [
+ "throwing": true,
+ "init_kind": "Convenience"
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(path:filenameGenerator:)",
+ "children": [
{
"kind": "TypeNominal",
"name": "DataCache",
@@ -14540,9 +14300,9 @@
},
{
"kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
},
{
"kind": "TypeFunc",
@@ -14574,83 +14334,25 @@
}
],
"declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "Convenience",
"AccessControl",
"RawDocComment"
],
"throwing": true,
- "init_kind": "Convenience"
+ "init_kind": "Designated"
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(path:filenameGenerator:)",
+ "kind": "Function",
+ "name": "filename",
+ "printedName": "filename(for:)",
"children": [
{
"kind": "TypeNominal",
- "name": "DataCache",
- "printedName": "Nuke.DataCache",
- "usr": "s:4Nuke9DataCacheC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.String) -> Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "usr": "s:Sq"
- },
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "hasDefaultArg": true
- }
- ],
- "declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "throwing": true,
- "init_kind": "Designated"
- },
- {
- "kind": "Function",
- "name": "filename",
- "printedName": "filename(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
+ "name": "Optional",
+ "printedName": "Swift.String?",
"children": [
{
"kind": "TypeNominal",
@@ -18258,12 +17960,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -18282,7 +17981,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -18307,7 +18005,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -23203,6 +22900,20 @@
"RawDocComment"
]
},
+ {
+ "kind": "Import",
+ "name": "Combine",
+ "printedName": "Combine",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "AppKit",
+ "printedName": "AppKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
{
"kind": "TypeDecl",
"name": "ImageTask",
@@ -23400,23 +23111,366 @@
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "currentProgress",
+ "printedName": "currentProgress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Progress",
+ "printedName": "Progress",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "completed",
+ "printedName": "completed",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "total",
+ "printedName": "total",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "fraction",
+ "printedName": "fraction",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "moduleName": "Nuke",
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(completed:total:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "init_kind": "Designated"
+ },
+ {
+ "kind": "Var",
+ "name": "hashValue",
+ "printedName": "hashValue",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Function",
+ "name": "hash",
+ "printedName": "hash(into:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Hasher",
+ "printedName": "Swift.Hasher",
+ "paramValueOwnership": "InOut",
+ "usr": "s:s6HasherV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "moduleName": "Nuke",
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Struct",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "state",
+ "printedName": "state",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvp",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvp",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
- "SetterAccess",
"AccessControl",
"RawDocComment"
],
@@ -23428,14 +23482,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvg",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvg",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23446,173 +23500,160 @@
},
{
"kind": "TypeDecl",
- "name": "Progress",
- "printedName": "Progress",
+ "name": "State",
+ "printedName": "State",
"children": [
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "running",
+ "printedName": "running",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "total",
- "printedName": "total",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "fraction",
- "printedName": "fraction",
+ "name": "completed",
+ "printedName": "completed",
"children": [
{
- "kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "moduleName": "Nuke",
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(completed:total:)",
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
- "declKind": "Constructor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
"moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "init_kind": "Designated"
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
},
{
"kind": "Var",
@@ -23627,8 +23668,8 @@
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
"moduleName": "Nuke",
"implicit": true,
"accessors": [
@@ -23645,8 +23686,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
"moduleName": "Nuke",
"implicit": true,
"accessorKind": "get"
@@ -23672,29 +23713,140 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
"moduleName": "Nuke",
"implicit": true,
"funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Enum",
+ "usr": "s:4Nuke9ImageTaskC5StateO",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
},
{
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "image",
+ "printedName": "image",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "NSImage",
+ "printedName": "AppKit.NSImage",
+ "usr": "c:objc(cs)NSImage"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7NSImageCvp",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7NSImageCvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
+ "name": "NSImage",
+ "printedName": "AppKit.NSImage",
+ "usr": "c:objc(cs)NSImage"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7NSImageCvg",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7NSImageCvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "response",
+ "printedName": "response",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- },
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "progress",
+ "printedName": "progress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
{
"kind": "TypeNominal",
"name": "Progress",
@@ -23702,62 +23854,134 @@
"usr": "s:4Nuke9ImageTaskC8ProgressV"
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "usr": "s:ScS"
}
],
- "declKind": "Struct",
- "usr": "s:4Nuke9ImageTaskC8ProgressV",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
"moduleName": "Nuke",
"declAttributes": [
+ "Final",
"AccessControl",
"RawDocComment"
],
- "conformances": [
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
- },
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "previews",
+ "printedName": "previews",
+ "children": [
{
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- },
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "state",
- "printedName": "state",
+ "name": "events",
+ "printedName": "events",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -23772,14 +23996,22 @@
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23790,35 +24022,48 @@
},
{
"kind": "TypeDecl",
- "name": "State",
- "printedName": "State",
+ "name": "Event",
+ "printedName": "Event",
"children": [
{
"kind": "Var",
- "name": "running",
- "printedName": "running",
+ "name": "progress",
+ "printedName": "progress",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23826,8 +24071,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23835,30 +24080,43 @@
},
{
"kind": "Var",
- "name": "cancelled",
- "printedName": "cancelled",
+ "name": "preview",
+ "printedName": "preview",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageResponse) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageResponse) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23866,8 +24124,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23875,30 +24133,30 @@
},
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> Nuke.ImageTask.Event",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23906,113 +24164,84 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
]
},
- {
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Var",
- "name": "hashValue",
- "printedName": "hashValue",
+ "name": "finished",
+ "printedName": "finished",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
- "moduleName": "Nuke",
- "implicit": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Swift.Result) -> Nuke.ImageTask.Event",
"children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ },
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.Event.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "hash",
- "printedName": "hash(into:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Hasher",
- "printedName": "Swift.Hasher",
- "paramValueOwnership": "InOut",
- "usr": "s:s6HasherV"
+ ]
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
"moduleName": "Nuke",
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "declAttributes": [
+ "RawDocComment"
+ ]
}
],
"declKind": "Enum",
- "usr": "s:4Nuke9ImageTaskC5StateO",
- "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "usr": "s:4Nuke9ImageTaskC5EventO",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO",
"moduleName": "Nuke",
"declAttributes": [
"AccessControl",
@@ -24021,17 +24250,10 @@
"conformances": [
{
"kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
- },
- {
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
}
]
},
@@ -26157,14 +26379,14 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 917,
+ "offset": 979,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 965,
+ "offset": 1027,
"length": 15,
"value": "\"Image Loading\""
},
@@ -26175,31 +26397,45 @@
"length": 3,
"value": "0.8"
},
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Encoding\/ImageEncoders+ImageIO.swift",
+ "kind": "Dictionary",
+ "offset": 1032,
+ "length": 3,
+ "value": "[]"
+ },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "StringLiteral",
- "offset": 1395,
+ "offset": 1389,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 1486,
+ "offset": 1480,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "IntegerLiteral",
- "offset": 1704,
+ "offset": 1698,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 13560,
+ "offset": 7679,
+ "length": 5,
+ "value": "false"
+ },
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
+ "kind": "BooleanLiteral",
+ "offset": 11659,
"length": 5,
"value": "false"
},
@@ -26463,28 +26699,28 @@
"value": "\"com.github\/kean\/nuke\/scan-number\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9407,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9412,
"length": 1,
"value": "0"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9465,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9470,
"length": 1,
@@ -26500,16 +26736,16 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "BooleanLiteral",
- "offset": 767,
+ "offset": 366,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "IntegerLiteral",
- "offset": 979,
+ "offset": 578,
"length": 1,
- "value": "0"
+ "value": "1"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
@@ -26521,7 +26757,7 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
"kind": "IntegerLiteral",
- "offset": 2679,
+ "offset": 2725,
"length": 1,
"value": "0"
},
@@ -26661,7 +26897,7 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Graphics.swift",
"kind": "IntegerLiteral",
- "offset": 11108,
+ "offset": 11625,
"length": 1,
"value": "1"
},
@@ -27093,152 +27329,145 @@
"value": "\"public.mov\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2292,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2351,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 3765,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4136,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4577,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4865,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5219,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5442,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6087,
+ "offset": 6288,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6143,
+ "offset": 6345,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6189,
+ "offset": 6391,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6382,
+ "offset": 6584,
"length": 1,
"value": "6"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6643,
+ "offset": 6845,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6800,
+ "offset": 7002,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6957,
+ "offset": 7159,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7118,
+ "offset": 7320,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7285,
+ "offset": 7487,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "StringLiteral",
- "offset": 8908,
+ "offset": 9110,
"length": 32,
"value": "\"com.github.kean.Nuke.DataCache\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1554,
+ "offset": 10915,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1564,
+ "offset": 10925,
"length": 1,
"value": "0"
},
- {
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
- "kind": "BooleanLiteral",
- "offset": 2806,
- "length": 5,
- "value": "false"
- },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/RateLimiter.swift",
"kind": "BooleanLiteral",
@@ -27284,23 +27513,23 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "BooleanLiteral",
- "offset": 3056,
+ "offset": 3211,
"length": 4,
"value": "true"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "Dictionary",
- "offset": 3144,
+ "offset": 3300,
"length": 3,
"value": "[]"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/ImagePipelineTask.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/AsyncPipelineTask.swift",
"kind": "StringLiteral",
"offset": 264,
"length": 17,
- "value": "\"Nuke.ImagePipelineTask\""
+ "value": "\"Nuke.AsyncPipelineTask\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Prefetching\/ImagePrefetcher.swift",
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.private.swiftinterface b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.private.swiftinterface
index 7c02bd8..3cc159c 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.private.swiftinterface
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.private.swiftinterface
@@ -129,8 +129,8 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
public init(configuration: Nuke.ImagePipeline.Configuration = Configuration(), delegate: (any Nuke.ImagePipelineDelegate)? = nil)
convenience public init(delegate: (any Nuke.ImagePipelineDelegate)? = nil, _ configure: (inout Nuke.ImagePipeline.Configuration) -> Swift.Void)
final public func invalidate()
- final public func imageTask(with url: Foundation.URL) -> Nuke.AsyncImageTask
- final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.AsyncImageTask
+ final public func imageTask(with url: Foundation.URL) -> Nuke.ImageTask
+ final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.ImageTask
#if compiler(>=5.3) && $AsyncAwait
final public func image(for url: Foundation.URL) async throws -> Nuke.PlatformImage
#endif
@@ -138,11 +138,6 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
final public func image(for request: Nuke.ImageRequest) async throws -> Nuke.PlatformImage
#endif
#if compiler(>=5.3) && $AsyncAwait
- @discardableResult
- final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
- #endif
- #if compiler(>=5.3) && $AsyncAwait
- @discardableResult
final public func data(for request: Nuke.ImageRequest) async throws -> (Foundation.Data, Foundation.URLResponse?)
#endif
@discardableResult
@@ -152,13 +147,19 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
@discardableResult
final public func loadImage(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ response: Nuke.ImageResponse?, _ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (_ result: Swift.Result) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
- @discardableResult
final public func loadData(with request: Nuke.ImageRequest, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress progressHandler: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
final public func imagePublisher(with url: Foundation.URL) -> Combine.AnyPublisher
final public func imagePublisher(with request: Nuke.ImageRequest) -> Combine.AnyPublisher
+ @available(*, deprecated, message: "Please the variant variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ #if compiler(>=5.3) && $AsyncAwait
+ @available(*, deprecated, message: "Please the variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
+ #endif
}
final public class DataLoader : Nuke.DataLoading, @unchecked Swift.Sendable {
final public let session: Foundation.URLSession
@@ -360,6 +361,7 @@ public protocol ImagePipelineDelegate : AnyObject, Swift.Sendable {
func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -377,6 +379,7 @@ extension Nuke.ImagePipelineDelegate {
public func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
public func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
public func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ public func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
public func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -446,26 +449,6 @@ extension Nuke.ImageProcessors {
}
}
}
-@_hasMissingDesignatedInitializers final public class AsyncImageTask : Swift.Sendable {
- final public var priority: Nuke.ImageRequest.Priority {
- get
- set
- }
- #if compiler(>=5.3) && $EffectfulProp
- final public var image: Nuke.PlatformImage {
- get async throws
- }
- #endif
- #if compiler(>=5.3) && $EffectfulProp
- final public var response: Nuke.ImageResponse {
- get async throws
- }
- #endif
- final public let previews: _Concurrency.AsyncStream
- final public let progress: _Concurrency.AsyncStream
- final public func cancel()
- @objc deinit
-}
extension Nuke.ImageProcessors {
public struct GaussianBlur : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(radius: Swift.Int = 8)
@@ -751,7 +734,10 @@ extension Nuke.ImagePipeline {
public var isResumableDataEnabled: Swift.Bool
public var isLocalResourcesSupportEnabled: Swift.Bool
public var callbackQueue: Dispatch.DispatchQueue
- public static var isSignpostLoggingEnabled: Swift.Bool
+ public static var isSignpostLoggingEnabled: Swift.Bool {
+ get
+ set
+ }
public var dataLoadingQueue: Foundation.OperationQueue
@available(*, deprecated, message: "The pipeline now performs cache lookup on the internal queue, reducing the amount of context switching")
public var dataCachingQueue: Foundation.OperationQueue
@@ -787,7 +773,7 @@ extension Nuke.ImagePipeline {
get
set
}
- final public var progress: Nuke.ImageTask.Progress {
+ final public var currentProgress: Nuke.ImageTask.Progress {
get
}
public struct Progress : Swift.Hashable, Swift.Sendable {
@@ -816,6 +802,31 @@ extension Nuke.ImagePipeline {
get
}
}
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var image: Nuke.PlatformImage {
+ get async throws
+ }
+ #endif
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var response: Nuke.ImageResponse {
+ get async throws
+ }
+ #endif
+ final public var progress: _Concurrency.AsyncStream {
+ get
+ }
+ final public var previews: _Concurrency.AsyncStream {
+ get
+ }
+ final public var events: _Concurrency.AsyncStream {
+ get
+ }
+ public enum Event : Swift.Sendable {
+ case progress(Nuke.ImageTask.Progress)
+ case preview(Nuke.ImageResponse)
+ case cancelled
+ case finished(Swift.Result)
+ }
@objc deinit
final public func cancel()
final public func hash(into hasher: inout Swift.Hasher)
@@ -827,6 +838,8 @@ extension Nuke.ImagePipeline {
get
}
}
+@available(*, deprecated, renamed: "ImageTask", message: "Async/Await support was added directly to the existing `ImageTask` type")
+public typealias AsyncImageTask = Nuke.ImageTask
extension Nuke.ImageProcessors {
public struct Circle : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(border: Nuke.ImageProcessingOptions.Border? = nil)
@@ -882,7 +895,10 @@ extension Nuke.ImageProcessors {
public init(_ filter: CoreImage.CIFilter, identifier: Swift.String)
public func process(_ image: Nuke.PlatformImage) -> Nuke.PlatformImage?
public func process(_ container: Nuke.ImageContainer, context: Nuke.ImageProcessingContext) throws -> Nuke.ImageContainer
- public static var context: CoreImage.CIContext
+ public static var context: CoreImage.CIContext {
+ get
+ set
+ }
public static func apply(filter: CoreImage.CIFilter, to image: Nuke.PlatformImage) throws -> Nuke.PlatformImage
public var description: Swift.String {
get
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftdoc b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftdoc
index 9290089..6e86349 100644
Binary files a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftdoc and b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftdoc differ
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftinterface b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftinterface
index 7c02bd8..3cc159c 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftinterface
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftinterface
@@ -129,8 +129,8 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
public init(configuration: Nuke.ImagePipeline.Configuration = Configuration(), delegate: (any Nuke.ImagePipelineDelegate)? = nil)
convenience public init(delegate: (any Nuke.ImagePipelineDelegate)? = nil, _ configure: (inout Nuke.ImagePipeline.Configuration) -> Swift.Void)
final public func invalidate()
- final public func imageTask(with url: Foundation.URL) -> Nuke.AsyncImageTask
- final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.AsyncImageTask
+ final public func imageTask(with url: Foundation.URL) -> Nuke.ImageTask
+ final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.ImageTask
#if compiler(>=5.3) && $AsyncAwait
final public func image(for url: Foundation.URL) async throws -> Nuke.PlatformImage
#endif
@@ -138,11 +138,6 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
final public func image(for request: Nuke.ImageRequest) async throws -> Nuke.PlatformImage
#endif
#if compiler(>=5.3) && $AsyncAwait
- @discardableResult
- final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
- #endif
- #if compiler(>=5.3) && $AsyncAwait
- @discardableResult
final public func data(for request: Nuke.ImageRequest) async throws -> (Foundation.Data, Foundation.URLResponse?)
#endif
@discardableResult
@@ -152,13 +147,19 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
@discardableResult
final public func loadImage(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ response: Nuke.ImageResponse?, _ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (_ result: Swift.Result) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
- @discardableResult
final public func loadData(with request: Nuke.ImageRequest, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress progressHandler: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
final public func imagePublisher(with url: Foundation.URL) -> Combine.AnyPublisher
final public func imagePublisher(with request: Nuke.ImageRequest) -> Combine.AnyPublisher
+ @available(*, deprecated, message: "Please the variant variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ #if compiler(>=5.3) && $AsyncAwait
+ @available(*, deprecated, message: "Please the variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
+ #endif
}
final public class DataLoader : Nuke.DataLoading, @unchecked Swift.Sendable {
final public let session: Foundation.URLSession
@@ -360,6 +361,7 @@ public protocol ImagePipelineDelegate : AnyObject, Swift.Sendable {
func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -377,6 +379,7 @@ extension Nuke.ImagePipelineDelegate {
public func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
public func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
public func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ public func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
public func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -446,26 +449,6 @@ extension Nuke.ImageProcessors {
}
}
}
-@_hasMissingDesignatedInitializers final public class AsyncImageTask : Swift.Sendable {
- final public var priority: Nuke.ImageRequest.Priority {
- get
- set
- }
- #if compiler(>=5.3) && $EffectfulProp
- final public var image: Nuke.PlatformImage {
- get async throws
- }
- #endif
- #if compiler(>=5.3) && $EffectfulProp
- final public var response: Nuke.ImageResponse {
- get async throws
- }
- #endif
- final public let previews: _Concurrency.AsyncStream
- final public let progress: _Concurrency.AsyncStream
- final public func cancel()
- @objc deinit
-}
extension Nuke.ImageProcessors {
public struct GaussianBlur : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(radius: Swift.Int = 8)
@@ -751,7 +734,10 @@ extension Nuke.ImagePipeline {
public var isResumableDataEnabled: Swift.Bool
public var isLocalResourcesSupportEnabled: Swift.Bool
public var callbackQueue: Dispatch.DispatchQueue
- public static var isSignpostLoggingEnabled: Swift.Bool
+ public static var isSignpostLoggingEnabled: Swift.Bool {
+ get
+ set
+ }
public var dataLoadingQueue: Foundation.OperationQueue
@available(*, deprecated, message: "The pipeline now performs cache lookup on the internal queue, reducing the amount of context switching")
public var dataCachingQueue: Foundation.OperationQueue
@@ -787,7 +773,7 @@ extension Nuke.ImagePipeline {
get
set
}
- final public var progress: Nuke.ImageTask.Progress {
+ final public var currentProgress: Nuke.ImageTask.Progress {
get
}
public struct Progress : Swift.Hashable, Swift.Sendable {
@@ -816,6 +802,31 @@ extension Nuke.ImagePipeline {
get
}
}
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var image: Nuke.PlatformImage {
+ get async throws
+ }
+ #endif
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var response: Nuke.ImageResponse {
+ get async throws
+ }
+ #endif
+ final public var progress: _Concurrency.AsyncStream {
+ get
+ }
+ final public var previews: _Concurrency.AsyncStream {
+ get
+ }
+ final public var events: _Concurrency.AsyncStream {
+ get
+ }
+ public enum Event : Swift.Sendable {
+ case progress(Nuke.ImageTask.Progress)
+ case preview(Nuke.ImageResponse)
+ case cancelled
+ case finished(Swift.Result)
+ }
@objc deinit
final public func cancel()
final public func hash(into hasher: inout Swift.Hasher)
@@ -827,6 +838,8 @@ extension Nuke.ImagePipeline {
get
}
}
+@available(*, deprecated, renamed: "ImageTask", message: "Async/Await support was added directly to the existing `ImageTask` type")
+public typealias AsyncImageTask = Nuke.ImageTask
extension Nuke.ImageProcessors {
public struct Circle : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(border: Nuke.ImageProcessingOptions.Border? = nil)
@@ -882,7 +895,10 @@ extension Nuke.ImageProcessors {
public init(_ filter: CoreImage.CIFilter, identifier: Swift.String)
public func process(_ image: Nuke.PlatformImage) -> Nuke.PlatformImage?
public func process(_ container: Nuke.ImageContainer, context: Nuke.ImageProcessingContext) throws -> Nuke.ImageContainer
- public static var context: CoreImage.CIContext
+ public static var context: CoreImage.CIContext {
+ get
+ set
+ }
public static func apply(filter: CoreImage.CIFilter, to image: Nuke.PlatformImage) throws -> Nuke.PlatformImage
public var description: Swift.String {
get
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.abi.json b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.abi.json
index cb2a881..f57a7fb 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.abi.json
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.abi.json
@@ -1408,8 +1408,8 @@
},
{
"kind": "Import",
- "name": "AppKit.NSImage",
- "printedName": "AppKit.NSImage",
+ "name": "AppKit",
+ "printedName": "AppKit",
"declKind": "Import",
"moduleName": "Nuke"
},
@@ -3402,9 +3402,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3414,8 +3414,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3431,9 +3431,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3443,8 +3443,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3513,58 +3513,6 @@
"throwing": true,
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "data",
- "printedName": "data(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(Foundation.Data, Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "throwing": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "data",
@@ -3611,7 +3559,6 @@
"declAttributes": [
"Final",
"AccessControl",
- "DiscardableResult",
"RawDocComment"
],
"throwing": true,
@@ -3871,89 +3818,6 @@
],
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "loadData",
- "printedName": "loadData(with:completion:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageTask",
- "printedName": "Nuke.ImageTask",
- "usr": "s:4Nuke9ImageTaskC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Result",
- "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ],
- "usr": "s:s6ResultO"
- }
- ]
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "loadData",
@@ -4261,100 +4125,239 @@
"funcSelfKind": "NonMutating"
},
{
- "kind": "TypeDecl",
- "name": "Error",
- "printedName": "Error",
+ "kind": "Function",
+ "name": "loadData",
+ "printedName": "loadData(with:completion:)",
"children": [
{
- "kind": "Var",
- "name": "dataMissingInCache",
- "printedName": "dataMissingInCache",
- "children": [
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- },
- {
- "kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
- }
- ]
- }
- ],
- "declKind": "EnumElement",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
- "kind": "Var",
- "name": "dataLoadingFailed",
- "printedName": "dataLoadingFailed",
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
},
{
"kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(error: any Swift.Error)",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "any Swift.Error",
- "usr": "s:s5ErrorP"
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
}
- ]
+ ],
+ "usr": "s:Sq"
}
]
},
{
"kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
}
- ]
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "data",
+ "printedName": "data(for:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(Foundation.Data, Foundation.URLResponse?)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "throwing": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Error",
+ "printedName": "Error",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "dataMissingInCache",
+ "printedName": "dataMissingInCache",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "dataLoadingFailed",
+ "printedName": "dataLoadingFailed",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(error: any Swift.Error)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "any Swift.Error",
+ "usr": "s:s5ErrorP"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
}
],
"declKind": "EnumElement",
@@ -7293,12 +7296,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -7317,7 +7317,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -7342,7 +7341,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -12288,6 +12286,48 @@
"reqNewWitnessTableEntry": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "protocolReq": true,
+ "declAttributes": [
+ "RawDocComment"
+ ],
+ "reqNewWitnessTableEntry": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -12948,6 +12988,47 @@
"isFromExtension": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "isFromExtension": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -13705,37 +13786,84 @@
},
{
"kind": "Import",
- "name": "AppKit",
- "printedName": "AppKit",
+ "name": "Foundation",
+ "printedName": "Foundation",
"declKind": "Import",
- "moduleName": "Nuke"
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
},
{
- "kind": "TypeDecl",
- "name": "AsyncImageTask",
- "printedName": "AsyncImageTask",
- "children": [
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "CoreImage",
+ "printedName": "CoreImage",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "AppKit",
+ "printedName": "AppKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "DataCache",
+ "printedName": "DataCache",
+ "children": [
{
"kind": "Var",
- "name": "priority",
- "printedName": "priority",
+ "name": "sizeLimit",
+ "printedName": "sizeLimit",
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13744,15 +13872,16 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13770,15 +13899,16 @@
},
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13796,8 +13926,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -13809,25 +13939,28 @@
},
{
"kind": "Var",
- "name": "image",
- "printedName": "image",
+ "name": "path",
+ "printedName": "path",
"children": [
{
"kind": "TypeNominal",
- "name": "NSImage",
- "printedName": "AppKit.NSImage",
- "usr": "c:objc(cs)NSImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7NSImageCvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7NSImageCvp",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "isLet": true,
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13836,44 +13969,47 @@
"children": [
{
"kind": "TypeNominal",
- "name": "NSImage",
- "printedName": "AppKit.NSImage",
- "usr": "c:objc(cs)NSImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7NSImageCvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7NSImageCvg",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "response",
- "printedName": "response",
+ "name": "sweepInterval",
+ "printedName": "sweepInterval",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13882,120 +14018,94 @@
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "previews",
- "printedName": "previews",
- "children": [
+ },
{
- "kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
+ "kind": "Accessor",
+ "name": "Set",
+ "printedName": "Set()",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
- "usr": "s:ScS"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "set"
+ },
{
"kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "name": "Modify",
+ "printedName": "Modify()",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Void",
+ "printedName": "()"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
"Final"
],
- "accessorKind": "get"
+ "accessorKind": "_modify"
}
]
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "isCompressionEnabled",
+ "printedName": "isCompressionEnabled",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
"moduleName": "Nuke",
+ "deprecated": true,
"declAttributes": [
"Final",
- "HasStorage",
"AccessControl",
+ "Available",
"RawDocComment"
],
- "isLet": true,
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -14004,187 +14114,20 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "cancel",
- "printedName": "cancel()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke14AsyncImageTaskC6cancelyyF",
- "mangledName": "$s4Nuke14AsyncImageTaskC6cancelyyF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- }
- ],
- "declKind": "Class",
- "usr": "s:4Nuke14AsyncImageTaskC",
- "mangledName": "$s4Nuke14AsyncImageTaskC",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "hasMissingDesignatedInitializers": true,
- "conformances": [
- {
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- }
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "CoreImage",
- "printedName": "CoreImage",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "AppKit",
- "printedName": "AppKit",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "TypeDecl",
- "name": "DataCache",
- "printedName": "DataCache",
- "children": [
- {
- "kind": "Var",
- "name": "sizeLimit",
- "printedName": "sizeLimit",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
+ },
{
"kind": "Accessor",
"name": "Set",
@@ -14197,16 +14140,15 @@
},
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
@@ -14224,12 +14166,14 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
"moduleName": "Nuke",
+ "deprecated": true,
"implicit": true,
"declAttributes": [
- "Final"
+ "Final",
+ "Available"
],
"accessorKind": "_modify"
}
@@ -14237,21 +14181,22 @@
},
{
"kind": "Var",
- "name": "path",
- "printedName": "path",
+ "name": "queue",
+ "printedName": "queue",
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
"HasStorage",
"AccessControl",
@@ -14267,14 +14212,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -14285,253 +14230,68 @@
]
},
{
- "kind": "Var",
- "name": "sweepInterval",
- "printedName": "sweepInterval",
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(name:filenameGenerator:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
+ "name": "DataCache",
+ "printedName": "Nuke.DataCache",
+ "usr": "s:4Nuke9DataCacheC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.String) -> Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "usr": "s:Sq"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "hasDefaultArg": true
}
],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
+ "Convenience",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "isCompressionEnabled",
- "printedName": "isCompressionEnabled",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "moduleName": "Nuke",
- "deprecated": true,
- "declAttributes": [
- "Final",
- "AccessControl",
- "Available",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "moduleName": "Nuke",
- "deprecated": true,
- "implicit": true,
- "declAttributes": [
- "Final",
- "Available"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "queue",
- "printedName": "queue",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(name:filenameGenerator:)",
- "children": [
+ "throwing": true,
+ "init_kind": "Convenience"
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(path:filenameGenerator:)",
+ "children": [
{
"kind": "TypeNominal",
"name": "DataCache",
@@ -14540,9 +14300,9 @@
},
{
"kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
},
{
"kind": "TypeFunc",
@@ -14574,83 +14334,25 @@
}
],
"declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "Convenience",
"AccessControl",
"RawDocComment"
],
"throwing": true,
- "init_kind": "Convenience"
+ "init_kind": "Designated"
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(path:filenameGenerator:)",
+ "kind": "Function",
+ "name": "filename",
+ "printedName": "filename(for:)",
"children": [
{
"kind": "TypeNominal",
- "name": "DataCache",
- "printedName": "Nuke.DataCache",
- "usr": "s:4Nuke9DataCacheC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.String) -> Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "usr": "s:Sq"
- },
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "hasDefaultArg": true
- }
- ],
- "declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "throwing": true,
- "init_kind": "Designated"
- },
- {
- "kind": "Function",
- "name": "filename",
- "printedName": "filename(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
+ "name": "Optional",
+ "printedName": "Swift.String?",
"children": [
{
"kind": "TypeNominal",
@@ -18258,12 +17960,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -18282,7 +17981,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -18307,7 +18005,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -23203,6 +22900,20 @@
"RawDocComment"
]
},
+ {
+ "kind": "Import",
+ "name": "Combine",
+ "printedName": "Combine",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "AppKit",
+ "printedName": "AppKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
{
"kind": "TypeDecl",
"name": "ImageTask",
@@ -23400,23 +23111,366 @@
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "currentProgress",
+ "printedName": "currentProgress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Progress",
+ "printedName": "Progress",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "completed",
+ "printedName": "completed",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "total",
+ "printedName": "total",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "fraction",
+ "printedName": "fraction",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "moduleName": "Nuke",
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(completed:total:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "init_kind": "Designated"
+ },
+ {
+ "kind": "Var",
+ "name": "hashValue",
+ "printedName": "hashValue",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Function",
+ "name": "hash",
+ "printedName": "hash(into:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Hasher",
+ "printedName": "Swift.Hasher",
+ "paramValueOwnership": "InOut",
+ "usr": "s:s6HasherV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "moduleName": "Nuke",
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Struct",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "state",
+ "printedName": "state",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvp",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvp",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
- "SetterAccess",
"AccessControl",
"RawDocComment"
],
@@ -23428,14 +23482,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvg",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvg",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23446,173 +23500,160 @@
},
{
"kind": "TypeDecl",
- "name": "Progress",
- "printedName": "Progress",
+ "name": "State",
+ "printedName": "State",
"children": [
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "running",
+ "printedName": "running",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "total",
- "printedName": "total",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "fraction",
- "printedName": "fraction",
+ "name": "completed",
+ "printedName": "completed",
"children": [
{
- "kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "moduleName": "Nuke",
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(completed:total:)",
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
- "declKind": "Constructor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
"moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "init_kind": "Designated"
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
},
{
"kind": "Var",
@@ -23627,8 +23668,8 @@
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
"moduleName": "Nuke",
"implicit": true,
"accessors": [
@@ -23645,8 +23686,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
"moduleName": "Nuke",
"implicit": true,
"accessorKind": "get"
@@ -23672,29 +23713,140 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
"moduleName": "Nuke",
"implicit": true,
"funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Enum",
+ "usr": "s:4Nuke9ImageTaskC5StateO",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
},
{
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "image",
+ "printedName": "image",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "NSImage",
+ "printedName": "AppKit.NSImage",
+ "usr": "c:objc(cs)NSImage"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7NSImageCvp",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7NSImageCvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
+ "name": "NSImage",
+ "printedName": "AppKit.NSImage",
+ "usr": "c:objc(cs)NSImage"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7NSImageCvg",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7NSImageCvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "response",
+ "printedName": "response",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- },
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "progress",
+ "printedName": "progress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
{
"kind": "TypeNominal",
"name": "Progress",
@@ -23702,62 +23854,134 @@
"usr": "s:4Nuke9ImageTaskC8ProgressV"
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "usr": "s:ScS"
}
],
- "declKind": "Struct",
- "usr": "s:4Nuke9ImageTaskC8ProgressV",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
"moduleName": "Nuke",
"declAttributes": [
+ "Final",
"AccessControl",
"RawDocComment"
],
- "conformances": [
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
- },
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "previews",
+ "printedName": "previews",
+ "children": [
{
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- },
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "state",
- "printedName": "state",
+ "name": "events",
+ "printedName": "events",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -23772,14 +23996,22 @@
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23790,35 +24022,48 @@
},
{
"kind": "TypeDecl",
- "name": "State",
- "printedName": "State",
+ "name": "Event",
+ "printedName": "Event",
"children": [
{
"kind": "Var",
- "name": "running",
- "printedName": "running",
+ "name": "progress",
+ "printedName": "progress",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23826,8 +24071,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23835,30 +24080,43 @@
},
{
"kind": "Var",
- "name": "cancelled",
- "printedName": "cancelled",
+ "name": "preview",
+ "printedName": "preview",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageResponse) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageResponse) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23866,8 +24124,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23875,30 +24133,30 @@
},
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> Nuke.ImageTask.Event",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23906,113 +24164,84 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
]
},
- {
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Var",
- "name": "hashValue",
- "printedName": "hashValue",
+ "name": "finished",
+ "printedName": "finished",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
- "moduleName": "Nuke",
- "implicit": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Swift.Result) -> Nuke.ImageTask.Event",
"children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ },
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.Event.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "hash",
- "printedName": "hash(into:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Hasher",
- "printedName": "Swift.Hasher",
- "paramValueOwnership": "InOut",
- "usr": "s:s6HasherV"
+ ]
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
"moduleName": "Nuke",
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "declAttributes": [
+ "RawDocComment"
+ ]
}
],
"declKind": "Enum",
- "usr": "s:4Nuke9ImageTaskC5StateO",
- "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "usr": "s:4Nuke9ImageTaskC5EventO",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO",
"moduleName": "Nuke",
"declAttributes": [
"AccessControl",
@@ -24021,17 +24250,10 @@
"conformances": [
{
"kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
- },
- {
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
}
]
},
@@ -26157,14 +26379,14 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 917,
+ "offset": 979,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 965,
+ "offset": 1027,
"length": 15,
"value": "\"Image Loading\""
},
@@ -26175,31 +26397,45 @@
"length": 3,
"value": "0.8"
},
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Encoding\/ImageEncoders+ImageIO.swift",
+ "kind": "Dictionary",
+ "offset": 1032,
+ "length": 3,
+ "value": "[]"
+ },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "StringLiteral",
- "offset": 1395,
+ "offset": 1389,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 1486,
+ "offset": 1480,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "IntegerLiteral",
- "offset": 1704,
+ "offset": 1698,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 13560,
+ "offset": 7679,
+ "length": 5,
+ "value": "false"
+ },
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
+ "kind": "BooleanLiteral",
+ "offset": 11659,
"length": 5,
"value": "false"
},
@@ -26463,28 +26699,28 @@
"value": "\"com.github\/kean\/nuke\/scan-number\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9407,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9412,
"length": 1,
"value": "0"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9465,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9470,
"length": 1,
@@ -26500,16 +26736,16 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "BooleanLiteral",
- "offset": 767,
+ "offset": 366,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "IntegerLiteral",
- "offset": 979,
+ "offset": 578,
"length": 1,
- "value": "0"
+ "value": "1"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
@@ -26521,7 +26757,7 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
"kind": "IntegerLiteral",
- "offset": 2679,
+ "offset": 2725,
"length": 1,
"value": "0"
},
@@ -26661,7 +26897,7 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Graphics.swift",
"kind": "IntegerLiteral",
- "offset": 11108,
+ "offset": 11625,
"length": 1,
"value": "1"
},
@@ -27093,152 +27329,145 @@
"value": "\"public.mov\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2292,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2351,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 3765,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4136,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4577,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4865,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5219,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5442,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6087,
+ "offset": 6288,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6143,
+ "offset": 6345,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6189,
+ "offset": 6391,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6382,
+ "offset": 6584,
"length": 1,
"value": "6"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6643,
+ "offset": 6845,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6800,
+ "offset": 7002,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6957,
+ "offset": 7159,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7118,
+ "offset": 7320,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7285,
+ "offset": 7487,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "StringLiteral",
- "offset": 8908,
+ "offset": 9110,
"length": 32,
"value": "\"com.github.kean.Nuke.DataCache\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1554,
+ "offset": 10915,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1564,
+ "offset": 10925,
"length": 1,
"value": "0"
},
- {
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
- "kind": "BooleanLiteral",
- "offset": 2806,
- "length": 5,
- "value": "false"
- },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/RateLimiter.swift",
"kind": "BooleanLiteral",
@@ -27284,23 +27513,23 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "BooleanLiteral",
- "offset": 3056,
+ "offset": 3211,
"length": 4,
"value": "true"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "Dictionary",
- "offset": 3144,
+ "offset": 3300,
"length": 3,
"value": "[]"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/ImagePipelineTask.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/AsyncPipelineTask.swift",
"kind": "StringLiteral",
"offset": 264,
"length": 17,
- "value": "\"Nuke.ImagePipelineTask\""
+ "value": "\"Nuke.AsyncPipelineTask\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Prefetching\/ImagePrefetcher.swift",
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.private.swiftinterface b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.private.swiftinterface
index 949866a..f39f407 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.private.swiftinterface
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.private.swiftinterface
@@ -129,8 +129,8 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
public init(configuration: Nuke.ImagePipeline.Configuration = Configuration(), delegate: (any Nuke.ImagePipelineDelegate)? = nil)
convenience public init(delegate: (any Nuke.ImagePipelineDelegate)? = nil, _ configure: (inout Nuke.ImagePipeline.Configuration) -> Swift.Void)
final public func invalidate()
- final public func imageTask(with url: Foundation.URL) -> Nuke.AsyncImageTask
- final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.AsyncImageTask
+ final public func imageTask(with url: Foundation.URL) -> Nuke.ImageTask
+ final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.ImageTask
#if compiler(>=5.3) && $AsyncAwait
final public func image(for url: Foundation.URL) async throws -> Nuke.PlatformImage
#endif
@@ -138,11 +138,6 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
final public func image(for request: Nuke.ImageRequest) async throws -> Nuke.PlatformImage
#endif
#if compiler(>=5.3) && $AsyncAwait
- @discardableResult
- final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
- #endif
- #if compiler(>=5.3) && $AsyncAwait
- @discardableResult
final public func data(for request: Nuke.ImageRequest) async throws -> (Foundation.Data, Foundation.URLResponse?)
#endif
@discardableResult
@@ -152,13 +147,19 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
@discardableResult
final public func loadImage(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ response: Nuke.ImageResponse?, _ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (_ result: Swift.Result) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
- @discardableResult
final public func loadData(with request: Nuke.ImageRequest, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress progressHandler: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
final public func imagePublisher(with url: Foundation.URL) -> Combine.AnyPublisher
final public func imagePublisher(with request: Nuke.ImageRequest) -> Combine.AnyPublisher
+ @available(*, deprecated, message: "Please the variant variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ #if compiler(>=5.3) && $AsyncAwait
+ @available(*, deprecated, message: "Please the variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
+ #endif
}
final public class DataLoader : Nuke.DataLoading, @unchecked Swift.Sendable {
final public let session: Foundation.URLSession
@@ -360,6 +361,7 @@ public protocol ImagePipelineDelegate : AnyObject, Swift.Sendable {
func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -377,6 +379,7 @@ extension Nuke.ImagePipelineDelegate {
public func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
public func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
public func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ public func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
public func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -446,26 +449,6 @@ extension Nuke.ImageProcessors {
}
}
}
-@_hasMissingDesignatedInitializers final public class AsyncImageTask : Swift.Sendable {
- final public var priority: Nuke.ImageRequest.Priority {
- get
- set
- }
- #if compiler(>=5.3) && $EffectfulProp
- final public var image: Nuke.PlatformImage {
- get async throws
- }
- #endif
- #if compiler(>=5.3) && $EffectfulProp
- final public var response: Nuke.ImageResponse {
- get async throws
- }
- #endif
- final public let previews: _Concurrency.AsyncStream
- final public let progress: _Concurrency.AsyncStream
- final public func cancel()
- @objc deinit
-}
extension Nuke.ImageProcessors {
public struct GaussianBlur : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(radius: Swift.Int = 8)
@@ -751,7 +734,10 @@ extension Nuke.ImagePipeline {
public var isResumableDataEnabled: Swift.Bool
public var isLocalResourcesSupportEnabled: Swift.Bool
public var callbackQueue: Dispatch.DispatchQueue
- public static var isSignpostLoggingEnabled: Swift.Bool
+ public static var isSignpostLoggingEnabled: Swift.Bool {
+ get
+ set
+ }
public var dataLoadingQueue: Foundation.OperationQueue
@available(*, deprecated, message: "The pipeline now performs cache lookup on the internal queue, reducing the amount of context switching")
public var dataCachingQueue: Foundation.OperationQueue
@@ -787,7 +773,7 @@ extension Nuke.ImagePipeline {
get
set
}
- final public var progress: Nuke.ImageTask.Progress {
+ final public var currentProgress: Nuke.ImageTask.Progress {
get
}
public struct Progress : Swift.Hashable, Swift.Sendable {
@@ -816,6 +802,31 @@ extension Nuke.ImagePipeline {
get
}
}
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var image: Nuke.PlatformImage {
+ get async throws
+ }
+ #endif
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var response: Nuke.ImageResponse {
+ get async throws
+ }
+ #endif
+ final public var progress: _Concurrency.AsyncStream {
+ get
+ }
+ final public var previews: _Concurrency.AsyncStream {
+ get
+ }
+ final public var events: _Concurrency.AsyncStream {
+ get
+ }
+ public enum Event : Swift.Sendable {
+ case progress(Nuke.ImageTask.Progress)
+ case preview(Nuke.ImageResponse)
+ case cancelled
+ case finished(Swift.Result)
+ }
@objc deinit
final public func cancel()
final public func hash(into hasher: inout Swift.Hasher)
@@ -827,6 +838,8 @@ extension Nuke.ImagePipeline {
get
}
}
+@available(*, deprecated, renamed: "ImageTask", message: "Async/Await support was added directly to the existing `ImageTask` type")
+public typealias AsyncImageTask = Nuke.ImageTask
extension Nuke.ImageProcessors {
public struct Circle : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(border: Nuke.ImageProcessingOptions.Border? = nil)
@@ -882,7 +895,10 @@ extension Nuke.ImageProcessors {
public init(_ filter: CoreImage.CIFilter, identifier: Swift.String)
public func process(_ image: Nuke.PlatformImage) -> Nuke.PlatformImage?
public func process(_ container: Nuke.ImageContainer, context: Nuke.ImageProcessingContext) throws -> Nuke.ImageContainer
- public static var context: CoreImage.CIContext
+ public static var context: CoreImage.CIContext {
+ get
+ set
+ }
public static func apply(filter: CoreImage.CIFilter, to image: Nuke.PlatformImage) throws -> Nuke.PlatformImage
public var description: Swift.String {
get
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftdoc b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftdoc
index 29e268e..0179d8c 100644
Binary files a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftdoc and b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftdoc differ
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftinterface b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftinterface
index 949866a..f39f407 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftinterface
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftinterface
@@ -129,8 +129,8 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
public init(configuration: Nuke.ImagePipeline.Configuration = Configuration(), delegate: (any Nuke.ImagePipelineDelegate)? = nil)
convenience public init(delegate: (any Nuke.ImagePipelineDelegate)? = nil, _ configure: (inout Nuke.ImagePipeline.Configuration) -> Swift.Void)
final public func invalidate()
- final public func imageTask(with url: Foundation.URL) -> Nuke.AsyncImageTask
- final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.AsyncImageTask
+ final public func imageTask(with url: Foundation.URL) -> Nuke.ImageTask
+ final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.ImageTask
#if compiler(>=5.3) && $AsyncAwait
final public func image(for url: Foundation.URL) async throws -> Nuke.PlatformImage
#endif
@@ -138,11 +138,6 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
final public func image(for request: Nuke.ImageRequest) async throws -> Nuke.PlatformImage
#endif
#if compiler(>=5.3) && $AsyncAwait
- @discardableResult
- final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
- #endif
- #if compiler(>=5.3) && $AsyncAwait
- @discardableResult
final public func data(for request: Nuke.ImageRequest) async throws -> (Foundation.Data, Foundation.URLResponse?)
#endif
@discardableResult
@@ -152,13 +147,19 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
@discardableResult
final public func loadImage(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ response: Nuke.ImageResponse?, _ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (_ result: Swift.Result) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
- @discardableResult
final public func loadData(with request: Nuke.ImageRequest, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress progressHandler: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
final public func imagePublisher(with url: Foundation.URL) -> Combine.AnyPublisher
final public func imagePublisher(with request: Nuke.ImageRequest) -> Combine.AnyPublisher
+ @available(*, deprecated, message: "Please the variant variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ #if compiler(>=5.3) && $AsyncAwait
+ @available(*, deprecated, message: "Please the variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
+ #endif
}
final public class DataLoader : Nuke.DataLoading, @unchecked Swift.Sendable {
final public let session: Foundation.URLSession
@@ -360,6 +361,7 @@ public protocol ImagePipelineDelegate : AnyObject, Swift.Sendable {
func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -377,6 +379,7 @@ extension Nuke.ImagePipelineDelegate {
public func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
public func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
public func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ public func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
public func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -446,26 +449,6 @@ extension Nuke.ImageProcessors {
}
}
}
-@_hasMissingDesignatedInitializers final public class AsyncImageTask : Swift.Sendable {
- final public var priority: Nuke.ImageRequest.Priority {
- get
- set
- }
- #if compiler(>=5.3) && $EffectfulProp
- final public var image: Nuke.PlatformImage {
- get async throws
- }
- #endif
- #if compiler(>=5.3) && $EffectfulProp
- final public var response: Nuke.ImageResponse {
- get async throws
- }
- #endif
- final public let previews: _Concurrency.AsyncStream
- final public let progress: _Concurrency.AsyncStream
- final public func cancel()
- @objc deinit
-}
extension Nuke.ImageProcessors {
public struct GaussianBlur : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(radius: Swift.Int = 8)
@@ -751,7 +734,10 @@ extension Nuke.ImagePipeline {
public var isResumableDataEnabled: Swift.Bool
public var isLocalResourcesSupportEnabled: Swift.Bool
public var callbackQueue: Dispatch.DispatchQueue
- public static var isSignpostLoggingEnabled: Swift.Bool
+ public static var isSignpostLoggingEnabled: Swift.Bool {
+ get
+ set
+ }
public var dataLoadingQueue: Foundation.OperationQueue
@available(*, deprecated, message: "The pipeline now performs cache lookup on the internal queue, reducing the amount of context switching")
public var dataCachingQueue: Foundation.OperationQueue
@@ -787,7 +773,7 @@ extension Nuke.ImagePipeline {
get
set
}
- final public var progress: Nuke.ImageTask.Progress {
+ final public var currentProgress: Nuke.ImageTask.Progress {
get
}
public struct Progress : Swift.Hashable, Swift.Sendable {
@@ -816,6 +802,31 @@ extension Nuke.ImagePipeline {
get
}
}
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var image: Nuke.PlatformImage {
+ get async throws
+ }
+ #endif
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var response: Nuke.ImageResponse {
+ get async throws
+ }
+ #endif
+ final public var progress: _Concurrency.AsyncStream {
+ get
+ }
+ final public var previews: _Concurrency.AsyncStream {
+ get
+ }
+ final public var events: _Concurrency.AsyncStream {
+ get
+ }
+ public enum Event : Swift.Sendable {
+ case progress(Nuke.ImageTask.Progress)
+ case preview(Nuke.ImageResponse)
+ case cancelled
+ case finished(Swift.Result)
+ }
@objc deinit
final public func cancel()
final public func hash(into hasher: inout Swift.Hasher)
@@ -827,6 +838,8 @@ extension Nuke.ImagePipeline {
get
}
}
+@available(*, deprecated, renamed: "ImageTask", message: "Async/Await support was added directly to the existing `ImageTask` type")
+public typealias AsyncImageTask = Nuke.ImageTask
extension Nuke.ImageProcessors {
public struct Circle : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(border: Nuke.ImageProcessingOptions.Border? = nil)
@@ -882,7 +895,10 @@ extension Nuke.ImageProcessors {
public init(_ filter: CoreImage.CIFilter, identifier: Swift.String)
public func process(_ image: Nuke.PlatformImage) -> Nuke.PlatformImage?
public func process(_ container: Nuke.ImageContainer, context: Nuke.ImageProcessingContext) throws -> Nuke.ImageContainer
- public static var context: CoreImage.CIContext
+ public static var context: CoreImage.CIContext {
+ get
+ set
+ }
public static func apply(filter: CoreImage.CIFilter, to image: Nuke.PlatformImage) throws -> Nuke.PlatformImage
public var description: Swift.String {
get
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Nuke b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Nuke
index b9c4961..c2c62e2 100755
Binary files a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Nuke and b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Nuke differ
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Resources/Info.plist b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Resources/Info.plist
index ba3130e..22fedc1 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Resources/Info.plist
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Resources/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 12.6.0
+ 12.7.1
CFBundleSupportedPlatforms
MacOSX
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.abi.json b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.abi.json
index cb2a881..f57a7fb 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.abi.json
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.abi.json
@@ -1408,8 +1408,8 @@
},
{
"kind": "Import",
- "name": "AppKit.NSImage",
- "printedName": "AppKit.NSImage",
+ "name": "AppKit",
+ "printedName": "AppKit",
"declKind": "Import",
"moduleName": "Nuke"
},
@@ -3402,9 +3402,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3414,8 +3414,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3431,9 +3431,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3443,8 +3443,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3513,58 +3513,6 @@
"throwing": true,
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "data",
- "printedName": "data(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(Foundation.Data, Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "throwing": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "data",
@@ -3611,7 +3559,6 @@
"declAttributes": [
"Final",
"AccessControl",
- "DiscardableResult",
"RawDocComment"
],
"throwing": true,
@@ -3871,89 +3818,6 @@
],
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "loadData",
- "printedName": "loadData(with:completion:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageTask",
- "printedName": "Nuke.ImageTask",
- "usr": "s:4Nuke9ImageTaskC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Result",
- "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ],
- "usr": "s:s6ResultO"
- }
- ]
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "loadData",
@@ -4261,100 +4125,239 @@
"funcSelfKind": "NonMutating"
},
{
- "kind": "TypeDecl",
- "name": "Error",
- "printedName": "Error",
+ "kind": "Function",
+ "name": "loadData",
+ "printedName": "loadData(with:completion:)",
"children": [
{
- "kind": "Var",
- "name": "dataMissingInCache",
- "printedName": "dataMissingInCache",
- "children": [
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- },
- {
- "kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
- }
- ]
- }
- ],
- "declKind": "EnumElement",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
- "kind": "Var",
- "name": "dataLoadingFailed",
- "printedName": "dataLoadingFailed",
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
},
{
"kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(error: any Swift.Error)",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "any Swift.Error",
- "usr": "s:s5ErrorP"
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
}
- ]
+ ],
+ "usr": "s:Sq"
}
]
},
{
"kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
}
- ]
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "data",
+ "printedName": "data(for:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(Foundation.Data, Foundation.URLResponse?)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "throwing": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Error",
+ "printedName": "Error",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "dataMissingInCache",
+ "printedName": "dataMissingInCache",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "dataLoadingFailed",
+ "printedName": "dataLoadingFailed",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(error: any Swift.Error)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "any Swift.Error",
+ "usr": "s:s5ErrorP"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
}
],
"declKind": "EnumElement",
@@ -7293,12 +7296,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -7317,7 +7317,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -7342,7 +7341,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -12288,6 +12286,48 @@
"reqNewWitnessTableEntry": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "protocolReq": true,
+ "declAttributes": [
+ "RawDocComment"
+ ],
+ "reqNewWitnessTableEntry": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -12948,6 +12988,47 @@
"isFromExtension": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "isFromExtension": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -13705,37 +13786,84 @@
},
{
"kind": "Import",
- "name": "AppKit",
- "printedName": "AppKit",
+ "name": "Foundation",
+ "printedName": "Foundation",
"declKind": "Import",
- "moduleName": "Nuke"
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
},
{
- "kind": "TypeDecl",
- "name": "AsyncImageTask",
- "printedName": "AsyncImageTask",
- "children": [
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "CoreImage",
+ "printedName": "CoreImage",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "AppKit",
+ "printedName": "AppKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "DataCache",
+ "printedName": "DataCache",
+ "children": [
{
"kind": "Var",
- "name": "priority",
- "printedName": "priority",
+ "name": "sizeLimit",
+ "printedName": "sizeLimit",
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13744,15 +13872,16 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13770,15 +13899,16 @@
},
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13796,8 +13926,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -13809,25 +13939,28 @@
},
{
"kind": "Var",
- "name": "image",
- "printedName": "image",
+ "name": "path",
+ "printedName": "path",
"children": [
{
"kind": "TypeNominal",
- "name": "NSImage",
- "printedName": "AppKit.NSImage",
- "usr": "c:objc(cs)NSImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7NSImageCvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7NSImageCvp",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "isLet": true,
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13836,44 +13969,47 @@
"children": [
{
"kind": "TypeNominal",
- "name": "NSImage",
- "printedName": "AppKit.NSImage",
- "usr": "c:objc(cs)NSImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7NSImageCvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7NSImageCvg",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "response",
- "printedName": "response",
+ "name": "sweepInterval",
+ "printedName": "sweepInterval",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13882,120 +14018,94 @@
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "previews",
- "printedName": "previews",
- "children": [
+ },
{
- "kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
+ "kind": "Accessor",
+ "name": "Set",
+ "printedName": "Set()",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
- "usr": "s:ScS"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "set"
+ },
{
"kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "name": "Modify",
+ "printedName": "Modify()",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Void",
+ "printedName": "()"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
"Final"
],
- "accessorKind": "get"
+ "accessorKind": "_modify"
}
]
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "isCompressionEnabled",
+ "printedName": "isCompressionEnabled",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
"moduleName": "Nuke",
+ "deprecated": true,
"declAttributes": [
"Final",
- "HasStorage",
"AccessControl",
+ "Available",
"RawDocComment"
],
- "isLet": true,
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -14004,187 +14114,20 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "cancel",
- "printedName": "cancel()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke14AsyncImageTaskC6cancelyyF",
- "mangledName": "$s4Nuke14AsyncImageTaskC6cancelyyF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- }
- ],
- "declKind": "Class",
- "usr": "s:4Nuke14AsyncImageTaskC",
- "mangledName": "$s4Nuke14AsyncImageTaskC",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "hasMissingDesignatedInitializers": true,
- "conformances": [
- {
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- }
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "CoreImage",
- "printedName": "CoreImage",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "AppKit",
- "printedName": "AppKit",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "TypeDecl",
- "name": "DataCache",
- "printedName": "DataCache",
- "children": [
- {
- "kind": "Var",
- "name": "sizeLimit",
- "printedName": "sizeLimit",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
+ },
{
"kind": "Accessor",
"name": "Set",
@@ -14197,16 +14140,15 @@
},
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
@@ -14224,12 +14166,14 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
"moduleName": "Nuke",
+ "deprecated": true,
"implicit": true,
"declAttributes": [
- "Final"
+ "Final",
+ "Available"
],
"accessorKind": "_modify"
}
@@ -14237,21 +14181,22 @@
},
{
"kind": "Var",
- "name": "path",
- "printedName": "path",
+ "name": "queue",
+ "printedName": "queue",
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
"HasStorage",
"AccessControl",
@@ -14267,14 +14212,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -14285,253 +14230,68 @@
]
},
{
- "kind": "Var",
- "name": "sweepInterval",
- "printedName": "sweepInterval",
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(name:filenameGenerator:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
+ "name": "DataCache",
+ "printedName": "Nuke.DataCache",
+ "usr": "s:4Nuke9DataCacheC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.String) -> Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "usr": "s:Sq"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "hasDefaultArg": true
}
],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
+ "Convenience",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "isCompressionEnabled",
- "printedName": "isCompressionEnabled",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "moduleName": "Nuke",
- "deprecated": true,
- "declAttributes": [
- "Final",
- "AccessControl",
- "Available",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "moduleName": "Nuke",
- "deprecated": true,
- "implicit": true,
- "declAttributes": [
- "Final",
- "Available"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "queue",
- "printedName": "queue",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(name:filenameGenerator:)",
- "children": [
+ "throwing": true,
+ "init_kind": "Convenience"
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(path:filenameGenerator:)",
+ "children": [
{
"kind": "TypeNominal",
"name": "DataCache",
@@ -14540,9 +14300,9 @@
},
{
"kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
},
{
"kind": "TypeFunc",
@@ -14574,83 +14334,25 @@
}
],
"declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "Convenience",
"AccessControl",
"RawDocComment"
],
"throwing": true,
- "init_kind": "Convenience"
+ "init_kind": "Designated"
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(path:filenameGenerator:)",
+ "kind": "Function",
+ "name": "filename",
+ "printedName": "filename(for:)",
"children": [
{
"kind": "TypeNominal",
- "name": "DataCache",
- "printedName": "Nuke.DataCache",
- "usr": "s:4Nuke9DataCacheC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.String) -> Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "usr": "s:Sq"
- },
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "hasDefaultArg": true
- }
- ],
- "declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "throwing": true,
- "init_kind": "Designated"
- },
- {
- "kind": "Function",
- "name": "filename",
- "printedName": "filename(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
+ "name": "Optional",
+ "printedName": "Swift.String?",
"children": [
{
"kind": "TypeNominal",
@@ -18258,12 +17960,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -18282,7 +17981,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -18307,7 +18005,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -23203,6 +22900,20 @@
"RawDocComment"
]
},
+ {
+ "kind": "Import",
+ "name": "Combine",
+ "printedName": "Combine",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "AppKit",
+ "printedName": "AppKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
{
"kind": "TypeDecl",
"name": "ImageTask",
@@ -23400,23 +23111,366 @@
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "currentProgress",
+ "printedName": "currentProgress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Progress",
+ "printedName": "Progress",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "completed",
+ "printedName": "completed",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "total",
+ "printedName": "total",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "fraction",
+ "printedName": "fraction",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "moduleName": "Nuke",
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(completed:total:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "init_kind": "Designated"
+ },
+ {
+ "kind": "Var",
+ "name": "hashValue",
+ "printedName": "hashValue",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Function",
+ "name": "hash",
+ "printedName": "hash(into:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Hasher",
+ "printedName": "Swift.Hasher",
+ "paramValueOwnership": "InOut",
+ "usr": "s:s6HasherV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "moduleName": "Nuke",
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Struct",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "state",
+ "printedName": "state",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvp",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvp",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
- "SetterAccess",
"AccessControl",
"RawDocComment"
],
@@ -23428,14 +23482,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvg",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvg",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23446,173 +23500,160 @@
},
{
"kind": "TypeDecl",
- "name": "Progress",
- "printedName": "Progress",
+ "name": "State",
+ "printedName": "State",
"children": [
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "running",
+ "printedName": "running",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "total",
- "printedName": "total",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "fraction",
- "printedName": "fraction",
+ "name": "completed",
+ "printedName": "completed",
"children": [
{
- "kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "moduleName": "Nuke",
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(completed:total:)",
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
- "declKind": "Constructor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
"moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "init_kind": "Designated"
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
},
{
"kind": "Var",
@@ -23627,8 +23668,8 @@
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
"moduleName": "Nuke",
"implicit": true,
"accessors": [
@@ -23645,8 +23686,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
"moduleName": "Nuke",
"implicit": true,
"accessorKind": "get"
@@ -23672,29 +23713,140 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
"moduleName": "Nuke",
"implicit": true,
"funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Enum",
+ "usr": "s:4Nuke9ImageTaskC5StateO",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
},
{
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "image",
+ "printedName": "image",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "NSImage",
+ "printedName": "AppKit.NSImage",
+ "usr": "c:objc(cs)NSImage"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7NSImageCvp",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7NSImageCvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
+ "name": "NSImage",
+ "printedName": "AppKit.NSImage",
+ "usr": "c:objc(cs)NSImage"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7NSImageCvg",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7NSImageCvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "response",
+ "printedName": "response",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- },
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "progress",
+ "printedName": "progress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
{
"kind": "TypeNominal",
"name": "Progress",
@@ -23702,62 +23854,134 @@
"usr": "s:4Nuke9ImageTaskC8ProgressV"
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "usr": "s:ScS"
}
],
- "declKind": "Struct",
- "usr": "s:4Nuke9ImageTaskC8ProgressV",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
"moduleName": "Nuke",
"declAttributes": [
+ "Final",
"AccessControl",
"RawDocComment"
],
- "conformances": [
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
- },
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "previews",
+ "printedName": "previews",
+ "children": [
{
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- },
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "state",
- "printedName": "state",
+ "name": "events",
+ "printedName": "events",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -23772,14 +23996,22 @@
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23790,35 +24022,48 @@
},
{
"kind": "TypeDecl",
- "name": "State",
- "printedName": "State",
+ "name": "Event",
+ "printedName": "Event",
"children": [
{
"kind": "Var",
- "name": "running",
- "printedName": "running",
+ "name": "progress",
+ "printedName": "progress",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23826,8 +24071,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23835,30 +24080,43 @@
},
{
"kind": "Var",
- "name": "cancelled",
- "printedName": "cancelled",
+ "name": "preview",
+ "printedName": "preview",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageResponse) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageResponse) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23866,8 +24124,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23875,30 +24133,30 @@
},
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> Nuke.ImageTask.Event",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23906,113 +24164,84 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
]
},
- {
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Var",
- "name": "hashValue",
- "printedName": "hashValue",
+ "name": "finished",
+ "printedName": "finished",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
- "moduleName": "Nuke",
- "implicit": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Swift.Result) -> Nuke.ImageTask.Event",
"children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ },
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.Event.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "hash",
- "printedName": "hash(into:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Hasher",
- "printedName": "Swift.Hasher",
- "paramValueOwnership": "InOut",
- "usr": "s:s6HasherV"
+ ]
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
"moduleName": "Nuke",
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "declAttributes": [
+ "RawDocComment"
+ ]
}
],
"declKind": "Enum",
- "usr": "s:4Nuke9ImageTaskC5StateO",
- "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "usr": "s:4Nuke9ImageTaskC5EventO",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO",
"moduleName": "Nuke",
"declAttributes": [
"AccessControl",
@@ -24021,17 +24250,10 @@
"conformances": [
{
"kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
- },
- {
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
}
]
},
@@ -26157,14 +26379,14 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 917,
+ "offset": 979,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 965,
+ "offset": 1027,
"length": 15,
"value": "\"Image Loading\""
},
@@ -26175,31 +26397,45 @@
"length": 3,
"value": "0.8"
},
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Encoding\/ImageEncoders+ImageIO.swift",
+ "kind": "Dictionary",
+ "offset": 1032,
+ "length": 3,
+ "value": "[]"
+ },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "StringLiteral",
- "offset": 1395,
+ "offset": 1389,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 1486,
+ "offset": 1480,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "IntegerLiteral",
- "offset": 1704,
+ "offset": 1698,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 13560,
+ "offset": 7679,
+ "length": 5,
+ "value": "false"
+ },
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
+ "kind": "BooleanLiteral",
+ "offset": 11659,
"length": 5,
"value": "false"
},
@@ -26463,28 +26699,28 @@
"value": "\"com.github\/kean\/nuke\/scan-number\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9407,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9412,
"length": 1,
"value": "0"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9465,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9470,
"length": 1,
@@ -26500,16 +26736,16 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "BooleanLiteral",
- "offset": 767,
+ "offset": 366,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "IntegerLiteral",
- "offset": 979,
+ "offset": 578,
"length": 1,
- "value": "0"
+ "value": "1"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
@@ -26521,7 +26757,7 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
"kind": "IntegerLiteral",
- "offset": 2679,
+ "offset": 2725,
"length": 1,
"value": "0"
},
@@ -26661,7 +26897,7 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Graphics.swift",
"kind": "IntegerLiteral",
- "offset": 11108,
+ "offset": 11625,
"length": 1,
"value": "1"
},
@@ -27093,152 +27329,145 @@
"value": "\"public.mov\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2292,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2351,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 3765,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4136,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4577,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4865,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5219,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5442,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6087,
+ "offset": 6288,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6143,
+ "offset": 6345,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6189,
+ "offset": 6391,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6382,
+ "offset": 6584,
"length": 1,
"value": "6"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6643,
+ "offset": 6845,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6800,
+ "offset": 7002,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6957,
+ "offset": 7159,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7118,
+ "offset": 7320,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7285,
+ "offset": 7487,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "StringLiteral",
- "offset": 8908,
+ "offset": 9110,
"length": 32,
"value": "\"com.github.kean.Nuke.DataCache\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1554,
+ "offset": 10915,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1564,
+ "offset": 10925,
"length": 1,
"value": "0"
},
- {
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
- "kind": "BooleanLiteral",
- "offset": 2806,
- "length": 5,
- "value": "false"
- },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/RateLimiter.swift",
"kind": "BooleanLiteral",
@@ -27284,23 +27513,23 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "BooleanLiteral",
- "offset": 3056,
+ "offset": 3211,
"length": 4,
"value": "true"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "Dictionary",
- "offset": 3144,
+ "offset": 3300,
"length": 3,
"value": "[]"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/ImagePipelineTask.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/AsyncPipelineTask.swift",
"kind": "StringLiteral",
"offset": 264,
"length": 17,
- "value": "\"Nuke.ImagePipelineTask\""
+ "value": "\"Nuke.AsyncPipelineTask\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Prefetching\/ImagePrefetcher.swift",
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.private.swiftinterface b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.private.swiftinterface
index 7c02bd8..3cc159c 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.private.swiftinterface
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.private.swiftinterface
@@ -129,8 +129,8 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
public init(configuration: Nuke.ImagePipeline.Configuration = Configuration(), delegate: (any Nuke.ImagePipelineDelegate)? = nil)
convenience public init(delegate: (any Nuke.ImagePipelineDelegate)? = nil, _ configure: (inout Nuke.ImagePipeline.Configuration) -> Swift.Void)
final public func invalidate()
- final public func imageTask(with url: Foundation.URL) -> Nuke.AsyncImageTask
- final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.AsyncImageTask
+ final public func imageTask(with url: Foundation.URL) -> Nuke.ImageTask
+ final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.ImageTask
#if compiler(>=5.3) && $AsyncAwait
final public func image(for url: Foundation.URL) async throws -> Nuke.PlatformImage
#endif
@@ -138,11 +138,6 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
final public func image(for request: Nuke.ImageRequest) async throws -> Nuke.PlatformImage
#endif
#if compiler(>=5.3) && $AsyncAwait
- @discardableResult
- final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
- #endif
- #if compiler(>=5.3) && $AsyncAwait
- @discardableResult
final public func data(for request: Nuke.ImageRequest) async throws -> (Foundation.Data, Foundation.URLResponse?)
#endif
@discardableResult
@@ -152,13 +147,19 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
@discardableResult
final public func loadImage(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ response: Nuke.ImageResponse?, _ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (_ result: Swift.Result) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
- @discardableResult
final public func loadData(with request: Nuke.ImageRequest, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress progressHandler: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
final public func imagePublisher(with url: Foundation.URL) -> Combine.AnyPublisher
final public func imagePublisher(with request: Nuke.ImageRequest) -> Combine.AnyPublisher
+ @available(*, deprecated, message: "Please the variant variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ #if compiler(>=5.3) && $AsyncAwait
+ @available(*, deprecated, message: "Please the variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
+ #endif
}
final public class DataLoader : Nuke.DataLoading, @unchecked Swift.Sendable {
final public let session: Foundation.URLSession
@@ -360,6 +361,7 @@ public protocol ImagePipelineDelegate : AnyObject, Swift.Sendable {
func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -377,6 +379,7 @@ extension Nuke.ImagePipelineDelegate {
public func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
public func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
public func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ public func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
public func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -446,26 +449,6 @@ extension Nuke.ImageProcessors {
}
}
}
-@_hasMissingDesignatedInitializers final public class AsyncImageTask : Swift.Sendable {
- final public var priority: Nuke.ImageRequest.Priority {
- get
- set
- }
- #if compiler(>=5.3) && $EffectfulProp
- final public var image: Nuke.PlatformImage {
- get async throws
- }
- #endif
- #if compiler(>=5.3) && $EffectfulProp
- final public var response: Nuke.ImageResponse {
- get async throws
- }
- #endif
- final public let previews: _Concurrency.AsyncStream
- final public let progress: _Concurrency.AsyncStream
- final public func cancel()
- @objc deinit
-}
extension Nuke.ImageProcessors {
public struct GaussianBlur : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(radius: Swift.Int = 8)
@@ -751,7 +734,10 @@ extension Nuke.ImagePipeline {
public var isResumableDataEnabled: Swift.Bool
public var isLocalResourcesSupportEnabled: Swift.Bool
public var callbackQueue: Dispatch.DispatchQueue
- public static var isSignpostLoggingEnabled: Swift.Bool
+ public static var isSignpostLoggingEnabled: Swift.Bool {
+ get
+ set
+ }
public var dataLoadingQueue: Foundation.OperationQueue
@available(*, deprecated, message: "The pipeline now performs cache lookup on the internal queue, reducing the amount of context switching")
public var dataCachingQueue: Foundation.OperationQueue
@@ -787,7 +773,7 @@ extension Nuke.ImagePipeline {
get
set
}
- final public var progress: Nuke.ImageTask.Progress {
+ final public var currentProgress: Nuke.ImageTask.Progress {
get
}
public struct Progress : Swift.Hashable, Swift.Sendable {
@@ -816,6 +802,31 @@ extension Nuke.ImagePipeline {
get
}
}
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var image: Nuke.PlatformImage {
+ get async throws
+ }
+ #endif
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var response: Nuke.ImageResponse {
+ get async throws
+ }
+ #endif
+ final public var progress: _Concurrency.AsyncStream {
+ get
+ }
+ final public var previews: _Concurrency.AsyncStream {
+ get
+ }
+ final public var events: _Concurrency.AsyncStream {
+ get
+ }
+ public enum Event : Swift.Sendable {
+ case progress(Nuke.ImageTask.Progress)
+ case preview(Nuke.ImageResponse)
+ case cancelled
+ case finished(Swift.Result)
+ }
@objc deinit
final public func cancel()
final public func hash(into hasher: inout Swift.Hasher)
@@ -827,6 +838,8 @@ extension Nuke.ImagePipeline {
get
}
}
+@available(*, deprecated, renamed: "ImageTask", message: "Async/Await support was added directly to the existing `ImageTask` type")
+public typealias AsyncImageTask = Nuke.ImageTask
extension Nuke.ImageProcessors {
public struct Circle : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(border: Nuke.ImageProcessingOptions.Border? = nil)
@@ -882,7 +895,10 @@ extension Nuke.ImageProcessors {
public init(_ filter: CoreImage.CIFilter, identifier: Swift.String)
public func process(_ image: Nuke.PlatformImage) -> Nuke.PlatformImage?
public func process(_ container: Nuke.ImageContainer, context: Nuke.ImageProcessingContext) throws -> Nuke.ImageContainer
- public static var context: CoreImage.CIContext
+ public static var context: CoreImage.CIContext {
+ get
+ set
+ }
public static func apply(filter: CoreImage.CIFilter, to image: Nuke.PlatformImage) throws -> Nuke.PlatformImage
public var description: Swift.String {
get
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftdoc b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftdoc
index 9290089..6e86349 100644
Binary files a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftdoc and b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftdoc differ
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftinterface b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftinterface
index 7c02bd8..3cc159c 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftinterface
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/arm64-apple-macos.swiftinterface
@@ -129,8 +129,8 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
public init(configuration: Nuke.ImagePipeline.Configuration = Configuration(), delegate: (any Nuke.ImagePipelineDelegate)? = nil)
convenience public init(delegate: (any Nuke.ImagePipelineDelegate)? = nil, _ configure: (inout Nuke.ImagePipeline.Configuration) -> Swift.Void)
final public func invalidate()
- final public func imageTask(with url: Foundation.URL) -> Nuke.AsyncImageTask
- final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.AsyncImageTask
+ final public func imageTask(with url: Foundation.URL) -> Nuke.ImageTask
+ final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.ImageTask
#if compiler(>=5.3) && $AsyncAwait
final public func image(for url: Foundation.URL) async throws -> Nuke.PlatformImage
#endif
@@ -138,11 +138,6 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
final public func image(for request: Nuke.ImageRequest) async throws -> Nuke.PlatformImage
#endif
#if compiler(>=5.3) && $AsyncAwait
- @discardableResult
- final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
- #endif
- #if compiler(>=5.3) && $AsyncAwait
- @discardableResult
final public func data(for request: Nuke.ImageRequest) async throws -> (Foundation.Data, Foundation.URLResponse?)
#endif
@discardableResult
@@ -152,13 +147,19 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
@discardableResult
final public func loadImage(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ response: Nuke.ImageResponse?, _ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (_ result: Swift.Result) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
- @discardableResult
final public func loadData(with request: Nuke.ImageRequest, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress progressHandler: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
final public func imagePublisher(with url: Foundation.URL) -> Combine.AnyPublisher
final public func imagePublisher(with request: Nuke.ImageRequest) -> Combine.AnyPublisher
+ @available(*, deprecated, message: "Please the variant variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ #if compiler(>=5.3) && $AsyncAwait
+ @available(*, deprecated, message: "Please the variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
+ #endif
}
final public class DataLoader : Nuke.DataLoading, @unchecked Swift.Sendable {
final public let session: Foundation.URLSession
@@ -360,6 +361,7 @@ public protocol ImagePipelineDelegate : AnyObject, Swift.Sendable {
func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -377,6 +379,7 @@ extension Nuke.ImagePipelineDelegate {
public func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
public func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
public func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ public func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
public func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -446,26 +449,6 @@ extension Nuke.ImageProcessors {
}
}
}
-@_hasMissingDesignatedInitializers final public class AsyncImageTask : Swift.Sendable {
- final public var priority: Nuke.ImageRequest.Priority {
- get
- set
- }
- #if compiler(>=5.3) && $EffectfulProp
- final public var image: Nuke.PlatformImage {
- get async throws
- }
- #endif
- #if compiler(>=5.3) && $EffectfulProp
- final public var response: Nuke.ImageResponse {
- get async throws
- }
- #endif
- final public let previews: _Concurrency.AsyncStream
- final public let progress: _Concurrency.AsyncStream
- final public func cancel()
- @objc deinit
-}
extension Nuke.ImageProcessors {
public struct GaussianBlur : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(radius: Swift.Int = 8)
@@ -751,7 +734,10 @@ extension Nuke.ImagePipeline {
public var isResumableDataEnabled: Swift.Bool
public var isLocalResourcesSupportEnabled: Swift.Bool
public var callbackQueue: Dispatch.DispatchQueue
- public static var isSignpostLoggingEnabled: Swift.Bool
+ public static var isSignpostLoggingEnabled: Swift.Bool {
+ get
+ set
+ }
public var dataLoadingQueue: Foundation.OperationQueue
@available(*, deprecated, message: "The pipeline now performs cache lookup on the internal queue, reducing the amount of context switching")
public var dataCachingQueue: Foundation.OperationQueue
@@ -787,7 +773,7 @@ extension Nuke.ImagePipeline {
get
set
}
- final public var progress: Nuke.ImageTask.Progress {
+ final public var currentProgress: Nuke.ImageTask.Progress {
get
}
public struct Progress : Swift.Hashable, Swift.Sendable {
@@ -816,6 +802,31 @@ extension Nuke.ImagePipeline {
get
}
}
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var image: Nuke.PlatformImage {
+ get async throws
+ }
+ #endif
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var response: Nuke.ImageResponse {
+ get async throws
+ }
+ #endif
+ final public var progress: _Concurrency.AsyncStream {
+ get
+ }
+ final public var previews: _Concurrency.AsyncStream {
+ get
+ }
+ final public var events: _Concurrency.AsyncStream {
+ get
+ }
+ public enum Event : Swift.Sendable {
+ case progress(Nuke.ImageTask.Progress)
+ case preview(Nuke.ImageResponse)
+ case cancelled
+ case finished(Swift.Result)
+ }
@objc deinit
final public func cancel()
final public func hash(into hasher: inout Swift.Hasher)
@@ -827,6 +838,8 @@ extension Nuke.ImagePipeline {
get
}
}
+@available(*, deprecated, renamed: "ImageTask", message: "Async/Await support was added directly to the existing `ImageTask` type")
+public typealias AsyncImageTask = Nuke.ImageTask
extension Nuke.ImageProcessors {
public struct Circle : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(border: Nuke.ImageProcessingOptions.Border? = nil)
@@ -882,7 +895,10 @@ extension Nuke.ImageProcessors {
public init(_ filter: CoreImage.CIFilter, identifier: Swift.String)
public func process(_ image: Nuke.PlatformImage) -> Nuke.PlatformImage?
public func process(_ container: Nuke.ImageContainer, context: Nuke.ImageProcessingContext) throws -> Nuke.ImageContainer
- public static var context: CoreImage.CIContext
+ public static var context: CoreImage.CIContext {
+ get
+ set
+ }
public static func apply(filter: CoreImage.CIFilter, to image: Nuke.PlatformImage) throws -> Nuke.PlatformImage
public var description: Swift.String {
get
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.abi.json b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.abi.json
index cb2a881..f57a7fb 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.abi.json
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.abi.json
@@ -1408,8 +1408,8 @@
},
{
"kind": "Import",
- "name": "AppKit.NSImage",
- "printedName": "AppKit.NSImage",
+ "name": "AppKit",
+ "printedName": "AppKit",
"declKind": "Import",
"moduleName": "Nuke"
},
@@ -3402,9 +3402,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3414,8 +3414,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3431,9 +3431,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3443,8 +3443,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3513,58 +3513,6 @@
"throwing": true,
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "data",
- "printedName": "data(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(Foundation.Data, Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "throwing": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "data",
@@ -3611,7 +3559,6 @@
"declAttributes": [
"Final",
"AccessControl",
- "DiscardableResult",
"RawDocComment"
],
"throwing": true,
@@ -3871,89 +3818,6 @@
],
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "loadData",
- "printedName": "loadData(with:completion:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageTask",
- "printedName": "Nuke.ImageTask",
- "usr": "s:4Nuke9ImageTaskC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Result",
- "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ],
- "usr": "s:s6ResultO"
- }
- ]
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "loadData",
@@ -4261,100 +4125,239 @@
"funcSelfKind": "NonMutating"
},
{
- "kind": "TypeDecl",
- "name": "Error",
- "printedName": "Error",
+ "kind": "Function",
+ "name": "loadData",
+ "printedName": "loadData(with:completion:)",
"children": [
{
- "kind": "Var",
- "name": "dataMissingInCache",
- "printedName": "dataMissingInCache",
- "children": [
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- },
- {
- "kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
- }
- ]
- }
- ],
- "declKind": "EnumElement",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
- "kind": "Var",
- "name": "dataLoadingFailed",
- "printedName": "dataLoadingFailed",
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
},
{
"kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(error: any Swift.Error)",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "any Swift.Error",
- "usr": "s:s5ErrorP"
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
}
- ]
+ ],
+ "usr": "s:Sq"
}
]
},
{
"kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
}
- ]
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "data",
+ "printedName": "data(for:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(Foundation.Data, Foundation.URLResponse?)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "throwing": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Error",
+ "printedName": "Error",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "dataMissingInCache",
+ "printedName": "dataMissingInCache",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "dataLoadingFailed",
+ "printedName": "dataLoadingFailed",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(error: any Swift.Error)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "any Swift.Error",
+ "usr": "s:s5ErrorP"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
}
],
"declKind": "EnumElement",
@@ -7293,12 +7296,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -7317,7 +7317,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -7342,7 +7341,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -12288,6 +12286,48 @@
"reqNewWitnessTableEntry": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "protocolReq": true,
+ "declAttributes": [
+ "RawDocComment"
+ ],
+ "reqNewWitnessTableEntry": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -12948,6 +12988,47 @@
"isFromExtension": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "isFromExtension": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -13705,37 +13786,84 @@
},
{
"kind": "Import",
- "name": "AppKit",
- "printedName": "AppKit",
+ "name": "Foundation",
+ "printedName": "Foundation",
"declKind": "Import",
- "moduleName": "Nuke"
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
},
{
- "kind": "TypeDecl",
- "name": "AsyncImageTask",
- "printedName": "AsyncImageTask",
- "children": [
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "CoreImage",
+ "printedName": "CoreImage",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "AppKit",
+ "printedName": "AppKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "DataCache",
+ "printedName": "DataCache",
+ "children": [
{
"kind": "Var",
- "name": "priority",
- "printedName": "priority",
+ "name": "sizeLimit",
+ "printedName": "sizeLimit",
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13744,15 +13872,16 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13770,15 +13899,16 @@
},
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13796,8 +13926,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -13809,25 +13939,28 @@
},
{
"kind": "Var",
- "name": "image",
- "printedName": "image",
+ "name": "path",
+ "printedName": "path",
"children": [
{
"kind": "TypeNominal",
- "name": "NSImage",
- "printedName": "AppKit.NSImage",
- "usr": "c:objc(cs)NSImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7NSImageCvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7NSImageCvp",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "isLet": true,
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13836,44 +13969,47 @@
"children": [
{
"kind": "TypeNominal",
- "name": "NSImage",
- "printedName": "AppKit.NSImage",
- "usr": "c:objc(cs)NSImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7NSImageCvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7NSImageCvg",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "response",
- "printedName": "response",
+ "name": "sweepInterval",
+ "printedName": "sweepInterval",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13882,120 +14018,94 @@
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "previews",
- "printedName": "previews",
- "children": [
+ },
{
- "kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
+ "kind": "Accessor",
+ "name": "Set",
+ "printedName": "Set()",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
- "usr": "s:ScS"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "set"
+ },
{
"kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "name": "Modify",
+ "printedName": "Modify()",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Void",
+ "printedName": "()"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
"Final"
],
- "accessorKind": "get"
+ "accessorKind": "_modify"
}
]
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "isCompressionEnabled",
+ "printedName": "isCompressionEnabled",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
"moduleName": "Nuke",
+ "deprecated": true,
"declAttributes": [
"Final",
- "HasStorage",
"AccessControl",
+ "Available",
"RawDocComment"
],
- "isLet": true,
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -14004,187 +14114,20 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "cancel",
- "printedName": "cancel()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke14AsyncImageTaskC6cancelyyF",
- "mangledName": "$s4Nuke14AsyncImageTaskC6cancelyyF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- }
- ],
- "declKind": "Class",
- "usr": "s:4Nuke14AsyncImageTaskC",
- "mangledName": "$s4Nuke14AsyncImageTaskC",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "hasMissingDesignatedInitializers": true,
- "conformances": [
- {
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- }
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "CoreImage",
- "printedName": "CoreImage",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "AppKit",
- "printedName": "AppKit",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "TypeDecl",
- "name": "DataCache",
- "printedName": "DataCache",
- "children": [
- {
- "kind": "Var",
- "name": "sizeLimit",
- "printedName": "sizeLimit",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
+ },
{
"kind": "Accessor",
"name": "Set",
@@ -14197,16 +14140,15 @@
},
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
@@ -14224,12 +14166,14 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
"moduleName": "Nuke",
+ "deprecated": true,
"implicit": true,
"declAttributes": [
- "Final"
+ "Final",
+ "Available"
],
"accessorKind": "_modify"
}
@@ -14237,21 +14181,22 @@
},
{
"kind": "Var",
- "name": "path",
- "printedName": "path",
+ "name": "queue",
+ "printedName": "queue",
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
"HasStorage",
"AccessControl",
@@ -14267,14 +14212,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -14285,253 +14230,68 @@
]
},
{
- "kind": "Var",
- "name": "sweepInterval",
- "printedName": "sweepInterval",
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(name:filenameGenerator:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
+ "name": "DataCache",
+ "printedName": "Nuke.DataCache",
+ "usr": "s:4Nuke9DataCacheC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.String) -> Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "usr": "s:Sq"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "hasDefaultArg": true
}
],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
+ "Convenience",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "isCompressionEnabled",
- "printedName": "isCompressionEnabled",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "moduleName": "Nuke",
- "deprecated": true,
- "declAttributes": [
- "Final",
- "AccessControl",
- "Available",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "moduleName": "Nuke",
- "deprecated": true,
- "implicit": true,
- "declAttributes": [
- "Final",
- "Available"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "queue",
- "printedName": "queue",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(name:filenameGenerator:)",
- "children": [
+ "throwing": true,
+ "init_kind": "Convenience"
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(path:filenameGenerator:)",
+ "children": [
{
"kind": "TypeNominal",
"name": "DataCache",
@@ -14540,9 +14300,9 @@
},
{
"kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
},
{
"kind": "TypeFunc",
@@ -14574,83 +14334,25 @@
}
],
"declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "Convenience",
"AccessControl",
"RawDocComment"
],
"throwing": true,
- "init_kind": "Convenience"
+ "init_kind": "Designated"
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(path:filenameGenerator:)",
+ "kind": "Function",
+ "name": "filename",
+ "printedName": "filename(for:)",
"children": [
{
"kind": "TypeNominal",
- "name": "DataCache",
- "printedName": "Nuke.DataCache",
- "usr": "s:4Nuke9DataCacheC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.String) -> Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "usr": "s:Sq"
- },
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "hasDefaultArg": true
- }
- ],
- "declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "throwing": true,
- "init_kind": "Designated"
- },
- {
- "kind": "Function",
- "name": "filename",
- "printedName": "filename(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
+ "name": "Optional",
+ "printedName": "Swift.String?",
"children": [
{
"kind": "TypeNominal",
@@ -18258,12 +17960,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -18282,7 +17981,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -18307,7 +18005,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -23203,6 +22900,20 @@
"RawDocComment"
]
},
+ {
+ "kind": "Import",
+ "name": "Combine",
+ "printedName": "Combine",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "AppKit",
+ "printedName": "AppKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
{
"kind": "TypeDecl",
"name": "ImageTask",
@@ -23400,23 +23111,366 @@
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "currentProgress",
+ "printedName": "currentProgress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Progress",
+ "printedName": "Progress",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "completed",
+ "printedName": "completed",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "total",
+ "printedName": "total",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "fraction",
+ "printedName": "fraction",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "moduleName": "Nuke",
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(completed:total:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "init_kind": "Designated"
+ },
+ {
+ "kind": "Var",
+ "name": "hashValue",
+ "printedName": "hashValue",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Function",
+ "name": "hash",
+ "printedName": "hash(into:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Hasher",
+ "printedName": "Swift.Hasher",
+ "paramValueOwnership": "InOut",
+ "usr": "s:s6HasherV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "moduleName": "Nuke",
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Struct",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "state",
+ "printedName": "state",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvp",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvp",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
- "SetterAccess",
"AccessControl",
"RawDocComment"
],
@@ -23428,14 +23482,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvg",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvg",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23446,173 +23500,160 @@
},
{
"kind": "TypeDecl",
- "name": "Progress",
- "printedName": "Progress",
+ "name": "State",
+ "printedName": "State",
"children": [
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "running",
+ "printedName": "running",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "total",
- "printedName": "total",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "fraction",
- "printedName": "fraction",
+ "name": "completed",
+ "printedName": "completed",
"children": [
{
- "kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "moduleName": "Nuke",
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(completed:total:)",
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
- "declKind": "Constructor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
"moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "init_kind": "Designated"
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
},
{
"kind": "Var",
@@ -23627,8 +23668,8 @@
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
"moduleName": "Nuke",
"implicit": true,
"accessors": [
@@ -23645,8 +23686,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
"moduleName": "Nuke",
"implicit": true,
"accessorKind": "get"
@@ -23672,29 +23713,140 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
"moduleName": "Nuke",
"implicit": true,
"funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Enum",
+ "usr": "s:4Nuke9ImageTaskC5StateO",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
},
{
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "image",
+ "printedName": "image",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "NSImage",
+ "printedName": "AppKit.NSImage",
+ "usr": "c:objc(cs)NSImage"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7NSImageCvp",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7NSImageCvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
+ "name": "NSImage",
+ "printedName": "AppKit.NSImage",
+ "usr": "c:objc(cs)NSImage"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7NSImageCvg",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7NSImageCvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "response",
+ "printedName": "response",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- },
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "progress",
+ "printedName": "progress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
{
"kind": "TypeNominal",
"name": "Progress",
@@ -23702,62 +23854,134 @@
"usr": "s:4Nuke9ImageTaskC8ProgressV"
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "usr": "s:ScS"
}
],
- "declKind": "Struct",
- "usr": "s:4Nuke9ImageTaskC8ProgressV",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
"moduleName": "Nuke",
"declAttributes": [
+ "Final",
"AccessControl",
"RawDocComment"
],
- "conformances": [
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
- },
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "previews",
+ "printedName": "previews",
+ "children": [
{
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- },
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "state",
- "printedName": "state",
+ "name": "events",
+ "printedName": "events",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -23772,14 +23996,22 @@
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23790,35 +24022,48 @@
},
{
"kind": "TypeDecl",
- "name": "State",
- "printedName": "State",
+ "name": "Event",
+ "printedName": "Event",
"children": [
{
"kind": "Var",
- "name": "running",
- "printedName": "running",
+ "name": "progress",
+ "printedName": "progress",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23826,8 +24071,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23835,30 +24080,43 @@
},
{
"kind": "Var",
- "name": "cancelled",
- "printedName": "cancelled",
+ "name": "preview",
+ "printedName": "preview",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageResponse) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageResponse) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23866,8 +24124,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23875,30 +24133,30 @@
},
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> Nuke.ImageTask.Event",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23906,113 +24164,84 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
]
},
- {
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Var",
- "name": "hashValue",
- "printedName": "hashValue",
+ "name": "finished",
+ "printedName": "finished",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
- "moduleName": "Nuke",
- "implicit": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Swift.Result) -> Nuke.ImageTask.Event",
"children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ },
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.Event.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "hash",
- "printedName": "hash(into:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Hasher",
- "printedName": "Swift.Hasher",
- "paramValueOwnership": "InOut",
- "usr": "s:s6HasherV"
+ ]
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
"moduleName": "Nuke",
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "declAttributes": [
+ "RawDocComment"
+ ]
}
],
"declKind": "Enum",
- "usr": "s:4Nuke9ImageTaskC5StateO",
- "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "usr": "s:4Nuke9ImageTaskC5EventO",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO",
"moduleName": "Nuke",
"declAttributes": [
"AccessControl",
@@ -24021,17 +24250,10 @@
"conformances": [
{
"kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
- },
- {
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
}
]
},
@@ -26157,14 +26379,14 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 917,
+ "offset": 979,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 965,
+ "offset": 1027,
"length": 15,
"value": "\"Image Loading\""
},
@@ -26175,31 +26397,45 @@
"length": 3,
"value": "0.8"
},
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Encoding\/ImageEncoders+ImageIO.swift",
+ "kind": "Dictionary",
+ "offset": 1032,
+ "length": 3,
+ "value": "[]"
+ },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "StringLiteral",
- "offset": 1395,
+ "offset": 1389,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 1486,
+ "offset": 1480,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "IntegerLiteral",
- "offset": 1704,
+ "offset": 1698,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 13560,
+ "offset": 7679,
+ "length": 5,
+ "value": "false"
+ },
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
+ "kind": "BooleanLiteral",
+ "offset": 11659,
"length": 5,
"value": "false"
},
@@ -26463,28 +26699,28 @@
"value": "\"com.github\/kean\/nuke\/scan-number\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9407,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9412,
"length": 1,
"value": "0"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9465,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9470,
"length": 1,
@@ -26500,16 +26736,16 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "BooleanLiteral",
- "offset": 767,
+ "offset": 366,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "IntegerLiteral",
- "offset": 979,
+ "offset": 578,
"length": 1,
- "value": "0"
+ "value": "1"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
@@ -26521,7 +26757,7 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
"kind": "IntegerLiteral",
- "offset": 2679,
+ "offset": 2725,
"length": 1,
"value": "0"
},
@@ -26661,7 +26897,7 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Graphics.swift",
"kind": "IntegerLiteral",
- "offset": 11108,
+ "offset": 11625,
"length": 1,
"value": "1"
},
@@ -27093,152 +27329,145 @@
"value": "\"public.mov\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2292,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2351,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 3765,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4136,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4577,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4865,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5219,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5442,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6087,
+ "offset": 6288,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6143,
+ "offset": 6345,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6189,
+ "offset": 6391,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6382,
+ "offset": 6584,
"length": 1,
"value": "6"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6643,
+ "offset": 6845,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6800,
+ "offset": 7002,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6957,
+ "offset": 7159,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7118,
+ "offset": 7320,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7285,
+ "offset": 7487,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "StringLiteral",
- "offset": 8908,
+ "offset": 9110,
"length": 32,
"value": "\"com.github.kean.Nuke.DataCache\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1554,
+ "offset": 10915,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1564,
+ "offset": 10925,
"length": 1,
"value": "0"
},
- {
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
- "kind": "BooleanLiteral",
- "offset": 2806,
- "length": 5,
- "value": "false"
- },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/RateLimiter.swift",
"kind": "BooleanLiteral",
@@ -27284,23 +27513,23 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "BooleanLiteral",
- "offset": 3056,
+ "offset": 3211,
"length": 4,
"value": "true"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "Dictionary",
- "offset": 3144,
+ "offset": 3300,
"length": 3,
"value": "[]"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/ImagePipelineTask.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/AsyncPipelineTask.swift",
"kind": "StringLiteral",
"offset": 264,
"length": 17,
- "value": "\"Nuke.ImagePipelineTask\""
+ "value": "\"Nuke.AsyncPipelineTask\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Prefetching\/ImagePrefetcher.swift",
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.private.swiftinterface b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.private.swiftinterface
index 949866a..f39f407 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.private.swiftinterface
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.private.swiftinterface
@@ -129,8 +129,8 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
public init(configuration: Nuke.ImagePipeline.Configuration = Configuration(), delegate: (any Nuke.ImagePipelineDelegate)? = nil)
convenience public init(delegate: (any Nuke.ImagePipelineDelegate)? = nil, _ configure: (inout Nuke.ImagePipeline.Configuration) -> Swift.Void)
final public func invalidate()
- final public func imageTask(with url: Foundation.URL) -> Nuke.AsyncImageTask
- final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.AsyncImageTask
+ final public func imageTask(with url: Foundation.URL) -> Nuke.ImageTask
+ final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.ImageTask
#if compiler(>=5.3) && $AsyncAwait
final public func image(for url: Foundation.URL) async throws -> Nuke.PlatformImage
#endif
@@ -138,11 +138,6 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
final public func image(for request: Nuke.ImageRequest) async throws -> Nuke.PlatformImage
#endif
#if compiler(>=5.3) && $AsyncAwait
- @discardableResult
- final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
- #endif
- #if compiler(>=5.3) && $AsyncAwait
- @discardableResult
final public func data(for request: Nuke.ImageRequest) async throws -> (Foundation.Data, Foundation.URLResponse?)
#endif
@discardableResult
@@ -152,13 +147,19 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
@discardableResult
final public func loadImage(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ response: Nuke.ImageResponse?, _ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (_ result: Swift.Result) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
- @discardableResult
final public func loadData(with request: Nuke.ImageRequest, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress progressHandler: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
final public func imagePublisher(with url: Foundation.URL) -> Combine.AnyPublisher
final public func imagePublisher(with request: Nuke.ImageRequest) -> Combine.AnyPublisher
+ @available(*, deprecated, message: "Please the variant variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ #if compiler(>=5.3) && $AsyncAwait
+ @available(*, deprecated, message: "Please the variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
+ #endif
}
final public class DataLoader : Nuke.DataLoading, @unchecked Swift.Sendable {
final public let session: Foundation.URLSession
@@ -360,6 +361,7 @@ public protocol ImagePipelineDelegate : AnyObject, Swift.Sendable {
func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -377,6 +379,7 @@ extension Nuke.ImagePipelineDelegate {
public func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
public func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
public func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ public func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
public func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -446,26 +449,6 @@ extension Nuke.ImageProcessors {
}
}
}
-@_hasMissingDesignatedInitializers final public class AsyncImageTask : Swift.Sendable {
- final public var priority: Nuke.ImageRequest.Priority {
- get
- set
- }
- #if compiler(>=5.3) && $EffectfulProp
- final public var image: Nuke.PlatformImage {
- get async throws
- }
- #endif
- #if compiler(>=5.3) && $EffectfulProp
- final public var response: Nuke.ImageResponse {
- get async throws
- }
- #endif
- final public let previews: _Concurrency.AsyncStream
- final public let progress: _Concurrency.AsyncStream
- final public func cancel()
- @objc deinit
-}
extension Nuke.ImageProcessors {
public struct GaussianBlur : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(radius: Swift.Int = 8)
@@ -751,7 +734,10 @@ extension Nuke.ImagePipeline {
public var isResumableDataEnabled: Swift.Bool
public var isLocalResourcesSupportEnabled: Swift.Bool
public var callbackQueue: Dispatch.DispatchQueue
- public static var isSignpostLoggingEnabled: Swift.Bool
+ public static var isSignpostLoggingEnabled: Swift.Bool {
+ get
+ set
+ }
public var dataLoadingQueue: Foundation.OperationQueue
@available(*, deprecated, message: "The pipeline now performs cache lookup on the internal queue, reducing the amount of context switching")
public var dataCachingQueue: Foundation.OperationQueue
@@ -787,7 +773,7 @@ extension Nuke.ImagePipeline {
get
set
}
- final public var progress: Nuke.ImageTask.Progress {
+ final public var currentProgress: Nuke.ImageTask.Progress {
get
}
public struct Progress : Swift.Hashable, Swift.Sendable {
@@ -816,6 +802,31 @@ extension Nuke.ImagePipeline {
get
}
}
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var image: Nuke.PlatformImage {
+ get async throws
+ }
+ #endif
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var response: Nuke.ImageResponse {
+ get async throws
+ }
+ #endif
+ final public var progress: _Concurrency.AsyncStream {
+ get
+ }
+ final public var previews: _Concurrency.AsyncStream {
+ get
+ }
+ final public var events: _Concurrency.AsyncStream {
+ get
+ }
+ public enum Event : Swift.Sendable {
+ case progress(Nuke.ImageTask.Progress)
+ case preview(Nuke.ImageResponse)
+ case cancelled
+ case finished(Swift.Result)
+ }
@objc deinit
final public func cancel()
final public func hash(into hasher: inout Swift.Hasher)
@@ -827,6 +838,8 @@ extension Nuke.ImagePipeline {
get
}
}
+@available(*, deprecated, renamed: "ImageTask", message: "Async/Await support was added directly to the existing `ImageTask` type")
+public typealias AsyncImageTask = Nuke.ImageTask
extension Nuke.ImageProcessors {
public struct Circle : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(border: Nuke.ImageProcessingOptions.Border? = nil)
@@ -882,7 +895,10 @@ extension Nuke.ImageProcessors {
public init(_ filter: CoreImage.CIFilter, identifier: Swift.String)
public func process(_ image: Nuke.PlatformImage) -> Nuke.PlatformImage?
public func process(_ container: Nuke.ImageContainer, context: Nuke.ImageProcessingContext) throws -> Nuke.ImageContainer
- public static var context: CoreImage.CIContext
+ public static var context: CoreImage.CIContext {
+ get
+ set
+ }
public static func apply(filter: CoreImage.CIFilter, to image: Nuke.PlatformImage) throws -> Nuke.PlatformImage
public var description: Swift.String {
get
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftdoc b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftdoc
index 29e268e..0179d8c 100644
Binary files a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftdoc and b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftdoc differ
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftinterface b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftinterface
index 949866a..f39f407 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftinterface
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftinterface
@@ -129,8 +129,8 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
public init(configuration: Nuke.ImagePipeline.Configuration = Configuration(), delegate: (any Nuke.ImagePipelineDelegate)? = nil)
convenience public init(delegate: (any Nuke.ImagePipelineDelegate)? = nil, _ configure: (inout Nuke.ImagePipeline.Configuration) -> Swift.Void)
final public func invalidate()
- final public func imageTask(with url: Foundation.URL) -> Nuke.AsyncImageTask
- final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.AsyncImageTask
+ final public func imageTask(with url: Foundation.URL) -> Nuke.ImageTask
+ final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.ImageTask
#if compiler(>=5.3) && $AsyncAwait
final public func image(for url: Foundation.URL) async throws -> Nuke.PlatformImage
#endif
@@ -138,11 +138,6 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
final public func image(for request: Nuke.ImageRequest) async throws -> Nuke.PlatformImage
#endif
#if compiler(>=5.3) && $AsyncAwait
- @discardableResult
- final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
- #endif
- #if compiler(>=5.3) && $AsyncAwait
- @discardableResult
final public func data(for request: Nuke.ImageRequest) async throws -> (Foundation.Data, Foundation.URLResponse?)
#endif
@discardableResult
@@ -152,13 +147,19 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
@discardableResult
final public func loadImage(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ response: Nuke.ImageResponse?, _ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (_ result: Swift.Result) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
- @discardableResult
final public func loadData(with request: Nuke.ImageRequest, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress progressHandler: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
final public func imagePublisher(with url: Foundation.URL) -> Combine.AnyPublisher
final public func imagePublisher(with request: Nuke.ImageRequest) -> Combine.AnyPublisher
+ @available(*, deprecated, message: "Please the variant variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ #if compiler(>=5.3) && $AsyncAwait
+ @available(*, deprecated, message: "Please the variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
+ #endif
}
final public class DataLoader : Nuke.DataLoading, @unchecked Swift.Sendable {
final public let session: Foundation.URLSession
@@ -360,6 +361,7 @@ public protocol ImagePipelineDelegate : AnyObject, Swift.Sendable {
func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -377,6 +379,7 @@ extension Nuke.ImagePipelineDelegate {
public func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
public func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
public func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ public func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
public func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -446,26 +449,6 @@ extension Nuke.ImageProcessors {
}
}
}
-@_hasMissingDesignatedInitializers final public class AsyncImageTask : Swift.Sendable {
- final public var priority: Nuke.ImageRequest.Priority {
- get
- set
- }
- #if compiler(>=5.3) && $EffectfulProp
- final public var image: Nuke.PlatformImage {
- get async throws
- }
- #endif
- #if compiler(>=5.3) && $EffectfulProp
- final public var response: Nuke.ImageResponse {
- get async throws
- }
- #endif
- final public let previews: _Concurrency.AsyncStream
- final public let progress: _Concurrency.AsyncStream
- final public func cancel()
- @objc deinit
-}
extension Nuke.ImageProcessors {
public struct GaussianBlur : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(radius: Swift.Int = 8)
@@ -751,7 +734,10 @@ extension Nuke.ImagePipeline {
public var isResumableDataEnabled: Swift.Bool
public var isLocalResourcesSupportEnabled: Swift.Bool
public var callbackQueue: Dispatch.DispatchQueue
- public static var isSignpostLoggingEnabled: Swift.Bool
+ public static var isSignpostLoggingEnabled: Swift.Bool {
+ get
+ set
+ }
public var dataLoadingQueue: Foundation.OperationQueue
@available(*, deprecated, message: "The pipeline now performs cache lookup on the internal queue, reducing the amount of context switching")
public var dataCachingQueue: Foundation.OperationQueue
@@ -787,7 +773,7 @@ extension Nuke.ImagePipeline {
get
set
}
- final public var progress: Nuke.ImageTask.Progress {
+ final public var currentProgress: Nuke.ImageTask.Progress {
get
}
public struct Progress : Swift.Hashable, Swift.Sendable {
@@ -816,6 +802,31 @@ extension Nuke.ImagePipeline {
get
}
}
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var image: Nuke.PlatformImage {
+ get async throws
+ }
+ #endif
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var response: Nuke.ImageResponse {
+ get async throws
+ }
+ #endif
+ final public var progress: _Concurrency.AsyncStream {
+ get
+ }
+ final public var previews: _Concurrency.AsyncStream {
+ get
+ }
+ final public var events: _Concurrency.AsyncStream {
+ get
+ }
+ public enum Event : Swift.Sendable {
+ case progress(Nuke.ImageTask.Progress)
+ case preview(Nuke.ImageResponse)
+ case cancelled
+ case finished(Swift.Result)
+ }
@objc deinit
final public func cancel()
final public func hash(into hasher: inout Swift.Hasher)
@@ -827,6 +838,8 @@ extension Nuke.ImagePipeline {
get
}
}
+@available(*, deprecated, renamed: "ImageTask", message: "Async/Await support was added directly to the existing `ImageTask` type")
+public typealias AsyncImageTask = Nuke.ImageTask
extension Nuke.ImageProcessors {
public struct Circle : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(border: Nuke.ImageProcessingOptions.Border? = nil)
@@ -882,7 +895,10 @@ extension Nuke.ImageProcessors {
public init(_ filter: CoreImage.CIFilter, identifier: Swift.String)
public func process(_ image: Nuke.PlatformImage) -> Nuke.PlatformImage?
public func process(_ container: Nuke.ImageContainer, context: Nuke.ImageProcessingContext) throws -> Nuke.ImageContainer
- public static var context: CoreImage.CIContext
+ public static var context: CoreImage.CIContext {
+ get
+ set
+ }
public static func apply(filter: CoreImage.CIFilter, to image: Nuke.PlatformImage) throws -> Nuke.PlatformImage
public var description: Swift.String {
get
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Nuke b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Nuke
index b9c4961..c2c62e2 100755
Binary files a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Nuke and b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Nuke differ
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Resources/Info.plist b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Resources/Info.plist
index ba3130e..22fedc1 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Resources/Info.plist
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/Resources/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 12.6.0
+ 12.7.1
CFBundleSupportedPlatforms
MacOSX
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/_CodeSignature/CodeResources b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/_CodeSignature/CodeResources
index ac7993d..b9bdb29 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/_CodeSignature/CodeResources
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/A/_CodeSignature/CodeResources
@@ -6,7 +6,7 @@
Resources/Info.plist
- fmwn/bFqbXtQOhlzaEvTbYZNcU8=
+ ngeXEosWCnv1OCd2tI+Uyi+hbno=
files2
@@ -22,77 +22,77 @@
hash2
- sPzMwRt5kr36T872BTXPxFM/3pwqjIw1HBavl7iniio=
+ eBK1KdDCWdo9nPAy2n7GICPdmeQzddgyeu+/LHqwX1E=
Modules/Nuke.swiftmodule/arm64-apple-macos.private.swiftinterface
hash2
- /SW+LbLZjlX+6BxHQEtpVXThKk9YQXERrO9CCnFqtjs=
+ BCnO7vgd9gJs2o1E55IYczwPrtxW3hB0npfp4T/hWHo=
Modules/Nuke.swiftmodule/arm64-apple-macos.swiftdoc
hash2
- tlVt8TCner89qKjtUNEu5irENBnNr/SCxSYAT36IvPY=
+ OQ8pGC+M1yGFX8OAo5GG+vOxmap6j00dWudwLcjvC94=
Modules/Nuke.swiftmodule/arm64-apple-macos.swiftinterface
hash2
- /SW+LbLZjlX+6BxHQEtpVXThKk9YQXERrO9CCnFqtjs=
+ BCnO7vgd9gJs2o1E55IYczwPrtxW3hB0npfp4T/hWHo=
Modules/Nuke.swiftmodule/arm64-apple-macos.swiftmodule
hash2
- 05J28dNZXAa7fjTFfYOZ8q0Ovtea7O0V7y/ZywEiQ6M=
+ Q0zNW2CPZLiwU+REQFXQQ3FaF2sCP7iT7LgZ0v2Xq2g=
Modules/Nuke.swiftmodule/x86_64-apple-macos.abi.json
hash2
- sPzMwRt5kr36T872BTXPxFM/3pwqjIw1HBavl7iniio=
+ eBK1KdDCWdo9nPAy2n7GICPdmeQzddgyeu+/LHqwX1E=
Modules/Nuke.swiftmodule/x86_64-apple-macos.private.swiftinterface
hash2
- 3grnbLXVuiJLKRGggBe+wuyBHfoFR6XkoBYvrB/H7YI=
+ tjeD06b0MgxqykSzHlZ0jiM5bAOhad/QrqprLdS8nJA=
Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftdoc
hash2
- HsC98KKAm/i1fV66WNJk7aJ/k8buoJsvUUER4VykOdM=
+ yvzgvzBe/NLqihqOP5pL5tSroyjUtUrVJRhS+6/WvsU=
Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftinterface
hash2
- 3grnbLXVuiJLKRGggBe+wuyBHfoFR6XkoBYvrB/H7YI=
+ tjeD06b0MgxqykSzHlZ0jiM5bAOhad/QrqprLdS8nJA=
Modules/Nuke.swiftmodule/x86_64-apple-macos.swiftmodule
hash2
- vdCbAT0m9X7QXlyggYsUTNpQMVytg/fNJmKgwu8O5hU=
+ 6yixfYZBnS0i8u3hIq3s1WnWYu+st/iI1LiL0FIb47c=
Resources/Info.plist
hash2
- 9SPL8X9cBYnooB1h5BJWO5JV63ziSCvDV4QhvFFgGZM=
+ kxoEQC4nj3TWu8AMUb6tQnrrkXMdDQO/iVUjyU0NlSY=
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/Current/Modules/Nuke.swiftmodule/arm64-apple-macos.abi.json b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/Current/Modules/Nuke.swiftmodule/arm64-apple-macos.abi.json
index cb2a881..f57a7fb 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/Current/Modules/Nuke.swiftmodule/arm64-apple-macos.abi.json
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/Current/Modules/Nuke.swiftmodule/arm64-apple-macos.abi.json
@@ -1408,8 +1408,8 @@
},
{
"kind": "Import",
- "name": "AppKit.NSImage",
- "printedName": "AppKit.NSImage",
+ "name": "AppKit",
+ "printedName": "AppKit",
"declKind": "Import",
"moduleName": "Nuke"
},
@@ -3402,9 +3402,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3414,8 +3414,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0C10Foundation3URLV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0C10Foundation3URLV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3431,9 +3431,9 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncImageTask",
- "printedName": "Nuke.AsyncImageTask",
- "usr": "s:4Nuke14AsyncImageTaskC"
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
"kind": "TypeNominal",
@@ -3443,8 +3443,8 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
- "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA05AsyncbE0CAA0B7RequestV_tF",
+ "usr": "s:4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
+ "mangledName": "$s4Nuke13ImagePipelineC9imageTask4withAA0bE0CAA0B7RequestV_tF",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -3513,58 +3513,6 @@
"throwing": true,
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "data",
- "printedName": "data(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(Foundation.Data, Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "throwing": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "data",
@@ -3611,7 +3559,6 @@
"declAttributes": [
"Final",
"AccessControl",
- "DiscardableResult",
"RawDocComment"
],
"throwing": true,
@@ -3871,89 +3818,6 @@
],
"funcSelfKind": "NonMutating"
},
- {
- "kind": "Function",
- "name": "loadData",
- "printedName": "loadData(with:completion:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageTask",
- "printedName": "Nuke.ImageTask",
- "usr": "s:4Nuke9ImageTaskC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Result",
- "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Data",
- "printedName": "Foundation.Data",
- "usr": "s:10Foundation4DataV"
- },
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Foundation.URLResponse?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "URLResponse",
- "printedName": "Foundation.URLResponse",
- "usr": "c:objc(cs)NSURLResponse"
- }
- ],
- "usr": "s:Sq"
- }
- ]
- },
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ],
- "usr": "s:s6ResultO"
- }
- ]
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "DiscardableResult",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Function",
"name": "loadData",
@@ -4261,100 +4125,239 @@
"funcSelfKind": "NonMutating"
},
{
- "kind": "TypeDecl",
- "name": "Error",
- "printedName": "Error",
+ "kind": "Function",
+ "name": "loadData",
+ "printedName": "loadData(with:completion:)",
"children": [
{
- "kind": "Var",
- "name": "dataMissingInCache",
- "printedName": "dataMissingInCache",
- "children": [
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- },
- {
- "kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
- }
- ]
- }
- ],
- "declKind": "EnumElement",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
},
{
- "kind": "Var",
- "name": "dataLoadingFailed",
- "printedName": "dataLoadingFailed",
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> ()",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>",
"children": [
{
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(data: Foundation.Data, response: Foundation.URLResponse?)",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
},
{
"kind": "TypeNominal",
- "name": "Tuple",
- "printedName": "(error: any Swift.Error)",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
"children": [
{
"kind": "TypeNominal",
- "name": "Error",
- "printedName": "any Swift.Error",
- "usr": "s:s5ErrorP"
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
}
- ]
+ ],
+ "usr": "s:Sq"
}
]
},
{
"kind": "TypeNominal",
- "name": "Metatype",
- "printedName": "Nuke.ImagePipeline.Error.Type",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Error",
- "printedName": "Nuke.ImagePipeline.Error",
- "usr": "s:4Nuke13ImagePipelineC5ErrorO"
- }
- ]
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
}
- ]
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "mangledName": "$s4Nuke13ImagePipelineC8loadData4with10completionAA0B4TaskC10Foundation3URLV_ys6ResultOyAI0E0V4data_So13NSURLResponseCSg8responsetAC5ErrorOGctF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "data",
+ "printedName": "data(for:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(Foundation.Data, Foundation.URLResponse?)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Data",
+ "printedName": "Foundation.Data",
+ "usr": "s:10Foundation4DataV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Foundation.URLResponse?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "URLResponse",
+ "printedName": "Foundation.URLResponse",
+ "usr": "c:objc(cs)NSURLResponse"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "mangledName": "$s4Nuke13ImagePipelineC4data3for10Foundation4DataV_So13NSURLResponseCSgtAF3URLV_tYaKF",
+ "moduleName": "Nuke",
+ "deprecated": true,
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "DiscardableResult",
+ "Available",
+ "RawDocComment"
+ ],
+ "throwing": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Error",
+ "printedName": "Error",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "dataMissingInCache",
+ "printedName": "dataMissingInCache",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "mangledName": "$s4Nuke13ImagePipelineC5ErrorO18dataMissingInCacheyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "dataLoadingFailed",
+ "printedName": "dataLoadingFailed",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImagePipeline.Error.Type) -> (any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(any Swift.Error) -> Nuke.ImagePipeline.Error",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Tuple",
+ "printedName": "(error: any Swift.Error)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "any Swift.Error",
+ "usr": "s:s5ErrorP"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImagePipeline.Error.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ]
+ }
+ ]
}
],
"declKind": "EnumElement",
@@ -7293,12 +7296,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -7317,7 +7317,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -7342,7 +7341,6 @@
"mangledName": "$s4Nuke13ImagePipelineC13ConfigurationV24isSignpostLoggingEnabledSbvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -12288,6 +12286,48 @@
"reqNewWitnessTableEntry": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegateP9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "protocolReq": true,
+ "declAttributes": [
+ "RawDocComment"
+ ],
+ "reqNewWitnessTableEntry": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -12948,6 +12988,47 @@
"isFromExtension": true,
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "imageTask",
+ "printedName": "imageTask(_:didReceiveEvent:pipeline:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageTask",
+ "printedName": "Nuke.ImageTask",
+ "usr": "s:4Nuke9ImageTaskC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImagePipeline",
+ "printedName": "Nuke.ImagePipeline",
+ "usr": "s:4Nuke13ImagePipelineC"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "mangledName": "$s4Nuke21ImagePipelineDelegatePAAE9imageTask_15didReceiveEvent8pipelineyAA0bF0C_AH0I0OAA0bC0CtF",
+ "moduleName": "Nuke",
+ "genericSig": "<τ_0_0 where τ_0_0 : Nuke.ImagePipelineDelegate>",
+ "sugared_genericSig": "",
+ "declAttributes": [
+ "AccessControl"
+ ],
+ "isFromExtension": true,
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Function",
"name": "imageTaskDidStart",
@@ -13705,37 +13786,84 @@
},
{
"kind": "Import",
- "name": "AppKit",
- "printedName": "AppKit",
+ "name": "Foundation",
+ "printedName": "Foundation",
"declKind": "Import",
- "moduleName": "Nuke"
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
},
{
- "kind": "TypeDecl",
- "name": "AsyncImageTask",
- "printedName": "AsyncImageTask",
- "children": [
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "CoreImage",
+ "printedName": "CoreImage",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "AppKit",
+ "printedName": "AppKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "DataCache",
+ "printedName": "DataCache",
+ "children": [
{
"kind": "Var",
- "name": "priority",
- "printedName": "priority",
+ "name": "sizeLimit",
+ "printedName": "sizeLimit",
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvp",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13744,15 +13872,16 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvg",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13770,15 +13899,16 @@
},
{
"kind": "TypeNominal",
- "name": "Priority",
- "printedName": "Nuke.ImageRequest.Priority",
- "usr": "s:4Nuke12ImageRequestV8PriorityO"
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvs",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
@@ -13796,8 +13926,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
- "mangledName": "$s4Nuke14AsyncImageTaskC8priorityAA0C7RequestV8PriorityOvM",
+ "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
+ "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -13809,25 +13939,28 @@
},
{
"kind": "Var",
- "name": "image",
- "printedName": "image",
+ "name": "path",
+ "printedName": "path",
"children": [
{
"kind": "TypeNominal",
- "name": "NSImage",
- "printedName": "AppKit.NSImage",
- "usr": "c:objc(cs)NSImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7NSImageCvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7NSImageCvp",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "isLet": true,
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13836,44 +13969,47 @@
"children": [
{
"kind": "TypeNominal",
- "name": "NSImage",
- "printedName": "AppKit.NSImage",
- "usr": "c:objc(cs)NSImage"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC5imageSo7NSImageCvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC5imageSo7NSImageCvg",
+ "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "response",
- "printedName": "response",
+ "name": "sweepInterval",
+ "printedName": "sweepInterval",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvp",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
+ "HasStorage",
"AccessControl",
"RawDocComment"
],
+ "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -13882,120 +14018,94 @@
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8responseAA0C8ResponseVvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
"moduleName": "Nuke",
+ "implicit": true,
"declAttributes": [
"Final"
],
- "throwing": true,
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "previews",
- "printedName": "previews",
- "children": [
+ },
{
- "kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
+ "kind": "Accessor",
+ "name": "Set",
+ "printedName": "Set()",
"children": [
{
"kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Double",
+ "printedName": "Swift.Double",
+ "usr": "s:Sd"
}
],
- "usr": "s:ScS"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "set"
+ },
{
"kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "name": "Modify",
+ "printedName": "Modify()",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "ImageResponse",
- "printedName": "Nuke.ImageResponse",
- "usr": "s:4Nuke13ImageResponseV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Void",
+ "printedName": "()"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8previewsScSyAA0C8ResponseVGvg",
+ "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
+ "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
"Final"
],
- "accessorKind": "get"
+ "accessorKind": "_modify"
}
]
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "isCompressionEnabled",
+ "printedName": "isCompressionEnabled",
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Var",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvp",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
"moduleName": "Nuke",
+ "deprecated": true,
"declAttributes": [
"Final",
- "HasStorage",
"AccessControl",
+ "Available",
"RawDocComment"
],
- "isLet": true,
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -14004,187 +14114,20 @@
"children": [
{
"kind": "TypeNominal",
- "name": "AsyncStream",
- "printedName": "_Concurrency.AsyncStream",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- }
- ],
- "usr": "s:ScS"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
- "mangledName": "$s4Nuke14AsyncImageTaskC8progressScSyAA0cD0C8ProgressVGvg",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
"accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "cancel",
- "printedName": "cancel()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke14AsyncImageTaskC6cancelyyF",
- "mangledName": "$s4Nuke14AsyncImageTaskC6cancelyyF",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "funcSelfKind": "NonMutating"
- }
- ],
- "declKind": "Class",
- "usr": "s:4Nuke14AsyncImageTaskC",
- "mangledName": "$s4Nuke14AsyncImageTaskC",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final",
- "AccessControl",
- "RawDocComment"
- ],
- "hasMissingDesignatedInitializers": true,
- "conformances": [
- {
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- }
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "CoreImage",
- "printedName": "CoreImage",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "AppKit",
- "printedName": "AppKit",
- "declKind": "Import",
- "moduleName": "Nuke"
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "Nuke",
- "declAttributes": [
- "RawDocComment"
- ]
- },
- {
- "kind": "TypeDecl",
- "name": "DataCache",
- "printedName": "DataCache",
- "children": [
- {
- "kind": "Var",
- "name": "sizeLimit",
- "printedName": "sizeLimit",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivp",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivg",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
+ },
{
"kind": "Accessor",
"name": "Set",
@@ -14197,16 +14140,15 @@
},
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivs",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivs",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
"moduleName": "Nuke",
- "implicit": true,
"declAttributes": [
"Final"
],
@@ -14224,12 +14166,14 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC9sizeLimitSivM",
- "mangledName": "$s4Nuke9DataCacheC9sizeLimitSivM",
+ "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
+ "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
"moduleName": "Nuke",
+ "deprecated": true,
"implicit": true,
"declAttributes": [
- "Final"
+ "Final",
+ "Available"
],
"accessorKind": "_modify"
}
@@ -14237,21 +14181,22 @@
},
{
"kind": "Var",
- "name": "path",
- "printedName": "path",
+ "name": "queue",
+ "printedName": "queue",
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvp",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvp",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
"moduleName": "Nuke",
"declAttributes": [
+ "HasInitialValue",
"Final",
"HasStorage",
"AccessControl",
@@ -14267,14 +14212,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
+ "name": "DispatchQueue",
+ "printedName": "Dispatch.DispatchQueue",
+ "usr": "c:objc(cs)OS_dispatch_queue"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC4path10Foundation3URLVvg",
- "mangledName": "$s4Nuke9DataCacheC4path10Foundation3URLVvg",
+ "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
+ "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
"moduleName": "Nuke",
"implicit": true,
"declAttributes": [
@@ -14285,253 +14230,68 @@
]
},
{
- "kind": "Var",
- "name": "sweepInterval",
- "printedName": "sweepInterval",
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(name:filenameGenerator:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
+ "name": "DataCache",
+ "printedName": "Nuke.DataCache",
+ "usr": "s:4Nuke9DataCacheC"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ },
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.String) -> Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "Swift.String?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "usr": "s:Sq"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "String",
+ "printedName": "Swift.String",
+ "usr": "s:SS"
+ }
+ ],
+ "hasDefaultArg": true
}
],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvp",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvp",
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
+ "Convenience",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvg",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Double",
- "printedName": "Swift.Double",
- "usr": "s:Sd"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvs",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvs",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC13sweepIntervalSdvM",
- "mangledName": "$s4Nuke9DataCacheC13sweepIntervalSdvM",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "isCompressionEnabled",
- "printedName": "isCompressionEnabled",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvp",
- "moduleName": "Nuke",
- "deprecated": true,
- "declAttributes": [
- "Final",
- "AccessControl",
- "Available",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvg",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvs",
- "moduleName": "Nuke",
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "mangledName": "$s4Nuke9DataCacheC20isCompressionEnabledSbvM",
- "moduleName": "Nuke",
- "deprecated": true,
- "implicit": true,
- "declAttributes": [
- "Final",
- "Available"
- ],
- "accessorKind": "_modify"
- }
- ]
- },
- {
- "kind": "Var",
- "name": "queue",
- "printedName": "queue",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasInitialValue",
- "Final",
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "DispatchQueue",
- "printedName": "Dispatch.DispatchQueue",
- "usr": "c:objc(cs)OS_dispatch_queue"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "mangledName": "$s4Nuke9DataCacheC5queueSo012OS_dispatch_D0Cvg",
- "moduleName": "Nuke",
- "implicit": true,
- "declAttributes": [
- "Final"
- ],
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(name:filenameGenerator:)",
- "children": [
+ "throwing": true,
+ "init_kind": "Convenience"
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(path:filenameGenerator:)",
+ "children": [
{
"kind": "TypeNominal",
"name": "DataCache",
@@ -14540,9 +14300,9 @@
},
{
"kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
+ "name": "URL",
+ "printedName": "Foundation.URL",
+ "usr": "s:10Foundation3URLV"
},
{
"kind": "TypeFunc",
@@ -14574,83 +14334,25 @@
}
],
"declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4name17filenameGeneratorACSS_SSSgSSctKcfc",
+ "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
+ "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
"moduleName": "Nuke",
"declAttributes": [
- "Convenience",
"AccessControl",
"RawDocComment"
],
"throwing": true,
- "init_kind": "Convenience"
+ "init_kind": "Designated"
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(path:filenameGenerator:)",
+ "kind": "Function",
+ "name": "filename",
+ "printedName": "filename(for:)",
"children": [
{
"kind": "TypeNominal",
- "name": "DataCache",
- "printedName": "Nuke.DataCache",
- "usr": "s:4Nuke9DataCacheC"
- },
- {
- "kind": "TypeNominal",
- "name": "URL",
- "printedName": "Foundation.URL",
- "usr": "s:10Foundation3URLV"
- },
- {
- "kind": "TypeFunc",
- "name": "Function",
- "printedName": "(Swift.String) -> Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "usr": "s:Sq"
- },
- {
- "kind": "TypeNominal",
- "name": "String",
- "printedName": "Swift.String",
- "usr": "s:SS"
- }
- ],
- "hasDefaultArg": true
- }
- ],
- "declKind": "Constructor",
- "usr": "s:4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "mangledName": "$s4Nuke9DataCacheC4path17filenameGeneratorAC10Foundation3URLV_SSSgSSctKcfc",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "throwing": true,
- "init_kind": "Designated"
- },
- {
- "kind": "Function",
- "name": "filename",
- "printedName": "filename(for:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Optional",
- "printedName": "Swift.String?",
+ "name": "Optional",
+ "printedName": "Swift.String?",
"children": [
{
"kind": "TypeNominal",
@@ -18258,12 +17960,9 @@
"moduleName": "Nuke",
"static": true,
"declAttributes": [
- "HasInitialValue",
- "HasStorage",
"AccessControl",
"RawDocComment"
],
- "hasStorage": true,
"accessors": [
{
"kind": "Accessor",
@@ -18282,7 +17981,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvgZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "get"
},
{
@@ -18307,7 +18005,6 @@
"mangledName": "$s4Nuke15ImageProcessorsO04CoreB6FilterV7contextSo9CIContextCvsZ",
"moduleName": "Nuke",
"static": true,
- "implicit": true,
"accessorKind": "set"
},
{
@@ -23203,6 +22900,20 @@
"RawDocComment"
]
},
+ {
+ "kind": "Import",
+ "name": "Combine",
+ "printedName": "Combine",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
+ {
+ "kind": "Import",
+ "name": "AppKit",
+ "printedName": "AppKit",
+ "declKind": "Import",
+ "moduleName": "Nuke"
+ },
{
"kind": "TypeDecl",
"name": "ImageTask",
@@ -23400,23 +23111,366 @@
},
{
"kind": "Var",
- "name": "progress",
- "printedName": "progress",
+ "name": "currentProgress",
+ "printedName": "currentProgress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC15currentProgressAC0E0Vvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Progress",
+ "printedName": "Progress",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "completed",
+ "printedName": "completed",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "total",
+ "printedName": "total",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "fraction",
+ "printedName": "fraction",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Float",
+ "printedName": "Swift.Float",
+ "usr": "s:Sf"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
+ "moduleName": "Nuke",
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init(completed:total:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Int64",
+ "printedName": "Swift.Int64",
+ "usr": "s:s5Int64V"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "init_kind": "Designated"
+ },
+ {
+ "kind": "Var",
+ "name": "hashValue",
+ "printedName": "hashValue",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Int",
+ "printedName": "Swift.Int",
+ "usr": "s:Si"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Function",
+ "name": "hash",
+ "printedName": "hash(into:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Hasher",
+ "printedName": "Swift.Hasher",
+ "paramValueOwnership": "InOut",
+ "usr": "s:s6HasherV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "moduleName": "Nuke",
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
+ "moduleName": "Nuke",
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Struct",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV",
+ "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "state",
+ "printedName": "state",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvp",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvp",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
- "SetterAccess",
"AccessControl",
"RawDocComment"
],
@@ -23428,14 +23482,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8progressAC8ProgressVvg",
- "mangledName": "$s4Nuke9ImageTaskC8progressAC8ProgressVvg",
+ "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
+ "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23446,173 +23500,160 @@
},
{
"kind": "TypeDecl",
- "name": "Progress",
- "printedName": "Progress",
+ "name": "State",
+ "printedName": "State",
"children": [
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "running",
+ "printedName": "running",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completeds5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "total",
- "printedName": "total",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "HasStorage",
- "AccessControl",
- "RawDocComment"
- ],
- "isLet": true,
- "hasStorage": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV5totals5Int64Vvg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
"kind": "Var",
- "name": "fraction",
- "printedName": "fraction",
+ "name": "completed",
+ "printedName": "completed",
"children": [
{
- "kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvp",
- "moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
"children": [
{
"kind": "TypeNominal",
- "name": "Float",
- "printedName": "Swift.Float",
- "usr": "s:Sf"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.State.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV8fractionSfvg",
- "moduleName": "Nuke",
- "accessorKind": "get"
+ ]
}
+ ],
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "RawDocComment"
]
},
{
- "kind": "Constructor",
- "name": "init",
- "printedName": "init(completed:total:)",
+ "kind": "Function",
+ "name": "==",
+ "printedName": "==(_:_:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
},
{
"kind": "TypeNominal",
- "name": "Int64",
- "printedName": "Swift.Int64",
- "usr": "s:s5Int64V"
+ "name": "State",
+ "printedName": "Nuke.ImageTask.State",
+ "usr": "s:4Nuke9ImageTaskC5StateO"
}
],
- "declKind": "Constructor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9completed5totalAEs5Int64V_AItcfc",
+ "declKind": "Func",
+ "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
"moduleName": "Nuke",
- "declAttributes": [
- "AccessControl",
- "RawDocComment"
- ],
- "init_kind": "Designated"
+ "static": true,
+ "implicit": true,
+ "funcSelfKind": "NonMutating"
},
{
"kind": "Var",
@@ -23627,8 +23668,8 @@
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivp",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
"moduleName": "Nuke",
"implicit": true,
"accessors": [
@@ -23645,8 +23686,8 @@
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC8ProgressV9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV9hashValueSivg",
+ "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
"moduleName": "Nuke",
"implicit": true,
"accessorKind": "get"
@@ -23672,29 +23713,140 @@
}
],
"declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV4hash4intoys6HasherVz_tF",
+ "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
"moduleName": "Nuke",
"implicit": true,
"funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Enum",
+ "usr": "s:4Nuke9ImageTaskC5StateO",
+ "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
},
{
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "image",
+ "printedName": "image",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "NSImage",
+ "printedName": "AppKit.NSImage",
+ "usr": "c:objc(cs)NSImage"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7NSImageCvp",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7NSImageCvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
+ "name": "NSImage",
+ "printedName": "AppKit.NSImage",
+ "usr": "c:objc(cs)NSImage"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC5imageSo7NSImageCvg",
+ "mangledName": "$s4Nuke9ImageTaskC5imageSo7NSImageCvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "response",
+ "printedName": "response",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
{
"kind": "TypeNominal",
- "name": "Progress",
- "printedName": "Nuke.ImageTask.Progress",
- "usr": "s:4Nuke9ImageTaskC8ProgressV"
- },
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "mangledName": "$s4Nuke9ImageTaskC8responseAA0B8ResponseVvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "throwing": true,
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "progress",
+ "printedName": "progress",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
{
"kind": "TypeNominal",
"name": "Progress",
@@ -23702,62 +23854,134 @@
"usr": "s:4Nuke9ImageTaskC8ProgressV"
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "usr": "s:ScS"
}
],
- "declKind": "Struct",
- "usr": "s:4Nuke9ImageTaskC8ProgressV",
- "mangledName": "$s4Nuke9ImageTaskC8ProgressV",
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvp",
"moduleName": "Nuke",
"declAttributes": [
+ "Final",
"AccessControl",
"RawDocComment"
],
- "conformances": [
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
- },
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8progressScSyAC8ProgressVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "previews",
+ "printedName": "previews",
+ "children": [
{
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- },
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvp",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "accessors": [
{
- "kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ],
+ "usr": "s:ScS"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "mangledName": "$s4Nuke9ImageTaskC8previewsScSyAA0B8ResponseVGvg",
+ "moduleName": "Nuke",
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "state",
- "printedName": "state",
+ "name": "events",
+ "printedName": "events",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvp",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvp",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvp",
"moduleName": "Nuke",
"declAttributes": [
"Final",
@@ -23772,14 +23996,22 @@
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "AsyncStream",
+ "printedName": "_Concurrency.AsyncStream",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ],
+ "usr": "s:ScS"
}
],
"declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5stateAC5StateOvg",
- "mangledName": "$s4Nuke9ImageTaskC5stateAC5StateOvg",
+ "usr": "s:4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
+ "mangledName": "$s4Nuke9ImageTaskC6eventsScSyAC5EventOGvg",
"moduleName": "Nuke",
"declAttributes": [
"Final"
@@ -23790,35 +24022,48 @@
},
{
"kind": "TypeDecl",
- "name": "State",
- "printedName": "State",
+ "name": "Event",
+ "printedName": "Event",
"children": [
{
"kind": "Var",
- "name": "running",
- "printedName": "running",
+ "name": "progress",
+ "printedName": "progress",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Progress) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Progress",
+ "printedName": "Nuke.ImageTask.Progress",
+ "usr": "s:4Nuke9ImageTaskC8ProgressV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23826,8 +24071,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO7runningyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO7runningyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8progressyAeC8ProgressVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23835,30 +24080,43 @@
},
{
"kind": "Var",
- "name": "cancelled",
- "printedName": "cancelled",
+ "name": "preview",
+ "printedName": "preview",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Nuke.ImageResponse) -> Nuke.ImageTask.Event",
"children": [
{
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageResponse) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ }
+ ]
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23866,8 +24124,8 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9cancelledyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO7previewyAeA0B8ResponseVcAEmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
@@ -23875,30 +24133,30 @@
},
{
"kind": "Var",
- "name": "completed",
- "printedName": "completed",
+ "name": "cancelled",
+ "printedName": "cancelled",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
- "printedName": "(Nuke.ImageTask.State.Type) -> Nuke.ImageTask.State",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> Nuke.ImageTask.Event",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
},
{
"kind": "TypeNominal",
"name": "Metatype",
- "printedName": "Nuke.ImageTask.State.Type",
+ "printedName": "Nuke.ImageTask.Event.Type",
"children": [
{
"kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
}
]
}
@@ -23906,113 +24164,84 @@
}
],
"declKind": "EnumElement",
- "usr": "s:4Nuke9ImageTaskC5StateO9completedyA2EmF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9completedyA2EmF",
+ "usr": "s:4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO9cancelledyA2EmF",
"moduleName": "Nuke",
"declAttributes": [
"RawDocComment"
]
},
- {
- "kind": "Function",
- "name": "==",
- "printedName": "==(_:_:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- },
- {
- "kind": "TypeNominal",
- "name": "State",
- "printedName": "Nuke.ImageTask.State",
- "usr": "s:4Nuke9ImageTaskC5StateO"
- }
- ],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "mangledName": "$s4Nuke9ImageTaskC5StateO2eeoiySbAE_AEtFZ",
- "moduleName": "Nuke",
- "static": true,
- "implicit": true,
- "funcSelfKind": "NonMutating"
- },
{
"kind": "Var",
- "name": "hashValue",
- "printedName": "hashValue",
+ "name": "finished",
+ "printedName": "finished",
"children": [
{
- "kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
- }
- ],
- "declKind": "Var",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivp",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivp",
- "moduleName": "Nuke",
- "implicit": true,
- "accessors": [
- {
- "kind": "Accessor",
- "name": "Get",
- "printedName": "Get()",
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Nuke.ImageTask.Event.Type) -> (Swift.Result) -> Nuke.ImageTask.Event",
"children": [
+ {
+ "kind": "TypeFunc",
+ "name": "Function",
+ "printedName": "(Swift.Result) -> Nuke.ImageTask.Event",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Result",
+ "printedName": "Swift.Result",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "ImageResponse",
+ "printedName": "Nuke.ImageResponse",
+ "usr": "s:4Nuke13ImageResponseV"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Error",
+ "printedName": "Nuke.ImagePipeline.Error",
+ "usr": "s:4Nuke13ImagePipelineC5ErrorO"
+ }
+ ],
+ "usr": "s:s6ResultO"
+ }
+ ]
+ },
{
"kind": "TypeNominal",
- "name": "Int",
- "printedName": "Swift.Int",
- "usr": "s:Si"
+ "name": "Metatype",
+ "printedName": "Nuke.ImageTask.Event.Type",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Event",
+ "printedName": "Nuke.ImageTask.Event",
+ "usr": "s:4Nuke9ImageTaskC5EventO"
+ }
+ ]
}
- ],
- "declKind": "Accessor",
- "usr": "s:4Nuke9ImageTaskC5StateO9hashValueSivg",
- "mangledName": "$s4Nuke9ImageTaskC5StateO9hashValueSivg",
- "moduleName": "Nuke",
- "implicit": true,
- "accessorKind": "get"
- }
- ]
- },
- {
- "kind": "Function",
- "name": "hash",
- "printedName": "hash(into:)",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Hasher",
- "printedName": "Swift.Hasher",
- "paramValueOwnership": "InOut",
- "usr": "s:s6HasherV"
+ ]
}
],
- "declKind": "Func",
- "usr": "s:4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
- "mangledName": "$s4Nuke9ImageTaskC5StateO4hash4intoys6HasherVz_tF",
+ "declKind": "EnumElement",
+ "usr": "s:4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO8finishedyAEs6ResultOyAA0B8ResponseVAA0B8PipelineC5ErrorOGcAEmF",
"moduleName": "Nuke",
- "implicit": true,
- "funcSelfKind": "NonMutating"
+ "declAttributes": [
+ "RawDocComment"
+ ]
}
],
"declKind": "Enum",
- "usr": "s:4Nuke9ImageTaskC5StateO",
- "mangledName": "$s4Nuke9ImageTaskC5StateO",
+ "usr": "s:4Nuke9ImageTaskC5EventO",
+ "mangledName": "$s4Nuke9ImageTaskC5EventO",
"moduleName": "Nuke",
"declAttributes": [
"AccessControl",
@@ -24021,17 +24250,10 @@
"conformances": [
{
"kind": "Conformance",
- "name": "Equatable",
- "printedName": "Equatable",
- "usr": "s:SQ",
- "mangledName": "$sSQ"
- },
- {
- "kind": "Conformance",
- "name": "Hashable",
- "printedName": "Hashable",
- "usr": "s:SH",
- "mangledName": "$sSH"
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
}
]
},
@@ -26157,14 +26379,14 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 917,
+ "offset": 979,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Log.swift",
"kind": "StringLiteral",
- "offset": 965,
+ "offset": 1027,
"length": 15,
"value": "\"Image Loading\""
},
@@ -26175,31 +26397,45 @@
"length": 3,
"value": "0.8"
},
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Encoding\/ImageEncoders+ImageIO.swift",
+ "kind": "Dictionary",
+ "offset": 1032,
+ "length": 3,
+ "value": "[]"
+ },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "StringLiteral",
- "offset": 1395,
+ "offset": 1389,
"length": 36,
"value": "\"com.github.kean.Nuke.ImagePipeline\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 1486,
+ "offset": 1480,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "IntegerLiteral",
- "offset": 1704,
+ "offset": 1698,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
"kind": "BooleanLiteral",
- "offset": 13560,
+ "offset": 7679,
+ "length": 5,
+ "value": "false"
+ },
+ {
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline.swift",
+ "kind": "BooleanLiteral",
+ "offset": 11659,
"length": 5,
"value": "false"
},
@@ -26463,28 +26699,28 @@
"value": "\"com.github\/kean\/nuke\/scan-number\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9407,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9412,
"length": 1,
"value": "0"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9465,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineCache.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Cache.swift",
"kind": "IntegerLiteral",
"offset": 9470,
"length": 1,
@@ -26500,16 +26736,16 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "BooleanLiteral",
- "offset": 767,
+ "offset": 366,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageDecompression.swift",
"kind": "IntegerLiteral",
- "offset": 979,
+ "offset": 578,
"length": 1,
- "value": "0"
+ "value": "1"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
@@ -26521,7 +26757,7 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Caching\/Cache.swift",
"kind": "IntegerLiteral",
- "offset": 2679,
+ "offset": 2725,
"length": 1,
"value": "0"
},
@@ -26661,7 +26897,7 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/Graphics.swift",
"kind": "IntegerLiteral",
- "offset": 11108,
+ "offset": 11625,
"length": 1,
"value": "1"
},
@@ -27093,152 +27329,145 @@
"value": "\"public.mov\""
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2292,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 2351,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 3765,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4136,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4577,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 4865,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5219,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
"offset": 5442,
"length": 4,
"value": "true"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6087,
+ "offset": 6288,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6143,
+ "offset": 6345,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "BooleanLiteral",
- "offset": 6189,
+ "offset": 6391,
"length": 5,
"value": "false"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6382,
+ "offset": 6584,
"length": 1,
"value": "6"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6643,
+ "offset": 6845,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6800,
+ "offset": 7002,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 6957,
+ "offset": 7159,
"length": 1,
"value": "1"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7118,
+ "offset": 7320,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "IntegerLiteral",
- "offset": 7285,
+ "offset": 7487,
"length": 1,
"value": "2"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipelineConfiguration.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Pipeline\/ImagePipeline+Configuration.swift",
"kind": "StringLiteral",
- "offset": 8908,
+ "offset": 9110,
"length": 32,
"value": "\"com.github.kean.Nuke.DataCache\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1554,
+ "offset": 10915,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
"kind": "IntegerLiteral",
- "offset": 1564,
+ "offset": 10925,
"length": 1,
"value": "0"
},
- {
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/ImageTask.swift",
- "kind": "BooleanLiteral",
- "offset": 2806,
- "length": 5,
- "value": "false"
- },
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Internal\/RateLimiter.swift",
"kind": "BooleanLiteral",
@@ -27284,23 +27513,23 @@
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "BooleanLiteral",
- "offset": 3056,
+ "offset": 3211,
"length": 4,
"value": "true"
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Processing\/ImageProcessors+CoreImage.swift",
"kind": "Dictionary",
- "offset": 3144,
+ "offset": 3300,
"length": 3,
"value": "[]"
},
{
- "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/ImagePipelineTask.swift",
+ "filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Tasks\/AsyncPipelineTask.swift",
"kind": "StringLiteral",
"offset": 264,
"length": 17,
- "value": "\"Nuke.ImagePipelineTask\""
+ "value": "\"Nuke.AsyncPipelineTask\""
},
{
"filePath": "\/Users\/kean\/Developer\/Nuke\/Sources\/Nuke\/Prefetching\/ImagePrefetcher.swift",
diff --git a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/Current/Modules/Nuke.swiftmodule/arm64-apple-macos.private.swiftinterface b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/Current/Modules/Nuke.swiftmodule/arm64-apple-macos.private.swiftinterface
index 7c02bd8..3cc159c 100644
--- a/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/Current/Modules/Nuke.swiftmodule/arm64-apple-macos.private.swiftinterface
+++ b/ios/Nuke.xcframework/macos-arm64_x86_64/Nuke.framework/Versions/Current/Modules/Nuke.swiftmodule/arm64-apple-macos.private.swiftinterface
@@ -129,8 +129,8 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
public init(configuration: Nuke.ImagePipeline.Configuration = Configuration(), delegate: (any Nuke.ImagePipelineDelegate)? = nil)
convenience public init(delegate: (any Nuke.ImagePipelineDelegate)? = nil, _ configure: (inout Nuke.ImagePipeline.Configuration) -> Swift.Void)
final public func invalidate()
- final public func imageTask(with url: Foundation.URL) -> Nuke.AsyncImageTask
- final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.AsyncImageTask
+ final public func imageTask(with url: Foundation.URL) -> Nuke.ImageTask
+ final public func imageTask(with request: Nuke.ImageRequest) -> Nuke.ImageTask
#if compiler(>=5.3) && $AsyncAwait
final public func image(for url: Foundation.URL) async throws -> Nuke.PlatformImage
#endif
@@ -138,11 +138,6 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
final public func image(for request: Nuke.ImageRequest) async throws -> Nuke.PlatformImage
#endif
#if compiler(>=5.3) && $AsyncAwait
- @discardableResult
- final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
- #endif
- #if compiler(>=5.3) && $AsyncAwait
- @discardableResult
final public func data(for request: Nuke.ImageRequest) async throws -> (Foundation.Data, Foundation.URLResponse?)
#endif
@discardableResult
@@ -152,13 +147,19 @@ final public class ImagePipeline : @unchecked Swift.Sendable {
@discardableResult
final public func loadImage(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ response: Nuke.ImageResponse?, _ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (_ result: Swift.Result) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
- @discardableResult
final public func loadData(with request: Nuke.ImageRequest, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
@discardableResult
- final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ final public func loadData(with request: Nuke.ImageRequest, queue: Dispatch.DispatchQueue? = nil, progress progressHandler: ((_ completed: Swift.Int64, _ total: Swift.Int64) -> Swift.Void)?, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
final public func imagePublisher(with url: Foundation.URL) -> Combine.AnyPublisher
final public func imagePublisher(with request: Nuke.ImageRequest) -> Combine.AnyPublisher
+ @available(*, deprecated, message: "Please the variant variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func loadData(with url: Foundation.URL, completion: @escaping (Swift.Result<(data: Foundation.Data, response: Foundation.URLResponse?), Nuke.ImagePipeline.Error>) -> Swift.Void) -> Nuke.ImageTask
+ #if compiler(>=5.3) && $AsyncAwait
+ @available(*, deprecated, message: "Please the variant that accepts `ImageRequest` as a parameter")
+ @discardableResult
+ final public func data(for url: Foundation.URL) async throws -> (Foundation.Data, Foundation.URLResponse?)
+ #endif
}
final public class DataLoader : Nuke.DataLoading, @unchecked Swift.Sendable {
final public let session: Foundation.URLSession
@@ -360,6 +361,7 @@ public protocol ImagePipelineDelegate : AnyObject, Swift.Sendable {
func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -377,6 +379,7 @@ extension Nuke.ImagePipelineDelegate {
public func shouldDecompress(response: Nuke.ImageResponse, for request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Swift.Bool
public func decompress(response: Nuke.ImageResponse, request: Nuke.ImageRequest, pipeline: Nuke.ImagePipeline) -> Nuke.ImageResponse
public func imageTaskCreated(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
+ public func imageTask(_ task: Nuke.ImageTask, didReceiveEvent event: Nuke.ImageTask.Event, pipeline: Nuke.ImagePipeline)
public func imageTaskDidStart(_ task: Nuke.ImageTask, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didUpdateProgress progress: Nuke.ImageTask.Progress, pipeline: Nuke.ImagePipeline)
public func imageTask(_ task: Nuke.ImageTask, didReceivePreview response: Nuke.ImageResponse, pipeline: Nuke.ImagePipeline)
@@ -446,26 +449,6 @@ extension Nuke.ImageProcessors {
}
}
}
-@_hasMissingDesignatedInitializers final public class AsyncImageTask : Swift.Sendable {
- final public var priority: Nuke.ImageRequest.Priority {
- get
- set
- }
- #if compiler(>=5.3) && $EffectfulProp
- final public var image: Nuke.PlatformImage {
- get async throws
- }
- #endif
- #if compiler(>=5.3) && $EffectfulProp
- final public var response: Nuke.ImageResponse {
- get async throws
- }
- #endif
- final public let previews: _Concurrency.AsyncStream
- final public let progress: _Concurrency.AsyncStream
- final public func cancel()
- @objc deinit
-}
extension Nuke.ImageProcessors {
public struct GaussianBlur : Nuke.ImageProcessing, Swift.Hashable, Swift.CustomStringConvertible {
public init(radius: Swift.Int = 8)
@@ -751,7 +734,10 @@ extension Nuke.ImagePipeline {
public var isResumableDataEnabled: Swift.Bool
public var isLocalResourcesSupportEnabled: Swift.Bool
public var callbackQueue: Dispatch.DispatchQueue
- public static var isSignpostLoggingEnabled: Swift.Bool
+ public static var isSignpostLoggingEnabled: Swift.Bool {
+ get
+ set
+ }
public var dataLoadingQueue: Foundation.OperationQueue
@available(*, deprecated, message: "The pipeline now performs cache lookup on the internal queue, reducing the amount of context switching")
public var dataCachingQueue: Foundation.OperationQueue
@@ -787,7 +773,7 @@ extension Nuke.ImagePipeline {
get
set
}
- final public var progress: Nuke.ImageTask.Progress {
+ final public var currentProgress: Nuke.ImageTask.Progress {
get
}
public struct Progress : Swift.Hashable, Swift.Sendable {
@@ -816,6 +802,31 @@ extension Nuke.ImagePipeline {
get
}
}
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var image: Nuke.PlatformImage {
+ get async throws
+ }
+ #endif
+ #if compiler(>=5.3) && $EffectfulProp
+ final public var response: Nuke.ImageResponse {
+ get async throws
+ }
+ #endif
+ final public var progress: _Concurrency.AsyncStream {
+ get
+ }
+ final public var previews: _Concurrency.AsyncStream