explicitly synthesize those guys

This commit is contained in:
joshaber
2012-07-24 17:27:44 -04:00
parent 763133bf7a
commit 514b439572
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -124,6 +124,9 @@ static NSComparisonResult compareNSViewOrdering (NSView *viewA, NSView *viewB, v
// these cannot be implicitly synthesized because they're from protocols/categories
@synthesize hostView = _hostView;
@synthesize appKitHostView = _appKitHostView;
@synthesize rootView = _rootView;
@synthesize maskLayer = _maskLayer;
@synthesize tuiHostView = _tuiHostView;
- (id)initWithCoder:(NSCoder *)coder
{
+1
View File
@@ -44,6 +44,7 @@
#pragma mark Properties
@dynamic hostView;
@synthesize rootView = _rootView;
- (void)setRootView:(NSView *)view {
NSAssert1([NSThread isMainThread], @"%s should only be called from the main thread", __func__);