Skip to content

Commit

Permalink
Rename -initWithWindow to avoid possible App rejection
Browse files Browse the repository at this point in the history
  • Loading branch information
hboon committed Feb 17, 2010
1 parent bd7c9ff commit 24d2427
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MBProgressHUD.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ typedef enum {
* @param window The window instance that will provide the bounds for the HUD. Should probably be the same instance as
* the HUD's superview (i.e., the window that the HUD will be added to).
*/
- (id)initWithWindow:(UIWindow *)window;
- (id)initWithViewWindow:(UIWindow *)window;

/**
* A convenience constructor that initializes the HUD with the view's bounds. Calls the designated constructor with
Expand Down
2 changes: 1 addition & 1 deletion MBProgressHUD.m
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ - (void)updateIndicators {
#pragma mark -
#pragma mark Lifecycle methods

- (id)initWithWindow:(UIWindow *)window {
- (id)initWithViewWindow:(UIWindow *)window {
return [self initWithView:window];
}

Expand Down

0 comments on commit 24d2427

Please sign in to comment.