SwiftBindings.Nuke
13.0.7
dotnet add package SwiftBindings.Nuke --version 13.0.7
NuGet\Install-Package SwiftBindings.Nuke -Version 13.0.7
<PackageReference Include="SwiftBindings.Nuke" Version="13.0.7" />
<PackageVersion Include="SwiftBindings.Nuke" Version="13.0.7" />
<PackageReference Include="SwiftBindings.Nuke" />
paket add SwiftBindings.Nuke --version 13.0.7
#r "nuget: SwiftBindings.Nuke, 13.0.7"
#:package SwiftBindings.Nuke@13.0.7
#addin nuget:?package=SwiftBindings.Nuke&version=13.0.7
#tool nuget:?package=SwiftBindings.Nuke&version=13.0.7
SwiftBindings.Nuke
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#.
Installation
dotnet add package SwiftBindings.Nuke
Requirements
- .NET 10.0+
- iOS 15.0+
- macOS host for development
Usage
Load an image
using Nuke;
var pipeline = ImagePipeline.Shared;
var request = new ImageRequest("https://example.com/photo.jpg");
var image = await pipeline.ImageAsync(request);
Concurrent loading
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);
Cache management
// 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();
Prefetching
var prefetcher = new ImagePrefetcher(ImagePipeline.Shared);
prefetcher.Priority = ImageRequest.PriorityType.High;
// ...
prefetcher.StopPrefetching();
How It Works
These bindings are auto-generated by Swift Dotnet Bindings using .NET 10's native Swift interop via the SwiftBindings SDK.
Building from Source
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
License
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 is compatible. net10.0-macos26.0 is compatible. net10.0-tvos26.0 is compatible. |
-
net10.0-ios26.0
- SwiftBindings.Apple (>= 26.2.5)
- SwiftBindings.Runtime (>= 0.12.1 && < 0.13.0)
-
net10.0-macos26.0
- SwiftBindings.Apple (>= 26.2.5)
- SwiftBindings.Runtime (>= 0.12.1 && < 0.13.0)
-
net10.0-tvos26.0
- SwiftBindings.Apple (>= 26.2.5)
- SwiftBindings.Runtime (>= 0.12.1 && < 0.13.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 13.0.7 | 93 | 6/1/2026 |
| 13.0.6 | 115 | 5/19/2026 |
| 12.8.1 | 108 | 5/3/2026 |
| 12.8.0 | 124 | 4/2/2026 |
| 12.8.0-preview.2 | 65 | 3/27/2026 |