반응형 분류 전체보기232 [OS - 🍎 macOS] DispatchSourceTimer 🗂 DispatchSourceTimer protocol DispatchSourceTimer [영문] A dispatch source that submits the event handler block based on a timer. You do not adopt this protocol in your objects. Instead, use the makeTimerSource(flags:queue:) method to create an object that adopts this protocol. [국문] Dispatch Source는 타이머를 기반으로 이벤트 핸들러 코드 블럭을 제출합니다. 또한, DispatchSourceTimer 객체는 프로토콜을 채택할 필요가 없습니다. 대신에 makeTimerSourc.. 2020. 4. 11. [macOS - Error] This application is trying to draw a very large combo box, 00 points tall. Vertically resizable combo boxes are not supported, but it happens that 10.4 and previous drew something that looked kind of sort of okay. 🔧 Error Message This application is trying to draw a very large combo box, 29 points tall. Vertically resizable combo boxes are not supported, but it happens that 10.4 and previous drew something that looked kind of sort of okay. The art in 10.5 does not break up in a way that supports that drawing. This application should be revised to stop using large combo boxes. This warning will appear once.. 2020. 4. 11. [TECH] 🔗 유용한 개발 사이트 (Awesome Development URL) 🔗 유용한 개발 사이트 (Awesome Development URL) ➕ 001. Swiftify [Develop] → https://objectivec2swift.com/#/converter/code/ Objective-C 언어를 Swift 언어로 소스코드를 변경할 수 있도록 도와주는 개발 사이트입니다. Swiftify | Objective-C to Swift Converter objectivec2swift.com ➕ 002. Code Jam [Algorithm] → https://codingcompetitions.withgoogle.com/ Google 알고리즘 대회 사이트로 우수한 성적을 얻을 시 상금을 얻을 수 있는 알고리즘 대회 사이트입니다. Code Jam - Google’s Coding Co.. 2020. 3. 29. [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. 이전 1 ··· 27 28 29 30 31 32 33 ··· 58 다음 반응형