deleting the codes below.


//    UIButton *btnCL = [cell.contentView.subviews objectAtIndex:4];
//    [btnCL setSelected:data.isCheck];

//- (CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
//    return UITableViewAutomaticDimension;
//}
//
//- (CGFloat) tableView:(UITableView *)tableView estimatedHeightForRowAtIndexPath:(NSIndexPath *)indexPath {
//    return 150.0f;
//}

   //            UITextField *resn = [alertView textFieldAtIndex:0];
    //            nm = resn.text;
    //
    //            /*
    //            NSString *sss = [cd stringByAppendingString:nm];
    //            [GlobalVar alertMsgOKWithTitle:@"mBASS" message:sss];
    //            return;
    //            */
    //
    //            SqlUtils *db = [[SqlUtils alloc] init];
    //            NSMutableArray *arr = [NSMutableArray arrayWithCapacity:0];
    //
    //            // 재접수정보 저장
    //            for (int i=0; i<[mList count]; i++) {
    //                DFCT_LIST *data = [mList objectAtIndex:i];
    //
    //                if (YES == data.isCheck && YES == [data.cd_hndl_stat isEqualToString:@"E"]) {
    //                    // 체크된거만 재접수 사유 저장
    //                    data.cd_hndl_stat = @"B";
    //
    //                    //[db updateDfct:data.id_mbil reRcptResnCd:cd nm:nm];
    //
    //                    [arr addObject:data];
    //                }
    //
    //                data.isCheck = NO;
    //            }
    //
    //            [db updateDfctArr:arr reRcptResnCd:cd nm:nm];
    //
    //            [mChkAll setSelected:NO];
    //            [self checkAllList:NO];
    //
    //            [mTableView reloadData];
    // }
    // }

// 체크된거만 재접수 사유 저장
                    //[db updateDfct:data.id_mbil reRcptResnCd:cd nm:nm];


            // 재접수정보 저장
            /*
             NSString *sss = [cd stringByAppendingString:nm];
             [GlobalVar alertMsgOKWithTitle:@"mBASS" message:sss];
             return;
             */

// 리턴값 받기 위한 델리게이트
//    v.mDongCd = mDongCd;


//    [mlblStatstics setText:[NSString stringWithFormat:@" 전체:%d건| 접수:%d건|처리:%d건|완료:%d건", total, b, e, d]];

//    NSString *prev_handleStaement = [NSString stringWithFormat:@"%@", mDfct.cd_hndl_stat];
//    otherVCparams[@"cd_stat_prev"] = prev_handleStaement;
//         [otherVCparams setObject:prev_handleStaement forKey:@"cd_stat_prev"];


 
//    NSString *prev_handleStaement = [NSString stringWithFormat:@"%@", mDfct.cd_hndl_stat];
//          [param setObject:prev_handleStaement forKey:@"cd_stat_prev"];
//    otherVCparams = [param copy];
    



    //    if (YES == isAll) {
    //        DDTBT_DONG *data = [[DDTBT_DONG alloc] init];
    //        data.nm_dong = @"전체";
    //
    //        [array addObject:data];
    //    }
    // Open the database from the users filessytem
        // Setup the SQL Statement and compile it for faster access
        

//    NSLog(@"%@", data.cd_loc_clsf);


//    NSLog(@"[cell.contentView.subviews count] = %lu", (unsigned long)[cell.contentView.subviews count]);
    

//
//                    NSLog(@"edtgSelectDfct data.seq_nipt %@", data.seq_nipt);
//                } @catch (NSException *exception) {
//
//                } @finally {
//
//                }



//        if( YES == [mDfct.cd_hndl_stat isEqualToString:@"E"]) {
//            [mBtnVrChk setTitle:@"완료" forState: normal];
//        } else if ( YES == [mDfct.cd_hndl_stat isEqualToString:@"X"]) {
//            [mBtnVrChk setTitle:@"완료취소" forState: normal];
//        }


//        NSString *timberland = [NSString stringWithFormat:@"%@ // %@", mDfct.nm_dfct_ctyp, channel.nm_cpny];

        // 공종,원인,구분
        //        DFCT_LIST *channel = [[DFCT_LIST alloc] init];
        //        NSString *t = [NSString stringWithFormat:@"%d", mDfct.id_rgon];
        //        channel =[db hjhSelectDefect_Qota:mDfct.cd_dong rgon:t][0];


