Skip to content

Commit

Permalink
Merge pull request #104 from GiacomoLeopizzi/weak_delegate
Browse files Browse the repository at this point in the history
Added weak
  • Loading branch information
AFathi authored Feb 20, 2020
2 parents cabc553 + 62ed6bc commit 24d9220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ARVideoKit/Sources/RecordAR.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ import PhotosUI
/**
An object that passes the AR recorder errors and status in the protocol methods.
*/
@objc public var delegate: RecordARDelegate?
@objc weak public var delegate: RecordARDelegate?
/**
An object that passes the AR rendered content in the protocol method.
*/
@objc public var renderAR: RenderARDelegate?
@objc weak public var renderAR: RenderARDelegate?
/**
An object that returns the AR recorder current status.
*/
Expand Down

0 comments on commit 24d9220

Please sign in to comment.