Skip to content

Commit

Permalink
rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
Loren committed Oct 25, 2011
1 parent 65addb3 commit c123c1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
4 changes: 1 addition & 3 deletions lib/UIKit/TUIViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@

@property(nonatomic,assign) TUIViewController *parentViewController; // If this view controller is inside a navigation controller or tab bar controller, or has been presented modally by another view controller, return it.

/* deprecated */
- (TUIView *)setupStandardViewInnerClippingView __attribute__((deprecated)); // returns inner clipping view
@property(nonatomic, readonly) TUIView *clippingView __attribute__((deprecated)); // available when you use setupStandardViewInnerClippingView
- (TUIView *)setupStandardView; // don't use this

@end
10 changes: 1 addition & 9 deletions lib/UIKit/TUIViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,7 @@ - (TUIResponder *)initialFirstResponder
return _view.initialFirstResponder;
}


/* deprecated - these will be removed */

- (TUIView *)setupStandardViewInnerClippingView // returns inner clipping view
- (TUIView *)setupStandardView
{
TUIView *v = [[TUIView alloc] initWithFrame:CGRectMake(0, 0, 500, 500)];
v.backgroundColor = [TUIColor colorWithWhite:0.96 alpha:1.0];
Expand All @@ -122,9 +119,4 @@ - (TUIView *)setupStandardViewInnerClippingView // returns inner clipping view
return v;
}

- (TUIView *)clippingView
{
return _view;
}

@end

0 comments on commit c123c1f

Please sign in to comment.