Skip to content

Commit

Permalink
Merge pull request #25 from gigigoapps/feature/OpenRecordingFunction
Browse files Browse the repository at this point in the history
Feature/open recording function
  • Loading branch information
udelunar authored May 9, 2018
2 parents 3688388 + 6c82620 commit cc16c08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/GIGUtils/ScreenRecord/ScreenRecord.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@
import Foundation
import ReplayKit

protocol ScreenRecordUI: class {
public protocol ScreenRecordUI: class {
func dismissView()
func showPreview(viewController: UIViewController)
func errorRecording(error: Error)
}

protocol ScreenRecordInput {
public protocol ScreenRecordInput {
func startRecording()
func stopRecording()
}

open class ScreenRecord: NSObject {

weak var view: ScreenRecordUI?
public weak var view: ScreenRecordUI?
var recorder: RPScreenRecorder

override init() {
public override init() {
self.recorder = RPScreenRecorder.shared()
self.recorder.isMicrophoneEnabled = true
}
Expand Down

0 comments on commit cc16c08

Please sign in to comment.