2017-09-28 3 views
1

나는 tableview에서 드래그 드롭 기능을 구현했습니다. 드래그 드롭을 할 때 기본적으로 파란 선이 나타나고이 파란 선을 사용자 정의/제거하고 싶습니다. 이것은 중복이 될 수 있지만 확실한 답변을 찾을 수 없습니다. 제안 해주세요. NSTableView mac app objective c에서 드래그 드롭 중에 청색 선을 제거하십시오.

나는 아무도

[self.tableView setSelectionHighlightStyle:NSTableViewSelectionHighlightStyleSourceList]; 
[self.tableView setDraggingDestinationFeedbackStyle:NSTableViewDraggingDestinationFeedbackStyleNone]; 

하지만 그 작동하지 하이라이트를 설정했습니다.

도움이 되었으면 좋겠습니다.

참조 링크 : 미리 https://developer.apple.com/library/content/samplecode/DragNDropOutlineView/Introduction/Intro.html

감사합니다.

[self.tableView setDraggingDestinationFeedbackStyle:NSTableViewDraggingDestinationFeedbackStyleNone]; 
:

답변

1

마지막으로 내가 대답을 발견
관련 문제