Skip to content

Commit

Permalink
Adds IBOutlet to delegate properties
Browse files Browse the repository at this point in the history
Summary: Makes delegates designable using interface builder.

Test Plan: Tried designing delegates using IB. Ran unit tests.

Reviewers: clang, ayden, mmarucheck

Reviewed By: mmarucheck

CC: msdkexp@

Differential Revision: https://phabricator.fb.com/D546635

Task ID: 1342888
  • Loading branch information
Jason Clark committed Aug 13, 2012
1 parent 26e2f44 commit b67cae9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/FBLoginView.h
Expand Up @@ -55,7 +55,7 @@
@abstract
The delegate object that receives updates for selection and display control.
*/
@property (nonatomic, assign) id<FBLoginViewDelegate> delegate;
@property (nonatomic, assign) IBOutlet id<FBLoginViewDelegate> delegate;

@end

Expand Down
2 changes: 1 addition & 1 deletion src/FBViewController.h
Expand Up @@ -96,7 +96,7 @@ typedef void (^FBModalCompletionHandler)(FBViewController *sender, BOOL donePres
The delegate that will be called when Cancel or Done is pressed. Derived classes may specify
derived types for their delegates that provide additional functionality.
*/
@property (nonatomic, assign) id<FBViewControllerDelegate> delegate;
@property (nonatomic, assign) IBOutlet id<FBViewControllerDelegate> delegate;

/*!
@abstract
Expand Down

0 comments on commit b67cae9

Please sign in to comment.