Created
June 9, 2021 12:00
-
-
Save ChrisMash/81f3cc7226df69384a7870b076aed387 to your computer and use it in GitHub Desktop.
A very simple ObjC class and struct example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct OCStruct { | |
NSInteger integer; | |
}; | |
@interface OCClass : NSObject | |
- (NSInteger)getInt; | |
- (NSString* _Nonnull)intToStringWith:(NSInteger)integer; | |
- (NSString* _Nullable)tryIntToStringWith:(NSInteger)integer; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment