rvi / ONVIFCamera

Pod and example on how to connect to an ONVIF camera
MIT License
88 stars 18 forks source link

Objective C Example for ONVIFCamera pod #13

Open PlasmaSoftUK opened 4 years ago

PlasmaSoftUK commented 4 years ago

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

rvi commented 3 years ago

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>