Commit c3b5a1b4 authored by Stanisław Chmiela's avatar Stanisław Chmiela
Browse files

Add new RCTVideoPlayerViewControllerDelegate protocol

parent 79fac2b2
Loading
Loading
Loading
Loading
+2 −0
Changes for RCTVideo.xcodeproj/project.pbxproj: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@
		31CAFB201CADA8CD009BCF6F /* UIView+FindUIViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+FindUIViewController.m"; sourceTree = "<group>"; };
		31CAFB2D1CADC77F009BCF6F /* RCTVideoPlayerViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTVideoPlayerViewController.h; sourceTree = "<group>"; };
		31CAFB2E1CADC77F009BCF6F /* RCTVideoPlayerViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTVideoPlayerViewController.m; sourceTree = "<group>"; };
		31CAFB301CAE6B5F009BCF6F /* RCTVideoPlayerViewControllerDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTVideoPlayerViewControllerDelegate.h; sourceTree = "<group>"; };
		BBD49E391AC8DEF000610F8E /* RCTVideo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTVideo.h; sourceTree = "<group>"; };
		BBD49E3A1AC8DEF000610F8E /* RCTVideo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTVideo.m; sourceTree = "<group>"; };
		BBD49E3B1AC8DEF000610F8E /* RCTVideoManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTVideoManager.h; sourceTree = "<group>"; };
@@ -62,6 +63,7 @@
				31CAFB1F1CADA8CD009BCF6F /* UIView+FindUIViewController.h */,
				31CAFB201CADA8CD009BCF6F /* UIView+FindUIViewController.m */,
				BBD49E391AC8DEF000610F8E /* RCTVideo.h */,
				31CAFB301CAE6B5F009BCF6F /* RCTVideoPlayerViewControllerDelegate.h */,
				BBD49E3A1AC8DEF000610F8E /* RCTVideo.m */,
				31CAFB2D1CADC77F009BCF6F /* RCTVideoPlayerViewController.h */,
				31CAFB2E1CADC77F009BCF6F /* RCTVideoPlayerViewController.m */,
+15 −0
Changes for RCTVideoPlayerViewControllerDelegate.h: 15 added lines, 0 removed lines.
Original line number Diff line number Diff line
//
//  RCTVideoPlayerViewControllerDelegate.h
//  RCTVideo
//
//  Created by Stanisław Chmiela on 01.04.2016.
//  Copyright © 2016 Facebook. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AVKit/AVKit.h"

@protocol RCTVideoPlayerViewControllerDelegate <NSObject>
- (void)videoPlayerViewControllerWillDismiss:(AVPlayerViewController *)playerViewController;
- (void)videoPlayerViewControllerDidDismiss:(AVPlayerViewController *)playerViewController;
@end
+1 −0
Changes for package.json: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@
    "UIView+FindUIViewController.m",
    "RCTVideoPlayerViewController.h",
    "RCTVideoPlayerViewController.m",
    "RCTVideoPlayerViewControllerDelegate.h",
    "Video.js",
    "VideoResizeMode.js",
    "react-native-video.podspec"