cocoaTouch/DetailViewController.h
author koda
Tue, 06 Apr 2010 02:39:06 +0000
changeset 3308 b6dcae4b6d2c
parent 3305 91074496d5c9
child 3321 988e39ef3c20
permissions -rw-r--r--
make the tables work also on iphone make the popover menu work also on iphone
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3305
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     1
//
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     2
//  DetailViewController.h
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     3
//  HedgewarsMobile
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     4
//
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     5
//  Created by Vittorio on 27/03/10.
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     7
//
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     8
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     9
#import <UIKit/UIKit.h>
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    10
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    11
#if __IPHONE_OS_VERSION_MAX_ALLOWED < __IPHONE_3_2
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    12
@interface DetailViewController : UITableViewController <UIPopoverControllerDelegate, UISplitViewControllerDelegate> {
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    13
#else
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    14
@interface DetailViewController : UITableViewController {
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    15
#endif
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    16
    id popoverController;
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    17
    NSArray *controllers;
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    18
}
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    19
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    20
// used in iphone version
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    21
-(IBAction) dismissSplitView;
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    22
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    23
@property (nonatomic, retain) id popoverController;
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    24
@property (nonatomic, retain) NSArray * controllers;
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    25
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    26
@end