![]() |
VOOZH | about |
dotnet add package SwiftBindings.Nuke --version 13.0.9
NuGet\Install-Package SwiftBindings.Nuke -Version 13.0.9
<PackageReference Include="SwiftBindings.Nuke" Version="13.0.9" />
<PackageVersion Include="SwiftBindings.Nuke" Version="13.0.9" />Directory.Packages.props
<PackageReference Include="SwiftBindings.Nuke" />Project file
paket add SwiftBindings.Nuke --version 13.0.9
#r "nuget: SwiftBindings.Nuke, 13.0.9"
#:package SwiftBindings.Nuke@13.0.9
#addin nuget:?package=SwiftBindings.Nuke&version=13.0.9Install as a Cake Addin
#tool nuget:?package=SwiftBindings.Nuke&version=13.0.9Install as a Cake Tool
Native Swift interop bindings for Nuke, a powerful image loading and caching framework for Swift. These are not Objective-C proxy wrappers — they use .NET 10's native Swift interop for direct, high-performance calls into Swift APIs from C#.
dotnet add package SwiftBindings.Nuke
using Nuke;
var pipeline = ImagePipeline.Shared;
var request = new ImageRequest("https://example.com/photo.jpg");
var image = await pipeline.ImageAsync(request);
var pipeline = ImagePipeline.Shared;
var tasks = urls.Select(url => Task.Run(async () =>
{
var request = new ImageRequest(url);
return await pipeline.ImageAsync(request);
}));
var images = await Task.WhenAll(tasks);
// Configure the image cache
var cache = ImageCache.Shared;
cache.CostLimit = 50_000_000; // 50 MB
cache.CountLimit = 200;
cache.Ttl = 300.0; // 5 minutes
// Data cache with compression
var dataCache = new DataCache("my-cache");
dataCache.SizeLimit = 100_000_000; // 100 MB
dataCache.IsCompressionEnabled = true;
// Clear all cached data
pipeline.Cache.RemoveAll();
var prefetcher = new ImagePrefetcher(ImagePipeline.Shared);
prefetcher.Priority = ImageRequest.PriorityType.High;
// ...
prefetcher.StopPrefetching();
These bindings are auto-generated by Swift Dotnet Bindings using .NET 10's native Swift interop via the SwiftBindings SDK.
Only needed if you're contributing or building the package locally.
# One-time: install the pinned Nuke CLI from .config/dotnet-tools.json
dotnet tool restore
# Build the package end-to-end (xcframework + bindings + dotnet build)
dotnet nuke BuildLibrary --library Nuke
The bindings are MIT licensed. Nuke itself is MIT licensed — see Nuke's license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-ios26.0 net10.0-ios26.0 is compatible. net10.0-macos26.0 net10.0-macos26.0 is compatible. net10.0-tvos26.0 net10.0-tvos26.0 is compatible. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.