Opened on 12/29/2017 at 11:46:06 PM
Closed on 01/07/2018 at 11:55:11 PM
#6225 closed change (fixed)
Make bridge to allow YAJL parsing to be called from Swift
| Reported by: | dzhang | Assignee: | dzhang |
|---|---|---|---|
| Priority: | Unknown | Milestone: | Adblock-Plus-for-iOS-next |
| Module: | Adblock-Plus-for-iOS/macOS | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | #5551 | Platform: | iOS |
| Ready: | yes | Confidential: | no |
| Tester: | Unknown | Verified working: | no |
| Review URL(s): | |||
Description
Background
Some Objective-C operations need to be accessed from the Swift side.
This requires an Objective-C interface that calls Objective-C code but can be accessed from Swift.
Having such a bridge enables the incremental development of the Swift version.
In particular, access to the YAJL parser is needed in Swift before a native Swift alternative is completed.
This approach also maintains separation of the deprecated Objective-C model layer and the new Swift model by not importing the Objective-C model into Swift.
What to change
Provide an interface to allow YAJL related functions to be called from Swift.
