Skip to content

Add support for loading image into TVPosterView#602

Merged
kean merged 1 commit into
kean:masterfrom
lukaskukacka:tvposterview_imagedisplaying_support
Sep 17, 2022
Merged

Add support for loading image into TVPosterView#602
kean merged 1 commit into
kean:masterfrom
lukaskukacka:tvposterview_imagedisplaying_support

Conversation

@lukaskukacka

Copy link
Copy Markdown

TVPosterView now supports loading image using Nuke out-of-the-box (TVPosterView now conforms to Nuke_ImageDisplaying).

TVPosterView is a crucial UI component on tvOS.
While it is easy to add this conformance in your project, imho it is nice to have it out of the box in the library.


In my specific case, having it directly in the library is actually the only way to make my whole project to compile.

Custom conformance in my project worked fine with Nuke v. 10, but since update to v. 11 (which moves these extensions to NukeExtensions), using custom extension will no longer compile.

I guess it is caused by how Swift access control works + specific setup of my project (private frameworks with multi-level hierarchy + Nuke hidden privately in one of private frameworks under custom wrapper interface).


Thanks a lot for considering my change.
And big thanks for your time and effort on this amazing library! 🙂

`TVPosterView` now supports loading image using Nuke out-of-the-box
(`TVPosterView` now conforms to `Nuke_ImageDisplaying`)
@kean

kean commented Sep 17, 2022

Copy link
Copy Markdown
Owner

Thanks for the contribution, @lukaskukacka. I appreciate that you even added a unit test.

@kean kean merged commit 9701648 into kean:master Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants