杨萧玉

Results 13 issues of 杨萧玉

- [x] iOS documentation. - [ ] Android documentation. - [ ] Readme&Wiki(examples) Related issue: https://github.com/dart-native/dart_native/issues/29

documentation

Wrapping APIs in under ARC.

iOS

"Aspects hooks deep into the class hierarchy and creates dynamic subclasses, much like KVO. There's known issues with this approach, and to this date (February 2019) I STRICTLY DO NOT...

We should refer to other official API, such as iOS/OSX sdk: https://parseplatform.org/Parse-SDK-iOS-OSX/api/Classes/PFObject.html ### Creating a ParseObject - [x] ParseObject() ### Managing Object Properties - [x] parseClassName //(Need refactor) - [x]...

type:feature

Build failed in yaml_private.h line 1: ``` #include "yaml.h" // Error:'yaml.h' file not found ``` This can fix it: ``` #include ```

1. [x] Generate empty Flutter plugin or package project in output path. 2. [x] Move generated Dart code into Flutter project. 3. [ ] Move iOS code and resource into...

enhancement

生成 struct 对应的代码,不过对于嵌套的 struct 有些困难。 低优先级

enhancement

先用 Foundation 试水,遇到的问题列在这个 Issue 里,逐个解决: 1. 生成代码功能问题: - [x] 枚举优化: NS_ERROR_ENUM, NS_CLOSED_ENUM - [ ] 区分泛型和协议,语法很相似,包含参数、返回值中的。('id' 和 `NSArray` 分别转成 `XXXProtocol ` 和 `List`) - [ ] 生成函数指针声明(FunctionPointer), 处理含有函数指针的内容,如 ``` @property...

enhancement

有一些 API 是 C 函数,理论上可以自动生成 Dart 接口。 需要注意的是,需要 Native Header 文件暴露接口,可以参考 dart_native 中 `_dispatch_get_main_queue` 的实现,生成一层封装并通过 `DN_EXTERN` 暴露。或者想个更牛逼的解决方案,嗯。