'분류 전체보기'에 해당되는 글 377건

  1. 2014.11.07 [Linux] - 리눅스 파일 전체 치환 명령어
  2. 2014.09.22 [IOS] - UIView 배경색 투명, Background Alpha
  3. 2014.09.19 [IOS] - UIScrollView 스크롤 최상위로 보내기
  4. 2014.09.16 [IOS] - IOS 카메라 모듈 사용 가능여부, is Avaliable Camera Module
  5. 2014.09.12 [Vivara] - 1.3.0 버전 업데이트 안내
  6. 2014.09.12 [IOS] - ABUnknownPersonViewController Back Button, 전화번호부 저장 View 백버튼
  7. 2014.09.11 [IOS] - IOS 문자 보내기 Activity Intent, MFMessageComposeViewController
  8. 2014.09.11 [IOS] - IOS 문자열 자르기 substringWithRange
  9. 2014.09.03 [IOS] - IOS Timer 아이폰 타이머 사용법
  10. 2014.09.02 [IOS] - IOS 숫자 3자리 콤마찍기

[Linux] - 리눅스 파일 전체 치환 명령어

Linux 2014. 11. 7. 16:43
반응형

find ./ -type f -exec perl -pi -e 's/ 치환될문자열 / 치환할문자열 /g' {} \;

반응형
:

[IOS] - UIView 배경색 투명, Background Alpha

IOS ( Object-C ) 2014. 9. 22. 20:50
반응형

UIView *divView = [UIView new];


[divView setBackgroundColor:[[UIColor blackColor] colorWithAlphaComponent:0.8f]];

반응형
:

[IOS] - UIScrollView 스크롤 최상위로 보내기

IOS ( Object-C ) 2014. 9. 19. 13:47
반응형

UIScrollView *scrollBody;


[scrollBody setContentOffset:CGPointMake(scrollBody.contentOffset.x, 0) animated:NO];

반응형
:

[IOS] - IOS 카메라 모듈 사용 가능여부, is Avaliable Camera Module

IOS ( Object-C ) 2014. 9. 16. 15:22
반응형

Boolean *checkYn = [UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera];

반응형
:

[Vivara] - 1.3.0 버전 업데이트 안내

Vivara 2014. 9. 12. 09:47
반응형

추석은 잘 보내셨습니까

추석연후 3일내내 집에있었는 비바라 개발자 입니다 ( 심심!! 심심!! )  

1.3.0 버전 업데이트 안내 드리겠습니다

이번 업데이트에는 `문자 수신시 발신자 명` 알림 기능이 추가되었습니다

공공장소에서 문자 내용까지 읽어서 불편하다는 의견을 수렴하여

해당 기능을 추가하게 되었습니다.


이상 대체 휴일에 회사나와서 비바라 업데이트하는 비바라 개발자 올림


PS. 비바 뮤직도 나옵니다~

반응형
:

[IOS] - ABUnknownPersonViewController Back Button, 전화번호부 저장 View 백버튼

IOS ( Object-C ) 2014. 9. 12. 09:46
반응형

@try {

    ABUnknownPersonViewController *abView = [[ABUnknownPersonViewController alloc] init];

    UINavigationController *nc = [[UINavigationController alloc] initWithRootViewController:abView];


    abView.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]

                                             initWithBarButtonSystemItem:UIBarButtonSystemItemCancel

                                             target:target

                                             action:@selector(setCloseAddressView)];


    abView.unknownPersonViewDelegate = target;

    abView.allowsAddingToAddressBook = YES;

    abView.displayedPerson           = newPerson;


    [target presentModalViewController:nc animated:YES];

  } @catch(NSException *exception) {

    NSLog(@"Exception : %@", exception);

  }

반응형
:

[IOS] - IOS 문자 보내기 Activity Intent, MFMessageComposeViewController

IOS ( Object-C ) 2014. 9. 11. 15:37
반응형

.h 파일


1. #import <MessageUI/MessageUI.h>

2. <MFMessageComposeViewControllerDelegate> 추가 


// 발송 화면 Intent

- (void) setSendMessage {

  if ([MFMessageComposeViewController canSendText]) {

    MFMessageComposeViewController *view = [[MFMessageComposeViewController alloc] init];

    view.body = @"Sms Content";

    view.recipients = [NSArray arrayWithObject:@"01012345678"];

    view.messageComposeDelegate = self;


    [self presentViewController:view animated:YES completion:nil];

  }

}


// 창닫기, 전송완료시 호출

- (void) messageComposeViewController : (MFMessageComposeViewController *) controller didFinishWithResult : (MessageComposeResult) result {

  [self dismissViewControllerAnimated:YES completion:nil];


  if (result == MessageComposeResultSent) {

    NSLog(@"Send");

  } else {

    NSLog(@"Cancel");

  }

}

반응형
:

[IOS] - IOS 문자열 자르기 substringWithRange

IOS ( Object-C ) 2014. 9. 11. 14:28
반응형

NSString *phoneNum = @"01012345678";


NSString *dummy = [phoneNum substringWithRange:NSMakeRange(0, 3)];


NSLog(@"Phone : %@", dummy);

반응형
:

[IOS] - IOS Timer 아이폰 타이머 사용법

IOS ( Object-C ) 2014. 9. 3. 17:11
반응형

NSTimer *_timer;


- (void) setTimer {

  NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:5

                                                          target:self

                                                        selector:@selector(startTimer:)

                                                        userInfo:nil

                                                         repeats:YES];

  _timer = timer;

}


- (void) startTimer : (NSTimer *) timer {

  [chatMessageController getMessageData];

}


- (void) stopTimer {

  if( _timer != NULL ) {

    [_timer invalidate];

    _timer = NULL;

  }

}

반응형
:

[IOS] - IOS 숫자 3자리 콤마찍기

IOS ( Object-C ) 2014. 9. 2. 21:53
반응형

NSNumberFormatter *numberFormatter = [[NSNumberFormatter alloc] init];

[numberFormatter setNumberStyle:NSNumberFormatterDecimalStyle];


NSString *commaCount = [numberFormatter stringFromNumber:[NSNumber numberWithInt:[dataCount integerValue]]];


NSLog("Comma : %@", commaCount);

반응형
: