1
我需要以暴露KVO方法,我在我正在延伸的對象實現:如何在暴露iOS中的方法時在nativescript中編組指針類型?
- (void)observeValueForKeyPath:(NSString *)keyPath
ofObject:(id)object
change:(NSDictionary<NSString *,
id> *)change
context:(void *)context
對於這一點,我需要填寫公開的方法參數延伸。 如何指定數據類型NSString *,void *和NSDictionary *,因爲只使用NSString,interop.types.void和NSDictionary似乎沒有幫助。