#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];
}