I am totally new in swift, so if I am asking a stupid question I apologise in advance :)
I want to call my "didOutput" method from ViewController in my SampleHandler swift file. Please see the attachments below for swift files,( I just kept the related code parts in the attachments) :
When I am debugging, my code comes till delegate?.didOutput(pixelBuffer: imagePixelBuffer) line in SampleHandler.swift file but it does not pass to didOutput method in ViewContoller.swift file. Am I doing something wrong when I am implementing or declaring delegate classes and methods?
Thanks a lot in advance.
Best Regards
PS: This is my folder structure, I tried to add as screenshot but it did not work. So my files are under different folders:
ReplayKitExample ->project
ReplayKitExample ->folder
ViewController.swift
BroadcastExtension->folder
SampleHandler.swift