Results 1 to 2 of 2
Discuss Cascading drill down application in 2 level. at the iPhone Developer Exchange - Hackint0sh.org; Hi! What I have got only 4 views. ViewMaster1-ViewDetail1-ViewMaster2-ViewDetail2. For the ViewMaster1-ViewDetail1 are many samples. ...
  1. #1
    Newbie Array

    Join Date
    Nov 2008
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Cascading drill down application in 2 level.

    Hi!

    What I have got only 4 views.

    ViewMaster1-ViewDetail1-ViewMaster2-ViewDetail2.

    For the ViewMaster1-ViewDetail1 are many samples. But how to realize drill from ViewMaster2-ViewDetail2? And make back button for the ViewMaster2?

    Any ideas?

    Thanks a lot for any solution...



  2. #2
    Newbie Array

    Join Date
    Nov 2008
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    In common way we use

    PHP Code:
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
        
    // Navigation logic -- create and push a new view controller
        
        // Set up the cell
        
    MyTestAppDelegate *appDelegate = (MyTestAppDelegate *)[[UIApplication sharedApplicationdelegate];
        
    Question *question = (Question *)[appDelegate.questions objectAtIndex:indexPath.row];
        
        if(
    self.selectedQuestionView == nil) {
            
    SelectedQuestionController *viewController = [[SelectedQuestionController allocinitWithNibName:@"SelectedQuestionView" bundle:nil];
            
    self.selectedQuestionView viewController;
            [
    viewController release];
        }
        
        
    // Setup the animation
        
    [self.navigationController pushViewController:self.selectedQuestionView animated:YES];
        
    // Set the title of the view to the question's name
        
    self.selectedQuestionView.title = [question qHeader];
        
    // Set of the complete description of the question
        
    [self.selectedQuestionView.completeQuestion  setText:[question qText]]; 
    But for the ViewDetal2 it is does not work.

 

 

Similar Threads

  1. MacNN: Apps: Disk Drill, BatchOutput Server, Lux Delux
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 06-03-2011, 07:20 PM
  2. MacNN: Apps: Mail Archiver X, Disk Drill, ImageLobe
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 04-19-2011, 04:10 PM
  3. MacNN: Recovery tool Disk Drill updated to version 1.2
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 03-21-2011, 11:40 PM
  4. MacNN: Disk Drill gets 'final release' to version 1.1
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 03-07-2011, 06:20 AM
  5. Replies: 0
    Last Post: 10-05-2010, 10:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 09:10 PM.
twitter, follow us!