Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ikesyo
Copy link
Member

@ikesyo ikesyo commented May 19, 2018

This enables us to use Swift internal classes from Objective-C side with importing the generated header.

Fixes #749. See also Quick/Nimble#525.

@QuickBot
Copy link

QuickBot commented May 19, 2018

1 Warning
⚠️ Big PR

Generated by 🚫 danger

@ikesyo
Copy link
Member Author

ikesyo commented Jun 9, 2018

Ping @Quick/core

Copy link
Contributor

@sharplet sharplet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question, but this looks nice 👍

}
#endif

@nonobjc
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary? Does World use @objcMembers?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it's needed. Otherwise those conflict with objc_it and so on.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the compilation errors without the attributes:

2018-06-14 9 18 34

@ikesyo ikesyo force-pushed the APPLICATION_EXTENSION_API_ONLY branch from 1b241a3 to 9fd71b2 Compare June 12, 2018 13:02
This enables us to use Swift internal classes from Objective-C side with importing the generated header.
@ikesyo
Copy link
Member Author

ikesyo commented Jun 14, 2018

I'll consider this as well: Quick/Nimble#540

…e a linker warning

This silences the "linking against a dylib which is not safe for use in application extensions: /Applications/Xcode.app/path/to/libswiftXCTest.dylib" linker warning.
@ikesyo ikesyo requested a review from sharplet June 20, 2018 09:30
Copy link
Contributor

@sharplet sharplet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@ikesyo
Copy link
Member Author

ikesyo commented Jun 20, 2018

Thanks @sharplet!

@ikesyo ikesyo merged commit af215da into 1.x-branch Jun 20, 2018
@ikesyo ikesyo deleted the APPLICATION_EXTENSION_API_ONLY branch June 20, 2018 13:58
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