An open API service indexing awesome lists of open source software.

https://github.com/trinnguyen/nytphotoviewer-xamarin

Xamarin.iOS Binding Library for NYTPhotoViewer
https://github.com/trinnguyen/nytphotoviewer-xamarin

Last synced: 20 days ago
JSON representation

Xamarin.iOS Binding Library for NYTPhotoViewer

Awesome Lists containing this project

README

        

# NYTPhotoViewer for Xamarin.iOS

[![NuGet version](https://badge.fury.io/nu/Xamarin.NYTPhotoViewer.svg)](https://badge.fury.io/nu/Xamarin.NYTPhotoViewer)

- Latest release of NYTPhotoViewer
- Support loading remote image with FFImageLoading
- Nuget: https://www.nuget.org/packages/Xamarin.NYTPhotoViewer

```
Install-Package Xamarin.NYTPhotoViewer
```

## Orignal library
https://github.com/NYTimes/NYTPhotoViewer

## Usage
```csharp
NYTPhotoViewerArrayDataSource dataSource = CreatePhotoDatasource();
NYTPhotosViewController controller = new NYTPhotosViewController(_dataSource, 0, null);
controller.WeakDelegate = this;
PresentViewController(controller, true, null);
```

- Checkout the Demo project to learn more