From 86fb79624202ba07e8854a3be3de40f9bf5be422 Mon Sep 17 00:00:00 2001 From: lovetox Date: Mon, 27 Dec 2021 19:02:42 +0100 Subject: Typing: Add AppKit stubs --- typings/AppKit/__init__.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 typings/AppKit/__init__.py (limited to 'typings') diff --git a/typings/AppKit/__init__.py b/typings/AppKit/__init__.py new file mode 100644 index 000000000..185aeccfe --- /dev/null +++ b/typings/AppKit/__init__.py @@ -0,0 +1,16 @@ + +from __future__ import annotations + +from typing import Any + + +class NSLocale: + @classmethod + def currentLocale(cls) -> Any: ... + + +class NSSound: + @classmethod + def alloc(cls) -> NSSound: ... + def initWithContentsOfFile_byReference_(self, url: str, byref: bool) -> None: ... + def play(self) -> None: ... -- cgit v1.2.3