lvnkmn / Zoomy

Adds seamless scrollView and instagram like zooming to UIImageViews in any view hierarchy.
MIT License
206 stars 25 forks source link

Need to zoom in 3rd layer like uitableview->uitableviewcell->collectionview->uicollectionviewcell's imageview #59

Closed susheelopenxcell closed 5 years ago

susheelopenxcell commented 5 years ago

I need to zoom an image from uitabelview -> uitableviewcell -> collectionview -> uicollectionviewcell -> imageview.

So i have to use addZoombehavior(for: imageView) method in uitableviewcell and i cant access rightnow so kindly help me to solve this.

lvnkmn commented 5 years ago

From where are you trying to access it?

susheelopenxcell commented 5 years ago

I am trying to access it from uitableviewcell.

Susheel Parmar SR. Software Engineer - iOS Openxcell Technolabs Pvt. Ltd.

On Wed, Jan 23, 2019 at 12:00 AM Menno Lovink notifications@github.com wrote:

From where are you trying to access it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mennolovink/Zoomy/issues/59#issuecomment-456510302, or mute the thread https://github.com/notifications/unsubscribe-auth/APrGgpD8MXhKXvKr3K6oh_MftA6VJ9Tpks5vF1i1gaJpZM4aMd7f .

lvnkmn commented 5 years ago

If you'd like to acces it from the cell, here's the most direct way to achieve this: Import Zoomy, make sure the tableviewcell conforms to CanManageZoomBehaviors and the addZoomBehavior method should be accessible. Hope this works for you!