拆掉了,合并,留念,

#pragma main switch

-(IBAction)mainSwitch:(NSNotification *)notification

{

    switch (frameState) {

        case allShow:

        {

            [self showFaceViewFrameHandler:notification];

            [self showUpperViewFrameHandler:notification];

            [self showTableViewFrameHandler:notification];

            [selftextViewDidChange:bottomView.inputTextView];

            break;

 

        }

        case allHide:

        {

            [self hideFaceViewFrameHandler:notification];

            [self hideTableViewFrameHandler:notification];

            [self hideUpperViewFrameHandler:notification];

            break;

 

        }

        case boardHide:

        {

//            [self showUpperViewFrameHandler:notification];

            break;

        }

        case boardShow:

        {

//            [self showUpperViewFrameHandler:notification];

//            [self showTableViewFrameHandler:notification];

            break;

 

        }

        default:

            [self showFaceViewFrameHandler:notification];

            break;

    }

//    [self performSelector:@selector(printFrame) withObject:Nil afterDelay:1.0];

}

原文地址:https://www.cnblogs.com/guligei/p/3508294.html