Note that there are some explanatory texts on larger screens.

plurals
  1. POXcode - warning problem
    primarykey
    data
    text
    <p>I have a navigation controller that utilizes an if statement to switch between the different views, and when i run it it comes up with a warning on the line:</p> <pre><code>ROSS_APP_7AppDelegate *delegate = [[UIApplication sharedApplication] delegate]; </code></pre> <p>warning: type 'id ' does not conform to the 'UITabBarControllerDelegate' protocol</p> <p>I'd like some help on how to get rid of this warning. Here is the whole if statement:</p> <pre><code>if(indexPath.row == 0) { MapDetailController *mapD = [[MapDetailController alloc] initWithNibName:@"MapDetailController" bundle:nil]; self.mapDetailController = mapD; [mapD release]; mapDetailController.title = [NSString stringWithFormat:@"%@", [moreArray objectAtIndex:row]]; ROSS_APP_7AppDelegate *delegate = [[UIApplication sharedApplication] delegate]; [delegate.moreNavController pushViewController:mapDetailController animated:YES]; } </code></pre> <p>Thanks</p> <p>EDIT: Here is what my AppDelegate looks like (response to answer #2)</p> <pre><code>#import &lt;UIKit/UIKit.h&gt; @class MoreNavController; @interface ROSS_APP_7AppDelegate : NSObject &lt;UIApplicationDelegate, UITabBarControllerDelegate&gt; { UIWindow *window; IBOutlet UITabBarController *tabBarController; IBOutlet MoreNavController *moreNavController; } @property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) IBOutlet UITabBarController *tabBarController; @property (nonatomic, retain) IBOutlet MoreNavController *moreNavController; @end </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload