manysource

  • 홈
  • 태그
  • 방명록

Objective-C 2

NSInvocation for Dummies?

NSInvocation for Dummies? 는 어떤 요?NSInvocation? 은은소 은?? 특히 다음 코드(Mac OS X용 코코아 프로그래밍, 3rd Edition)의 작동 방식을 이해하는 데 문제가 있지만 튜토리얼 샘플과는 별도로 개념을 적용할 수도 있습니다.코드: - (void)insertObject:(Person *)p inEmployeesAtIndex:(int)index { NSLog(@"adding %@ to %@", p, employees); // Add inverse of this operation to undo stack NSUndoManager *undo = [self undoManager]; [[undo prepareWithInvocationTarget:self] removeO..

source 2023.04.10

"'NSString *' 유형의 매개 변수로 'constant NSString *'을(를) 전송하면 한정자가 삭제됩니다." 경고

"'NSString *' 유형의 매개 변수로 'constant NSString *'을(를) 전송하면 한정자가 삭제됩니다." 경고 다음과 같이 호출하는 상수 NSString이 있습니다. [newString isEqualToString:CONSTANT_STRING]; 여기에 잘못된 코드가 있나요? 경고를 받았어요. 'NSString *' 유형의 매개 변수로 'const NSString *'을 전송하면 한정자가 삭제됩니다. 이것들은 어떻게 신고해야 합니까?상수 문자열은 다음과 같이 선언해야 합니다. NSString * const kSomeConstantString = @""; // constant pointer 다음 대신: const NSString * kSomeConstantString = @""; // p..

source 2023.04.10
이전
1
다음
더보기
프로필사진

각종 프로그래밍 정보를 다루는 블로그입니다.

  • 분류 전체보기 (959)
    • source (959)

Tag

JSON, mariadb, JavaScript, Wordpress, Python, Java, sql-server, MySQL, C, angularJS, MongoDB, css, ajax, Git, Oracle, Excel, php, reactjs, jQuery, spring-boot,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2026/04   »
일 월 화 수 목 금 토
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © AXZ Corp. All rights reserved.

티스토리툴바