Skip to content

Commit

Permalink
Use instancetype instead of id for init methods
Browse files Browse the repository at this point in the history
  • Loading branch information
gcamp committed Jul 15, 2014
1 parent 8da1871 commit d817284
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions SVWebViewController/SVModalWebViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 12,8 @@

@interface SVModalWebViewController : UINavigationController

- (id)initWithAddress:(NSString*)urlString;
- (id)initWithURL:(NSURL *)URL;
- (instancetype)initWithAddress:(NSString*)urlString;
- (instancetype)initWithURL:(NSURL *)URL;

@property (nonatomic, strong) UIColor *barsTintColor;

Expand Down
4 changes: 2 additions & 2 deletions SVWebViewController/SVWebViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 10,7 @@

@interface SVWebViewController : UIViewController

- (id)initWithAddress:(NSString*)urlString;
- (id)initWithURL:(NSURL*)URL;
- (instancetype)initWithAddress:(NSString*)urlString;
- (instancetype)initWithURL:(NSURL*)URL;

@end

0 comments on commit d817284

Please sign in to comment.