FlickrPhotos icon indicating copy to clipboard operation
FlickrPhotos copied to clipboard

View Model should not contain UI related code

Open chintan1891 opened this issue 9 years ago • 0 comments

In "updatePhotos" method of "RSPhotosViewModel" you have used UIAlerView. UIAlertView is a part of UIKit, it should not be used in ViewModel. Instead you should notify ViewController for error and ViewController should display alert view.

chintan1891 avatar Mar 11 '15 09:03 chintan1891