Skip to content

Account for kCFBooleanTrue and kCFBooleanFalse being present in bridged payloads #909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 7, 2017

Conversation

phausler
Copy link
Contributor

@phausler phausler commented Mar 6, 2017

This converts kCFBooleanTrue and kCFBooleanFalse into true and false and adds subclassing callout hooks for CFNumber to invoke swift routines.

Additionally it corrects the class callouts for cluster types when archiving plist types such that it invokes the class for coder instead of relying on the distinct type of the object being passed.

@phausler
Copy link
Contributor Author

phausler commented Mar 6, 2017

@swift-ci please test

@phausler
Copy link
Contributor Author

phausler commented Mar 6, 2017

@parkera if you wouldn't mind taking a look at this
cc @nethraravindran

…ed payloads

This converts kCFBooleanTrue and kCFBooleanFalse into true and false and adds subclassing callout hooks for CFNumber to invoke swift routines.
@phausler
Copy link
Contributor Author

phausler commented Mar 6, 2017

@swift-ci please test

@parkera
Copy link
Contributor

parkera commented Mar 6, 2017

Looks good to me. Maybe get a few more test cases for the various kinds of results for the CFNumber type?

@parkera
Copy link
Contributor

parkera commented Mar 6, 2017

(we may be able to do that in a future commit since this has a test case for the bug at hand)

@itaiferber
Copy link
Contributor

@swift-ci Please test and merge

@parkera
Copy link
Contributor

parkera commented Mar 6, 2017

@swift-ci please test and merge

@parkera
Copy link
Contributor

parkera commented Mar 6, 2017

3 times is the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants