You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.
in my project I used PSOperations, and I have subclassed Operation like so: class NetworkBlockOperation : Operation { .... }
where I override execute()
but Operation is not defined in that file, so I get a "Cannot find interface declaration for 'Operation'" build error. My subclass contains import PSOperations, and Operation descends from NSOperation. Is there anything more I need to declare to have it compile the ObjC header? I don't really use it in ObjC, so if there is anything I can do to not have it appear in the header file, that would also solve my issue.
Cheers
Nik
The text was updated successfully, but these errors were encountered:
Hi,
in my project I used PSOperations, and I have subclassed
Operation
like so:class NetworkBlockOperation : Operation { .... }
where I override
execute()
I use PSOperations through CocoaPods,
When I compile, my -Swift.h file contains:
but Operation is not defined in that file, so I get a "Cannot find interface declaration for 'Operation'" build error. My subclass contains
import PSOperations
, and Operation descends from NSOperation. Is there anything more I need to declare to have it compile the ObjC header? I don't really use it in ObjC, so if there is anything I can do to not have it appear in the header file, that would also solve my issue.Cheers
Nik
The text was updated successfully, but these errors were encountered: