View difference between Paste ID: WTGLgWgs and qu5BRtgu
SHOW: | | - or go back to the newest paste.
1
    first view controller
2
    .h
3
    @property(nonatomic) NSString *tag;
4
    .m
5
     NSLog(@"tag %@",tag);
6
        
7
        if([tag isEqual:@"Meaning"])
8
        {
9
         textView.text = @"abcd";
10
        }
11
        else
12
        {
13
         textView.text=@"efg";
14
    }
15
    
16
    
17
    second view controller
18
    .h
19
    
20
    @property (nonatomic,retain) firstviewcontroller *centerVie
21
    
22
    .m
23
24
     self.sidePanelController.centerPanel = [[firstviewcontroller alloc] init];       
25-
     self.sidePanelController.centerPanel = [[JACenterViewController alloc] init];       
25+