//    SqlUtils *db = [[SqlUtils alloc] init];
//    NSString *cdHandle = [db c8SelectCurrentHandleStatement:mDfct.id_mbil];
//    NSLog(@"cd Handle = %@", cdHandle);
    


The application's Info.plist does not contain CFBundleShortVersionString.
Ensure your bundle contains a CFBundleShortVersionString.


Application windows are expected to have a root view controller at the end of application launch


*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key navigationController.'

NSInternalInconsistencyException

 Compiling IB documents for earlier than iOS 7 is no longer supported. [12]


'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead



//    [myAlertController popoverPresentationController];
//    [alert show];
//    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"" message:message delegate:nil cancelButtonTitle:@"확인" otherButtonTitles:nil];

    
//                  [[NSRunLoop mainRunLoop] runUntilDate:[NSDate dateWithTimeIntervalSinceNow:0.01f]];
    


//    [window.rootViewController presentViewController:myAlertController animated:YES completion:nil];
//    dispatch_async(dispatch_get_main_queue(), ^{
//
//              });
//
//    double delayInSeconds = 2.0;
//    dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, (int64_t)(delayInSeconds * NSEC_PER_SEC));
//    dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
//      NSLog(@"Do some work");
//    });
    //

//    while (myAlertController.view.hidden == NO)
    

//    if (YES == isWait) {
        //버튼 누르기전까지 지연.
          
//    }

python 에찬

try:
  # %tensorflow_version only exists in Colab.
  %tensorflow_version 2.x
except Exception:
  pass

    @try {
        [mTableViewDong selectRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0] animated:YES scrollPosition:UITableViewScrollPositionMiddle];
        
    } @catch (NSException *exception) {
        [self.navigationController popViewControllerAnimated:NO];
    } @finally {
        
    }


try{
    //에러가 발생할 수 있는 코드
    throw new Exception(); //강제 에러 출력 
}catch (Exception e){
    //에러시 수행
     e.printStackTrace(); //오류 출력(방법은 여러가지)
     throw e; //최상위 클래스가 아니라면 무조건 던져주자
}finally{
    //무조건 수행


코드가 간결하다. 
built-in 예외는

BaseException
 +-- SystemExit
 +-- KeyboardInterrupt
 +-- GeneratorExit
 +-- Exception
      +-- StopIteration
      +-- StopAsyncIteration
      +-- ArithmeticError
      |    +-- FloatingPointError
      |    +-- OverflowError
      |    +-- ZeroDivisionError
      +-- AssertionError
      +-- AttributeError
      +-- BufferError
      +-- EOFError
      +-- ImportError
      |    +-- ModuleNotFoundError
      +-- LookupError
      |    +-- IndexError
      |    +-- KeyError
      +-- MemoryError
      +-- NameError
      |    +-- UnboundLocalError
      +-- OSError
      |    +-- BlockingIOError
      |    +-- ChildProcessError
      |    +-- ConnectionError
      |    |    +-- BrokenPipeError
      |    |    +-- ConnectionAbortedError
      |    |    +-- ConnectionRefusedError
      |    |    +-- ConnectionResetError
      |    +-- FileExistsError
      |    +-- FileNotFoundError
      |    +-- InterruptedError
      |    +-- IsADirectoryError
      |    +-- NotADirectoryError
      |    +-- PermissionError
      |    +-- ProcessLookupError
      |    +-- TimeoutError
      +-- ReferenceError
      +-- RuntimeError
      |    +-- NotImplementedError
      |    +-- RecursionError
      +-- SyntaxError
      |    +-- IndentationError
      |         +-- TabError
      +-- SystemError
      +-- TypeError
      +-- ValueError
      |    +-- UnicodeError
      |         +-- UnicodeDecodeError
      |         +-- UnicodeEncodeError
      |         +-- UnicodeTranslateError
      +-- Warning
           +-- DeprecationWarning
           +-- PendingDeprecationWarning
           +-- RuntimeWarning
           +-- SyntaxWarning
           +-- UserWarning
           +-- FutureWarning
           +-- ImportWarning
           +-- UnicodeWarning
           +-- BytesWarning
           +-- ResourceWarning


'Blog History' 카테고리의 다른 글

119  (0) 2020.03.21
118  (0) 2020.03.21
116  (0) 2020.03.19
115  (0) 2020.03.19
MAC 개발자가 추천 하는 애플리케이션 - 1  (0) 2020.03.17

+ Recent posts