-
Notifications
You must be signed in to change notification settings - Fork 781
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
Plist的bundle路径 #106
Comments
@RylanJIN I think both is OK. It only differs when you put BeHive in an independent bundle, maybe, a framework. the apple's doc about
|
@MemoryReload Yes, as you mentioned, if we put BeHive in an independent bundle: BTW, If you check out some popular 3rd repos such as MJRefresh, they also apply the second format. |
@RylanJIN One thing I have to say, If your framework is not dynamic, your class will be linked into the executable image. So it will be loaded from main bundle too. That will be tricky unless you make this class to be dynamically loaded from another bundle (maybe a dynamic framework, I think). But in my opinion, that's really unnecessary. : ) |
@MemoryReload In my case, if I pod BeeHive with use_framework! setting, [NSBundle mainBundle] would return nil, thus, no module from plist gets registered. So, what's the explanation on this? |
读取plist的bundle路径是否应该改成:
The text was updated successfully, but these errors were encountered: