HandyJSON icon indicating copy to clipboard operation
HandyJSON copied to clipboard

大神能出一个Linux环境下使用的HandyJSON的流程吗,我在MacOX不会有问题,但部署到Linux上时报cocoa错误

Open jyyjkt opened this issue 7 years ago • 1 comments

jyyjkt avatar May 29 '18 02:05 jyyjkt

This lib currently not only depends on Cocoa/CocoaTouch compoents, it also depends on ObjC.

Here are some examples.

ExtendCustomModelType.swift:239:71: error: value of type 'NSObject' has no member 'value'
                if info.bridged, let _value = (instance as! NSObject).value(forKey: key) {
                                              ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
Measuable.swift:62:24: error: cannot find 'class_copyPropertyList' in scope
        if let props = class_copyPropertyList(anyClass, count) {

Gentoli avatar Oct 30 '20 02:10 Gentoli

 我收到啦!!!

stevendinggang avatar May 04 '23 01:05 stevendinggang