rootViewController クラスが CoursesTableViewController に設定されたストーリーボードがあります。
appDelegate で、この例のように型キャストを使用する必要があるのはなぜですか...
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
CoursesTableViewController *cvtc
= (CoursesTableViewController *)self.window.rootViewController;
なぜ私はこれを行うことができないのですか...
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
CoursesTableViewController *cvtc = self.window.rootViewController;