Skip to content

Instantly share code, notes, and snippets.

@zoul
Created November 16, 2011 10:04
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 zoul/1369738 to your computer and use it in GitHub Desktop.
Save zoul/1369738 to your computer and use it in GitHub Desktop.
IBOutlets in private interfaces
#import "Foo.h"
// Private Foo interface. The IBOutlet will get picked up by Interface Builder!
@interface Foo ()
@property(strong) IBOutlet UIView *someView;
@end
@implementation Foo
@synthesize someView;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment