아마 서버가 연결된 놋북은 안될지도 모르지만 ㅋ
본체는 될 듯
서버가 아쉽지만 본체는 쓸 때만 켜면 되니 더 굿 ㅋ
아마 서버가 연결된 놋북은 안될지도 모르지만 ㅋ
본체는 될 듯
서버가 아쉽지만 본체는 쓸 때만 켜면 되니 더 굿 ㅋ
I've just completed pretty much the same and ran into the same problems but eventually I got it working.
Create a View Controller class in Xcode called Test1ViewController and add the following:
@interface Test1ViewController : UIViewController {
IBOutlet UITabBarController *tbc;
}
@property (nonatomic,retain) IBOutlet UITabBarController *tbc;
@end
Create a View XIB called Test1View
Add a TabBarViewController to the XIB
Set the File's Owner in the XIB to be the Test1ViewController.
Connect the tbc IBOutlet in the File's Owner to the Tab Bar Controller in the XIB.
Connect the view IBOutlet in the File's Owner to the View in the XIB.
In your SplashViewController.h add the property
Test1ViewController *tabBarViewController;
Synthesize the tabBarViewController in your SplashViewController.m.
Replace your TabBarController creation code in your loadView method in SplashViewController with the following:
tabBarViewController = [[Test1ViewController alloc] initWithNibName:
@"Test1View" bundle:[NSBundle mainBundle]];
tabBarViewController.view.alpha = 0.0;
[self.view addSubview:[tabBarViewController view]];
Here's the bit that was missing for me. In Test1ViewController.m, you need to add the following line to the viewDidLoad method:
self.view = tbc.view;
Finally, I also had to change the finishedFading method in SplashViewController.m to set the alpha to 1.0 on the tabBarViewController view.
-(void) finishedFading
{
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.75];
self.view.alpha = 1.0;
tabBarViewController.view.alpha = 1.0;
[UIView commitAnimations];
[splashImageView removeFromSuperview];
}
I hope this helps.
SpashView는 TabBarViewController를 불러올 화면이다.
늘상 처음하는 환경엔 겁먹고 시작하는 지라 이번에도
==와 =를 헷갈리고 나서 엉뚱한 데서 문제를 찾는가하면
이번에도 역시나!! 거의 오고나서 마지막에 헤맸다
TabBarController를 View왁 같이두고 TabBarController의 뷰를 바꿔주면 되는 것을!!
자세한 것은 위에 적는다.
1. medical basic : 6/6
2. medical informatics : 6/6
3. medical : 3/6
4. paper : 3/6
5. research morality : 0/2
next semester medical 3 r.m 2 + cs 3
next, next semester cs3 paper3?