ONVIFCamera icon indicating copy to clipboard operation
ONVIFCamera copied to clipboard

Objective C Example for ONVIFCamera pod

Open PlasmaSoftUK opened this issue 4 years ago • 1 comments

I'm trying to use this pod in an Objective C project that covers tvOS and iPadOS, however I can't seem to figure out how to import the correct headers. After configuring the Pod I then try to import the headers:

Screenshot 2020-05-30 at 09 50 18

These are the only 2 it offers, and even after importing both, I still cannot use the "ONVIFCamera" type.

Screenshot 2020-05-30 at 09 57 21

Once I can overcome this I'm reasonably sure I can translate the Swift example in to objective C, I just can't seem to get over the first hurdle.

Do you have an Objective C sample project you could add, or give me some pointers as to how I can import the pod so its usable?

Many Thanks

Plasma

PlasmaSoftUK avatar May 30 '20 08:05 PlasmaSoftUK

Sorry for the late reply, somehow, github notifications are going to my spam folder.

Unfortunately I never tried on Objective-C I would imagine you could do:

#import <ONVIFCamera/ONVIFCamera.h>

rvi avatar Jul 30 '21 08:07 rvi