TAKIT has been updated.

The First stage gets high-level functions.
Blocks can be rotated.
Unbreakable will be down.
The next bloc is diappeared. You have to think faster.
UI is changed.
The golden block is able to break all the stuff when It is upper of all of the blocks.
If you touch over 100 times screen, it's possible to pass to the next level. But not 100%.


  NSMutableArray *hjhPowerPack = [[NSMutableArray alloc] init];
  [hjhPowerPack addObject:val]; //1
  [hjhPowerPack addObject:val]; //2
  [hjhPowerPack addObject:val]; //3
.
.
.


  NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
  [userDefaults setObject:nsd forKey:@"hjhPowerPack"]; //1, 2, 3
  [userDefaults synchronize];

    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSArray *savedPowerPack = [userDefaults objectForKey:@"hjhPowerPack"];

NSNumber *a = savedPowerPack[0];
NSString *b = savedPowerPack[1];
.............. = savedPowerPack[2];
.
.
.


 NSUserDefaults *u = [NSUserDefaults standardUserDefaults];
    NSArray *hjhPowerPack = [u objectForKey:@"hjhPowerPack"];
    NSString *idis = hjhPowerPack[0];


    NSUserDefaults *u = [NSUserDefaults standardUserDefaults];
    [u removeObjectForKey:@"hjhPowerPack"];
    [u synchronize];



[User Defaults] Attempt to set a non-property-list object
You can only store things like NSArray, NSDictionary, NSString, NSData, NSNumber, and NSDate in NSUserDefaults

https://stackoverflow.com/questions/19720611/attempt-to-set-a-non-property-list-object-as-an-nsuserdefaults/19720674


NSUserDefaults *currentDefaults = [NSUserDefaults standardUserDefaults];
NSData *data = [NSKeyedArchiver archivedDataWithRootObject:yourObject];
[currentDefaults setObject:data forKey:@"yourKeyName"];

NSData *data = [currentDefaults objectForKey:@"yourKeyName"];
yourObjectType * token = [NSKeyedUnarchiver unarchiveObjectWithData:data];

[currentDefaults removeObjectForKey:@"yourKeyName"];

But to implement with primitive type is better.





NSUserDefaults *u = [NSUserDefaults standardUserDefaults];
            [u setObject:GlobalVar.globalVar.globalCDSite forKey:@"udglobalCDSite"];
            [u synchronize];
            
2020-02-24 16:27:52.605724+0900 MBASS[19351:2256468] 292513_onHoshCd
2020-02-24 16:27:52.623482+0900 MBASS[19351:2256468] viewDidLoad on SuperAddressSelector
2020-02-24 16:27:52.629484+0900 MBASS[19351:2256468] superselect H
2020-02-24 16:27:52.629665+0900 MBASS[19351:2256468] SQLUTILS_selectDong
2020-02-24 16:27:52.647379+0900 MBASS[19351:2256468] superselect H
2020-02-24 16:27:52.647531+0900 MBASS[19351:2256468] SQLUTILS_selectDong



_mBtnDelete
_mBtnSubmit






디버깅 중...

          [db inspectionSelectDfct:mListMutableArray withDongCd:mDongCd nohs:mFloor ynReClsfRqst:@""  hndlStatCd:@"B" myandquery:@"and yn_re_rcpt='Y'"]; //20200223


yn_svr_trsm

2020-02-24 23:15:23.234715+0900 MBASS[20323:2367786] hjhSelectDefectCategory has been called.
2020-02-24 23:15:23.241294+0900 MBASS[20323:2367786] SQLUTILS_selectDong
2020-02-24 23:15:23.250919+0900 MBASS[20323:2367786] checkingCategory tppg : 59A_J
2020-02-24 23:15:25.336765+0900 MBASS[20323:2367786] hjhSelectDefectCategory has been called.
2020-02-24 23:15:25.343745+0900 MBASS[20323:2367786] SQLUTILS_selectDong

2020-02-24 23:15:51.273517+0900 MBASS[20323:2367786] hjhSelectDefectCategory has been called.
2020-02-24 23:15:51.279472+0900 MBASS[20323:2367786] SQLUTILS_selectDong
2020-02-24 23:15:52.342113+0900 MBASS[20323:2367786] hjhSelectDefectCategory has been called.
2020-02-24 23:15:52.347002+0900 MBASS[20323:2367786] SQLUTILS_selectDong
2020-02-24 23:15:52.359410+0900 MBASS[20323:2367786] checkingCategory tppg : 59A_J




        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]
                                                   options:@{}
                                         completionHandler:nil];

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];





   self.navigationItem.leftBarButtonItem = GlobalVar.globalVar.globalBarButtonItemLeft;

    UIBarButtonItem *mybackBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"" style:UIBarButtonItemStylePlain target:nil action:nil];
    
    GlobalVar.globalVar.globalBarButtonItemLeft = mybackBarButtonItem;

     mCanYouSeeThisSword = @"P";
        GlobalVar.globalVar.globalCanYouSeeThisSword = @"P";

