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 Aug 4, 2019. It is now read-only.
#if TARGET_OS_IPHONE
// do iOS stuff
#else// do OS X stuff
#endif
However this should be avoid if possible. For example UIView can be replaced with OCTView, which would be typedef'd to UIView or NSView somewhere in the code.
The text was updated successfully, but these errors were encountered:
Maybe OCTAudioEngine and OCTVideoEngine should be made user-serviceable (as in file conduits)?
We could provide separate iOS and OS X implementations without a lot of preprocessor stuff.
It depends on how much common code they both have. For example if you'll look at AudioEngine, all code it has is suitable for both iOS and OS X, differences are in
Platform dependent should be wrapped to
However this should be avoid if possible. For example
UIView
can be replaced withOCTView
, which would be typedef'd toUIView
orNSView
somewhere in the code.The text was updated successfully, but these errors were encountered: