본문 바로가기
반응형

cocoa4

[OS - 🍎 macOS] macOS mouseDown, mouseUp, keyDown, keyUp event 설정방법 (NSViewController not responds to mouseDown, mouseUp, keyDown, keyUp event) 🗂 Handling Mouse, Keyboad Events Swift Source Code override func viewDidLoad() { super.viewDidLoad() NSEvent.addLocalMonitorForEvents(matching: .keyDown) { [weak self] in guard let self = self else { return nil } self.keyDown(with: $0) return $0 } NSEvent.addLocalMonitorForEvents(matching: .leftMouseDown) { [weak self] in guard let self = self else { return nil } self.mouseDown(with: $0) return .. 2020. 3. 29.
[OS - 🍎 macOS] NSServices 🗂 NSServices Property 구조 → property list key NSKeyEquivalent A keyboard shortcut that invokes the service menu command. 서비스 메뉴 단축키 설정 입력 항목 [key equivalent] → property list key NSMenuItem [Required] Text for a Services menu item. 서비스 메뉴의 타이틀 입력 항목 [Menu] → property list key NSMessage [Required] An instance method that invokes the service. 서비스와 관련 된 인스턴스 메서드명 입력 항목 [Instance method name] → proper.. 2020. 2. 27.
[OS - 🍎 macOS] 전체 디스크 접근 권한 (Full Disk Access) 카테고리 게시글 작성 날짜 게시글 최근 수정 날짜 작성자 iOS 2020-02-03 09:53 2022.03.06. 21:57 Dev.Yang 🗂 전체 디스크 접근 권한 (Full Disk Access) Full Disk Access is a new security feature in macOS Mojave that requires some applications to be given full permission to access a user's protected files. This way, only applications that are approved can gain access. In previous versions of macOS, this permission was automatically g.. 2020. 2. 3.
[OS - 🍎 macOS] macOS 시스템 환경 설정 링크 (macOS System Preference Links) + Accessibility Preference Pane 설정 이름 링크 (Link) Main x-apple.systempreferences:com.apple.preference.universalaccess Display x-apple.systempreferences:com.apple.preference.universalaccess?Seeing_Display Zoom x-apple.systempreferences:com.apple.preference.universalaccess?Seeing_Zoom VoiceOver x-apple.systempreferences:com.apple.preference.universalaccess?Seeing_VoiceOver Descriptions x-apple.syste.. 2020. 1. 13.
반응형