alibaba / alibaba/HandyJSON

一旦给属性添加 didSet 后, 自定义就失效了

Open
#170 2 comments 0 reactions 1 assignee Claimed by @xuyecan View on GitHub
bug
Dominant language
Swift
Stars
4.3k
Forks
677
PR merge metrics
No merged PRs in 30d

Description

//属性
var url: String? {
didSet {

}
}

// 自定义
mapper <<<
self.url <-- TransformOf(fromJSON: { (rawString) -> String? in
return nil
}, toJSON: { (tuple) -> String? in
return nil
})

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.