intuit / CardParts

A reactive, card-based UI framework built on UIKit for iOS developers.
Other
2.52k stars 224 forks source link

Implementation of CardPart Video View #265

Closed badrinathvm closed 4 years ago

badrinathvm commented 4 years ago

Before you make a Pull Request, read the important guidelines:

Implementation of CardPartVideoView.

Video_iOS

Issue Link :link:

Goals of this PR :tada:

How Has This Been Tested :mag:

Please let us know if you have tested your PR and if we need to reproduce the issues. Also, please let us know if we need any relevant information for running the tests.

Test Configuration :space_invader:

Things to check on :dart:

rcole34 commented 4 years ago

@croossin @bharathmurs this seems to be working fine for Badari, but I wasn't sure if this is the "CardParts" way of adding a subview from another controller? I was thinking he might need to set the viewController property of the CardPartsVideoView to get this snippet from setupCardParts to run, but it seems to work without that also https://github.com/intuit/CardParts/blob/master/CardParts/src/Classes/CardPartsViewController.swift#L85:L88

badrinathvm commented 4 years ago

@rcole34 self.viewContoller.addChild(.. https://github.com/intuit/CardParts/pull/265/commits/c2c0e5cab62407d843b4f0dfb8a46d3ac6bc6930 from CardPartView is being removed in CardPartVideoView, the above comment might is not valid anymore.

croossin commented 4 years ago

Just curious does this support picture-in-picture out of the box