Skip to content

Instantly share code, notes, and snippets.

@pookjw
Created July 2, 2025 12:22
Show Gist options
  • Save pookjw/91fe2dab812e2aabecb01bf2905b64d4 to your computer and use it in GitHub Desktop.
Save pookjw/91fe2dab812e2aabecb01bf2905b64d4 to your computer and use it in GitHub Desktop.
#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