예제 #1
0
 def get_dict(self):
     i = objc_to_py(self.objc())
     i['timestamp'] = self.timestamp
     return i
예제 #2
0
파일: error.py 프로젝트: wilt00/objc_tools
 def __init__(self, objc):
     self._objc = objc
     self.descriptions = LocalizedStrings(self._objc)
     self.info = objc_to_py(self._objc.userInfo())
     self.domain = str(self._objc.domain())
     self.code = self._objc.code()
예제 #3
0
 def items(self):
     return objc_to_py(self._objc())
예제 #4
0
 def current_item(self):
     return objc_to_py(self._current_item())
예제 #5
0
 def current_item(self):
     return objc_to_py(self._current_item())
예제 #6
0
 def items (self):
     return objc_to_py(self._objc())
예제 #7
0
 def entitlements(self):
     try:
         return objc_to_py(self.objc.entitlements())
     except TypeError:
         return None
예제 #8
0
파일: apps.py 프로젝트: scj643/objc_tools
 def entitlements(self):
     try:
         return objc_to_py(self.objc.entitlements())
     except TypeError:
         return None
예제 #9
0
 def info_dict(self):
     return objc_to_py(self.objc.infoDictionary())