RQReactiveViewProtocol.h 414 B

1234567891011121314151617
  1. //
  2. // RQReactiveViewProtocol.h
  3. // RQCommon
  4. //
  5. // Created by 张嵘 on 2018/11/23.
  6. // Copyright © 2018 张嵘. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. /// A protocol which is adopted by views which are backed by view models.
  10. @protocol RQReactiveViewProtocol <NSObject>
  11. /// Binds the given view model to the view.
  12. ///
  13. /// viewModel - The view model
  14. - (void)bindViewModel:(id)viewModel;
  15. @end