Created
July 2, 2025 12:22
-
-
Save pookjw/91fe2dab812e2aabecb01bf2905b64d4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#import <Foundation/Foundation.h> | |
@interface FooObject : NSObject | |
@end | |
@implementation FooObject | |
- (NSString *)getTitle { | |
abort(); | |
} | |
- (NSString *)title { | |
abort(); | |
} | |
- (NSString *)isTitle { | |
abort(); | |
} | |
- (NSString *)_getTitle { | |
abort(); | |
} | |
- (NSString *)_title { | |
abort(); | |
} | |
@end | |
int main(int argc, const char * argv[]) { | |
@autoreleasepool { | |
[[FooObject new] valueForKey:@"title"]; | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment