KeepFish

Results 5 comments of KeepFish

``` __block LMNYTPhoto *initialPhoto = nil; NSArray *photos = [imageViews.rac_sequence map:^id(UIImageView * imageView) { LMNYTPhoto *photo = [[LMNYTPhoto alloc] initWithImageView:imageView]; if (imageView == initialImageView) { initialPhoto = photo; } return...

I'm sorry about that `viewController.rightBarButtonItem` is showing because in this photo I had not set `rightBarButtonItem = nil`. ``` @import NYTPhotoViewer; #import @interface LMNYTPhoto : NSObject @property (nonatomic) UIImageView *imageView;...

I had this problem after you release the new version `2.0.0`, so I suggest you can review the new code.

``` - (void)setImageView:(UIImageView *)imageView { if (_imageView != imageView) { _imageView = imageView; if (imageView) { RAC(self, image) = RACObserve(imageView, image); } } } ``` Same with button property, sorry...

I have found the solution. ``` NYTPhotoViewerArrayDataSource *dataSource = [NYTPhotoViewerArrayDataSource dataSourceWithPhotos:photos]; NYTPhotosViewController *viewController = [[NYTPhotosViewController alloc] initWithDataSource:dataSource initialPhoto:initialPhoto delegate:self]; viewController.rightBarButtonItem = nil; [self.navigationController presentViewController:viewController animated:YES completion:nil]; ``` When code go...