mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-27 05:57:04 +00:00
When an item created with +tabViewItemWithViewController:, the view is loaded asynchronously Manual test CPTabViewNib have been modified to show a tab view item managed by a view controller. Any setup happens in -viewDidAppear: because we cannot use any more the tabView:didSelectTabViewItem: delegate method.
14 lines
196 B
Plaintext
14 lines
196 B
Plaintext
@implementation TabViewController : CPViewController
|
|
{
|
|
}
|
|
|
|
- (void)viewDidAppear
|
|
{
|
|
CPLog.debug(_cmd);
|
|
var view = [self view];
|
|
|
|
[view setFrameSize:[[view superview] frameSize]];
|
|
}
|
|
|
|
@end
|