GlobalVar.globalVar.globalCanYouSeeThisSword 



- (void) hjhSelectDefect_QtChk:(NSMutableArray *)array withDongCd:(NSString *)dongCd nohs:(NSString*)nohs ynReClsfRqst:(NSString *)yn mode:(NSString *)mode hndlStatCd:(NSString *)hndlStatCd sortingMethod:(NSInteger) sortNotsult;



- (void) hjhSelectDefect_QtChk:(NSMutableArray *)array withDongCd:(NSString *)dongCd nohs:(NSString*)nohs ynReClsfRqst:(NSString *)yn mode:(NSString *)mode hndlStatCd:(NSString *)hndlStatCd sortingMethod:(NSInteger) sortNotsult {
    
    NSString *sql_sort = @"";
    
    switch (sortNotsult) {
        case 0: //default values
            sql_sort = @"a.cd_dong, a.nohs desc, a.id_loc, a.id_rgon";
            break;
        case 1:
            sql_sort = @"a.cd_dong asc, a.nohs asc, a.id_loc, a.id_rgon";
            break;
        case 2:
            sql_sort = @"a.cd_dong desc, a.nohs desc, a.id_loc, a.id_rgon";
            break;
        case 3:
            sql_sort = @"a.cd_dong, a.nohs desc, a.id_loc, a.id_rgon";
            break;
        case 4:
            sql_sort = @"a.cd_dong, a.nohs desc, a.id_loc, a.id_rgon";
            break;
            
        default:
            break;
    }
    
    @try {
        [array removeAllObjects];
        
        // Open the database from the users filessytem
  [self checkBackDB];
        if(sqlite3_open([databasePath UTF8String], &database) == SQLITE_OK) {
            // Setup the SQL Statement and compile it for faster access
            
            NSString *query = [NSString stringWithFormat:@"select a.id_mbil \
                               ,a.cd_dong \
                               ,a.nohs \
                               ,c.nm_loc \
                               ,d.nm_rgon \
                               ,e.nm_dfct_type \
                               ,a.dfct_cnts \
                               ,a.cd_hndl_stat \
                               ,a.yn_re_clsf_rqst \
                               ,a.id_wrk_fmer_pic_atch_file \
                               ,a.id_wrk_aftr_pic_atch_file \
                               ,r 0f.nm_dong \
                               ,f.cd_loc_clsf \
                               from ddtbt_dfct a \
                               inner join ddtbt_hosh b on b.cd_dong=a.cd_dong and b.nohs=a.nohs \
                               inner join ddtbt_site_tppg_loc c on c.cd_tppg=b.cd_tppg and c.id_loc=a.id_loc \
                               inner join ddtbt_site_loc_rgon d on d.id_loc=a.id_loc and d.id_rgon=a.id_rgon \
                               inner join ddtbt_rgon_dfct_type e on e.id_rgon=a.id_rgon and e.id_dfct_type=a.id_dfct_type \
                               inner join ddtbt_dong f on f.cd_dong=a.cd_dong \
                               where a.cd_dong like '%@%%' and a.nohs like '%@%%' and a.yn_re_clsf_rqst like '%@%%' \
                               and a.yn_svr_trsm<>'Y' and a.mode like '%@%%' and a.cd_hndl_stat like '%@%%' \
                               order by %@;"
                               ,dongCd, nohs,yn
                               ,mode, hndlStatCd
                               ,sql_sort
                               ];
            
            const char *sqlStatement = [query cStringUsingEncoding:NSASCIIStringEncoding];
            sqlite3_stmt *compiledStatement;
            if(sqlite3_prepare_v2(database, sqlStatement, -1, &compiledStatement, NULL) == SQLITE_OK) {
                // Loop through the results and add them to the feeds array
                while(sqlite3_step(compiledStatement) == SQLITE_ROW) {
                    
                    DFCT_LIST *data = [[DFCT_LIST alloc] init];
                    data.id_mbil = sqlite3_column_int(compiledStatement, 0);
                    data.cd_dong = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 1)];
                    data.nohs = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 2)];
                    data.nm_loc = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 3)];
                    data.nm_rgon = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 4)];
                    data.nm_dfct_type = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 5)];
                    data.dfct_cnts = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 6)];
                    data.cd_hndl_stat = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 7)];
                    data.yn_re_clsg_rqst = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 8)];
                    data.id_wrk_fmer_pic_atch_file = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 9)];
                    data.id_wrk_aftr_pic_atch_file = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 10)];
                    
                    data.nm_dong = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 11)];
                    
                    data.cd_loc_clsf =[NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 12)];
                    
                    [array addObject:data];
                }
            }
            // Release the compiled statement from memory
            sqlite3_finalize(compiledStatement);
            
        }
        sqlite3_close(database);
        
    } @catch(NSException *e) {
        //hjh_debug        [GlobalVar alertMsgOKWithTitle:@"대림건설" message:[e reason]];
        //            return -99;
        sqlite3_close(database);
    }
}


