Skip to content

Instantly share code, notes, and snippets.

@jdewind
Created August 18, 2013 00:28
Show Gist options
  • Save jdewind/6259332 to your computer and use it in GitHub Desktop.
Save jdewind/6259332 to your computer and use it in GitHub Desktop.
@interface Car
@property(nonatomic, strong) Engine *engine;
@property(nonatomic, strong) Car *car;
@end
@implementation Car
objection_requires(@"car", @"engine")
@synthesize car, engine;
- (void)awakeFromObjection {
// Alert!
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment