зеркало из https://github.com/github/Rebel.git
Merge pull request #35 from github/remove-viewmodel-property
Remove RBLViewModel forward declaration and viewModel property
This commit is contained in:
Коммит
fe08b3545f
|
@ -8,8 +8,6 @@
|
|||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@class RBLViewModel;
|
||||
|
||||
// A base class for saner, more full-featured layer-backed views with support
|
||||
// for MVVM.
|
||||
@interface RBLView : NSView
|
||||
|
@ -52,9 +50,6 @@
|
|||
// The behavior of this property is undefined if -drawRect: is overridden.
|
||||
@property (nonatomic, strong) NSImage *contents;
|
||||
|
||||
// The view model which drives the view.
|
||||
@property (nonatomic, strong) RBLViewModel *viewModel;
|
||||
|
||||
// Subclasses may override this method to redraw the given rectangle. Any
|
||||
// override of this method should invoke super.
|
||||
- (void)drawRect:(NSRect)rect;
|
||||
|
|
Загрузка…
Ссылка в новой задаче