-
Notifications
You must be signed in to change notification settings - Fork 378
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
Close Button Missing #102
Comments
One avenue for investigation: when this worked, the pod was installed in the Example project with CocoaPods 0.38.2 ( d27f3d2#diff-801cd3156cf43adeb08ac4958dccb4d7 ). The Example project is now broken, on CocoaPods 0.39.0 ( https://github.com/NYTimes/NYTPhotoViewer/blob/develop/Example/Podfile.lock ). Reviewing the CocoaPods changelog between those versions, CocoaPods/CocoaPods#4065 is the only change between those versions that jumps out to me as possibly-related. |
I'm still seeing this issue. It can be observed in the sample project by adding |
Without any actual experimenting, I would bet that |
Do we have to use resource bundles for this? I suspect building a resource bundle as part of the Cocoapods install process will be a problem for Carthage support #61/#63. I would be totally fine with moving to some other system and ignoring whatever annoying warning Cocoapods gives us about not using |
@cdzombak Using Additionally, it might be a good idea to update the bundle calls to use the URL methods instead of the stringly-typed path ones. I did that, too, in another commit. |
Huh, that definitely makes sense, and that would explain why
Should make no difference whatsoever, but 👍 |
Cannot remove |
Steps to Reproduce
Expected Results
An “X” button called
NYTPhotoViewerCloseButtonX
is displayed in the upper left corner of the view controller.Actual Results
No “X” button is displayed and the
nyt_photoViewerResourceBundle
method returnsnil
.Platform and OS
Tested both Swift 2 (with minor changes to get it to compile) and Objective-C sample projects as well as another project.
Xcode Version 7.2 (7C68)
The text was updated successfully, but these errors were encountered: