[Xcode] how to find method(selector) reference? [Xcode] how to find method(selector) reference? reference : http://stackoverflow.com/questions/7145045/find-method-references-in-xcode Put the cursor on the selector(method), or something you want to check the reference, and the click the “Related file” icon on the left top corner of the editor area; which is shaped as 4 boxes gathered together. You can find the “caller” section in the middle. M.. 2018. 4. 10. [Effective Objective-C] #30 ARC 를 사용하여 reference count 를 쉽게 만들라 [Effective Objective-C] #30 ARC 를 사용하여 reference count 를 쉽게 만들라 출처 : Effective Objective-C -Clang 컴파일러 프로젝트(맥 OS X 와 iOS 개발에 사용되는 컴파일러 프로젝트)는 문제가 있는 참조 세기의 위치를 가리킬 수 있게 정적 분석기를 도입했다.이 정적 분석기를 통해 메모리 누수가 있다고 알려줄 수 있다.어디에 메모리 관리 문제가 있는지도 알려줄 수 있다.이것이 ARC 가 만들어진 배경이다. -ARC 는 이름이 말하는 그대로의 일을 한다.즉 reference counting 을 자동으로 한다.그래서 이전 코드 조각에서는 release 등을 써 주던 것을 이제는 하지 않아도 ARC 가 알아서 추가해준다. -ARC 를 사용할 때.. 2017. 9. 23. 반응형 이전 1 다음