Merge pull request #35 from github/remove-viewmodel-property

Remove RBLViewModel forward declaration and viewModel property
This commit is contained in:
Josh Abernathy 2012-10-23 11:49:30 -07:00
Родитель 20493f4192 e778421ace
Коммит fe08b3545f
1 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -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;