Skip to content

Instantly share code, notes, and snippets.

@amichnia
Created February 16, 2019 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amichnia/54f0d6d94b39f00423404d68618be4ab to your computer and use it in GitHub Desktop.
Save amichnia/54f0d6d94b39f00423404d68618be4ab to your computer and use it in GitHub Desktop.
// SwiftToObjectiveC.h
#ifndef SwiftToObjectiveC_h
#define SwiftToObjectiveC_h
SWIFT_PROTOCOL_NAMED("MyPrivateClassProtocol")
@protocol MyPrivateClassProtocol
- (nonnull instancetype)init;
- (void)doSomethingInternalWithSecretAttribute:(NSInteger)attribute;
@end
#endif /* SwiftToObjectiveC_h */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment