声明 为@objc dynamic这个的属性,在使用mapping时无法获取值
Open
- Dominant language
- Swift
- Stars
- 4.3k
- Forks
- 677
- PR merge metrics
- No merged PRs in 30d
Description
@objc dynamic var descrip = ""
func mapping(mapper: HelpingMapper) {
mapper <<<
self.descrip <-- "description"
}
如上代码:
descrip无法通过description获取值
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the @objc dynamic property declaration and the mapping(mapper: HelpingMapper) example in the issue, then trace how the "description" key is resolved. Reproduce the case and confirm that descrip receives the description value; the issue does not name a source file or test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100