Skip to content
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

LEETheme 支持swift-package导入 #25

Merged
merged 2 commits into from
Dec 19, 2020
Merged

Conversation

ZPP506
Copy link
Contributor

@ZPP506 ZPP506 commented Dec 17, 2020

swift-package管理的组件无法依赖LEETheme,简单改造添加支持

@lixiang1994
Copy link
Owner

你在Swift项目中使用有没有遇到什么问题? 我内部是基于消息发送做的, 并且推导的参数数据类型都是按照C类型判断的, 不知道在Swift中会不会有问题

@ZPP506
Copy link
Contributor Author

ZPP506 commented Dec 18, 2020

目前还没有发现什么问,写的很好 - 因为需要主题的都是UI相关的 都是NSObject的子类(这点与OC一样,方法调用走的都是消息转发)

@ZPP506
Copy link
Contributor Author

ZPP506 commented Dec 18, 2020

基于主题切换这个思路, 貌似还能出一个 App 国际化配置的一个库,这样App就可以实现不依赖苹果那套,实现App语言切换

@lixiang1994
Copy link
Owner

那就好, 哈哈, 你弄好了 我就合并一下

@ZPP506
Copy link
Contributor Author

ZPP506 commented Dec 18, 2020

已经处理好了

@lixiang1994 lixiang1994 merged commit cbe4214 into lixiang1994:master Dec 19, 2020
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.

None yet

2 participants