클라우드 고민

DB 이동의 어려움(벤더락인)
데이터, 애플리케이션, 서비스의 통합 및 연계의 어려움
통합된 클라우드의 관리 이슈
전문성 및 관리 인력 부재
보안, 안정성 및 내/외부 규제
ROI 및 비용 이슈
경영진의 부정적 인식, 승인
전체 워크로드를 클라우드로 전환할 예정
단일 클라우드 활용에 따른 리스크 관리의 어려움 및 종속 (Lock-in)
멀티 클라우드, 하이브리드 클라우드 환경 관리의 복잡성
레거시 시스템(온프레미스)과 클라우드 서비스의 통합
클라우드 전략 수립, 로드맵 부재
클라우드 적용 분야, 워크로드 선정
IT 기술 전문성 부족 (전문인력 부족)
보안 우려
컴플라이언스/관리 거버넌스 구축
클라우드 마이그레이션
애플리케이션 전환 역량, 전문성 부족
IT 최적화
애플리케이션 현대화
클라우드 네이티브 플랫폼, 앱 구축
하이브리드멀티 클라우드 관리
AI 도입 및 확대
디지털 혁신 가속화
신규 비즈니스, 서비스 제공
ROI 극대화, 비용 최적화
비즈니스 민첩성, 유연성 확보
가시성, 통제력, 안정성 확보 – 관리 최적화
데이터의 잠재 가치 실현
탄력적인 비즈니스 성장 지원
보안 및 내외부 규제 준수
블록체인, AI, IoT 등 신기술 접목


개방형 아키텍처 및 기술 기반 (벤더락인 방지)
보안, 안정성 보장
온프레이스 및 클라우드 환경에 대한 전문성, 통합 서비스 역량
클라우드 젼략, 로드맵, 이전, 구축, 통합 관리를 위한 서비스의 비즈니스 적합도
폭넓은 클라우드 서비스 제공 : 오픈소스, 툴, 서비스 지원
안정적 기술 지원 및 운영 서비스 제공
브랜드/ 신뢰성
가격 경쟁력
속도 및 성능

1  MVC
2  MVP
3  MVVM
4  VIPER
5  Clean Architecture
6  Flux



[self showMeThePicture];

-(void)showMeThePicture {
    //    [mTextDfctCnts resignFirstResponder];
    Hgallery *v = [[Hgallery alloc] initWithNibName:@"HGallery" bundle:[NSBundle mainBundle]];
    self.title = @"";
    
    v.mType = @"I";
    
    v.mFormerPictures =mPictureOfDefect;
    [self.navigationController pushViewController:v animated:NO];
}

like a star


Timer.scheduledTimer
Transparency

[mDfct.mode isEqualToString:@"I"]



NSString    *mode;
@property (nonatomic, strong) NSString    *mode;

tableColor
    [bgColorView setBackgroundColor: [UIColor colorWithRed:0.988235 green:0.964705 blue:0.870588 alpha:1.0]];

Timer.scheduledTimer
Transparency

[mDfct.mode isEqualToString:@"I"]



NSString    *mode;
@property (nonatomic, strong) NSString    *mode;

tableColor
   

 [bgColorView setBackgroundColor: [UIColor colorWithRed:0.988235 green:0.964705 blue:0.870588 alpha:1.0]];




   [[_mBtnMap layer] setCornerRadius:8.0f];
    [[_mBtnMap layer] setMasksToBounds:YES];
    [[_mBtnMap layer] setBorderWidth:1.0f];
    [[_mBtnMap layer] setBorderColor:[UIColor colorWithRed:0.105882 green:0.180392 blue:0.352941 alpha:1.0].CGColor];

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

092  (0) 2020.02.26
091  (0) 2020.02.24
089  (0) 2020.02.21
088  (0) 2020.02.14
087  (0) 2020.02.14

+ Recent posts